4 ms·
Oh no! It's supposed to fall back to long-polling if it can't set up a WebSocket connection. Thanks for letting us know.
by dwwoelfel 11y ago
Oh no! It's supposed to fall back to long-polling if it can't set up a WebSocket connection. Thanks for letting us know.
- Trufa 11y agoAny news? I still can't use it.
- dwwoelfel 11y agoSorry, I have the ajax fallback mostly working. Sharing cursors doesn't work, but syncing chat and changes to the canvas does. I'm still trying to find a reliable way to catch the error that prevents the connection upgrade. Right now, the library I'm using thinks that it should just keep retrying the websocket connection. We're already maintaining our own fork of the library, but it's a tedious process to make and test changes.
- jkarneges 11y agoA good practice is to do it the other way around: start with long-polling and switch over to WebSockets only once it's confirmed to work. Don't know which library you're using but I know some do this.