You should probably implement Websocket
You should probably implement Websocket automatic reconnects when disconnected. Websockets aren't meant to live forever, they can and will die for various reasons out of your control.
3 Replies
yes, i'm using surrealdb, so it still auto reconnect. I have contacted surrealdb team, but not sure which is the main reason. Does Cloudflare have a limit of using wss connect?
That limit is just the number of concurrent websocket connections. Even though it says "low" it's still just a general guideline, you should be able to use websockets fine.
As far as I know there's no reason Cloudflare should auto-disconnect them.
Oh yes, so maybe my mistake of deploy surrealdb or surrealdb errors. Thank you