You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am currently trying to run boardgame.io behind a reverse proxy (caddy v2).
I can proxy requests to the Lobby-API without issues. However the socket always disconnects (the socket handshake seems to work fine however after upgrading from polling to websocket, the socket is closed).
Do you have any idea how I could debug this and find out why the socket closes?
Thanks in advance!
Btw. I really like boardgame.io and I am almost done with building Radlands with it and it worked like charm! Thanks for your work!
The text was updated successfully, but these errors were encountered:
You can prefix your backend server npm script with Debug=* node ... and will then get lots of logging output.
I also found out what the issue was that way:
I specified my Socket.io in my <GameClient />-component the wrong way and had a trailing path which led to an invalid namespace on the socket.
Hi, I am currently trying to run boardgame.io behind a reverse proxy (caddy v2).
I can proxy requests to the Lobby-API without issues. However the socket always disconnects (the socket handshake seems to work fine however after upgrading from polling to websocket, the socket is closed).
Do you have any idea how I could debug this and find out why the socket closes?
Thanks in advance!
Btw. I really like boardgame.io and I am almost done with building Radlands with it and it worked like charm! Thanks for your work!
The text was updated successfully, but these errors were encountered: