flowbite-svelte icon indicating copy to clipboard operation
flowbite-svelte copied to clipboard

Internal server error when going to homepage

Open zoltanszogyenyi opened this issue 2 years ago • 14 comments

Describe the bug

When I go to the homepage from a link from docs the website doesn't work

IMG_1075

Reproduction

When I go to the homepage from a link from docs the website doesn't work

Flowbite version and System Info

System:
    OS: macOS 13.4.1
    CPU: (12) x64 Intel(R) Core(TM) i5-10600 CPU @ 3.30GHz
    Memory: 30.45 GB / 72.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.13.0 - ~/.nvm/versions/node/v18.13.0/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v18.13.0/bin/yarn
    npm: 8.19.3 - ~/.nvm/versions/node/v18.13.0/bin/npm
  Browsers:
    Chrome: 118.0.5993.70
    Firefox: 115.0.2
    Safari: 16.5.2

zoltanszogyenyi avatar Oct 11 '23 17:10 zoltanszogyenyi

Is it down now?

shinokada avatar Oct 11 '23 18:10 shinokada

Hey @shinokada,

This happens if I go to any docs page and then navigate back to the homepage via the logo.

Also happens when I visit when coming from Google - I will attach a video too.

Some other users confirmed this too on Discord.

https://github.com/themesberg/flowbite-svelte/assets/8052108/09e6fa9a-0319-4d08-90a4-74e26a529712

Thank you for looking over this!

Cheers, Zoltan

zoltanszogyenyi avatar Oct 11 '23 18:10 zoltanszogyenyi

It seems it happens when a new commit is pushed and while Vercel is building the deployment. But I am not 100 % sure.

shinokada avatar Oct 11 '23 18:10 shinokada

Hey @shinokada,

Yes, it works now. That could be it.

zoltanszogyenyi avatar Oct 12 '23 07:10 zoltanszogyenyi

The website still keeps going down several times a day and I think it's not only when Vercel is building.

For example, now it is down again and I don't think anything happened like a release or deployment.

@shinokada

image

zoltanszogyenyi avatar Oct 15 '23 08:10 zoltanszogyenyi

I've done:

  • tested locally: pnpm test:integration
  • build locally and preview: pnpm build && pnpm preview

but I can't find any problem. I will re-deploy on vercel.

shinokada avatar Oct 15 '23 08:10 shinokada

Im also having this issue

macOS 14 Chrome

image

jackra1n avatar Oct 16 '23 20:10 jackra1n

@shinokada our uptime application:

image

zoltanszogyenyi avatar Oct 17 '23 08:10 zoltanszogyenyi

It seems related to incorrect $page store use. Got it on my local machine.

Error: Cannot subscribe to 'page' store on the server outside of a Svelte component, as it is bound to the current request via component context. This prevents state from leaking between users.For more information, see https://kit.svelte.dev/docs/state-management#avoid-shared-state-on-the-server at get_store (C:\Users\mvanh\source\repos\flowbite-svelte\node_modules\@sveltejs\kit\src\runtime\app\stores.js:89:9) at Object.subscribe (C:\Users\mvanh\source\repos\flowbite-svelte\node_modules\@sveltejs\kit\src\runtime\app\stores.js:35:24) at Module.subscribe (C:\Users\mvanh\source\repos\flowbite-svelte\node_modules\svelte\src\runtime\internal\utils.js:139:22) at eval (C:/Users/mvanh/source/repos/flowbite-svelte/src/routes/+layout.svelte:36:45) at Object.$$render (C:\Users\mvanh\source\repos\flowbite-svelte\node_modules\svelte\src\runtime\internal\ssr.js:156:16) at eval (C:/Users/mvanh/source/repos/flowbite-svelte/.svelte-kit/generated/root.svelte:70:129) at $$render (C:\Users\mvanh\source\repos\flowbite-svelte\node_modules\svelte\src\runtime\internal\ssr.js:156:16) at Object.render (C:\Users\mvanh\source\repos\flowbite-svelte\node_modules\svelte\src\runtime\internal\ssr.js:164:17) at Module.render_response (C:/Users/mvanh/source/repos/flowbite-svelte/node_modules/@sveltejs/kit/src/runtime/server/page/render.js:187:29) at async Module.render_page (C:/Users/mvanh/source/repos/flowbite-svelte/node_modules/@sveltejs/kit/src/runtime/server/page/index.js:295:10)

mvanhalen avatar Oct 20 '23 12:10 mvanhalen

Can you check https://flowbite-svelte.com it again? And please let me know if you get the same error. Thanks.

shinokada avatar Oct 20 '23 13:10 shinokada

On my mobile got the error.

On Fri, 20 Oct 2023 at 15:34, Shinichi Okada @.***> wrote:

Can you check this https://flowbite-svelte-m8gatwxla-okadashinichi.vercel.app/? And please let me know if you get the same error. Thanks.

— Reply to this email directly, view it on GitHub https://github.com/themesberg/flowbite-svelte/issues/1123#issuecomment-1772751658, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIPUQER7N3IDXPJGDMPQP3YAJ4WBAVCNFSM6AAAAAA54K4DQWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZSG42TCNRVHA . You are receiving this because you commented.Message ID: @.***>

mvanhalen avatar Oct 20 '23 14:10 mvanhalen

Can you check https://flowbite-svelte.com it again? And please let me know if you get the same error. Thanks.

Seems to work correctly on desktop now. Maybe mobile was having a cache issue

mvanhalen avatar Oct 20 '23 15:10 mvanhalen

Links on search results are also broken: Clicking on search suggestion takes to broken link. https://flowbite-svelte.com/docs/components/tab The correct link is https://flowbite-svelte.com/docs/components/tabs

image image

tejesh0 avatar Dec 03 '23 04:12 tejesh0

+1 on above comment. https://flowbite-svelte.com/docs/components/tab#mainContent also doesnt work from search results.

rbozan avatar Dec 07 '23 07:12 rbozan