fulcro

Eric Dvorsak 2025-01-29T15:37:23.629819Z

I have this very tough to reproduce issue that happens occasionaly to my users The symptom is that websocket messages don't seem to happen anymore The only sign in the logs is this warning:

michaelwhitford 2025-02-01T18:20:04.181329Z

I ended up using a statechart for this instead of a remote. https://gitlab.com/michaelwhitford/gailish/-/blob/main/src/main/us/whitford/gailish/components/mattermost_bot.clj?ref_type=heads#L230

tony.kay 2025-01-29T17:25:51.567439Z

websockets should resume on disconnects…this message is basically the internals watching sente’s “open” flag to see if it is ready. If you start seeing those, then the open flag has dropped to false because the websocket disconnected and cannot reconnect? Not sure why that would happen. Bug in Sente?

tony.kay 2025-01-29T17:26:12.585289Z

look at network tab and try to debug…but I don’t have any more specific of an idea

Eric Dvorsak 2025-01-29T18:59:30.794499Z

Yeah the problem is that it never happened to me directly, but it happens often enough that I get reports of this issue regulary

Eric Dvorsak 2025-01-29T19:00:01.426099Z

is there something specific I should be looking after in the network tab?

Eric Dvorsak 2025-01-29T19:15:15.288069Z

I'm strictly using the websocket to receive messages from the server, maybe I should just not use a remote for that