wasp-lang / wasp

The fastest way to develop full-stack web apps with React & Node.js.
https://wasp-lang.dev
MIT License
12.73k stars 1.13k forks source link

Websocket throws "Unknown Session ID" when trying to connect #2040

Open infomiho opened 1 month ago

infomiho commented 1 month ago

I'm not sure what could be the cause of the error: some re-render behaviour, our auth session logic or something misconfiguration of Socket.io, but this is how to looks like:

https://github.com/wasp-lang/wasp/assets/2223680/dec925d4-c3a6-46fa-9033-214c981d574e

It tries to connect multiple times, sometimes it succeeds, sometime it fails, but in the end it succeeds.

This happened after I deployed our waspc/examples/todoApp to Fly and opened the client.