WebSocket issues from Apple tablets #3
Метки
Нет меток
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
Нет этапа
Нет проекта
Нет назначенных лиц
1 участников
Уведомления
Срок выполнения
Срок выполнения не установлен.
Зависимости
Зависимостей нет.
Ссылка: apps/BareRTC#3
Загрузка…
Ссылка в новой задаче
Block a user
Описание отсутствует.
Удалить ветку «%!s()»
Удаление ветки необратимо. Несмотря на то, что удаленная ветка может просуществовать некоторое время перед тем, как она будет окончательно удалена, это действие НЕВОЗМОЖНО отменить в большинстве случаев. Продолжить?
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