WebSocket issues from Apple tablets #3
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: apps/BareRTC#3
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. 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