WebSocket issues from Apple tablets #3
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: apps/BareRTC#3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I have one user who has trouble connecting to the chat room at all from an Apple tablet. I suspect an interaction between Mobile Safari and my WebSockets server isn't happy.
What I see: their username signs in and gets an "has entered the chat" message, and they immediately exit the chat again; 5 seconds later repeat the process. The chat front-end will reconnect every 5 seconds when the WebSocket is closed.
Interestingly: they must be able to connect to the WebSocket to send the login message, but then they get kicked immediately and the server logs:
The error looks to be that the WebSocket connection is closed by the browser side.
This was resolved by disabling compression, see: https://github.com/nhooyr/websocket/issues/385