Socket.io: WebSocket is already in CLOSING or CLOSED state.

Created on 14 Aug 2018  路  3Comments  路  Source: socketio/socket.io

Note: for support questions, please use one of these channels: stackoverflow or slack

You want to:

  • [x] report a bug
  • [ ] request a feature

image
After a while, it will reconnect

chrome 68.0.3440.106

All 3 comments

engine:socket packet +25s
engine:socket got ping +0ms
engine:socket sending packet "pong" (undefined) +0ms
engine:socket flushing buffer to transport +0ms
engine:ws writing "3" +0ms
engine:ws closing +5s
socket.io:client client close with reason ping timeout +1m
socket.io:socket closing socket - reason ping timeout +1m

set pingTimeout: 60000 solve

This is related to #3259 and the _work around_ is changing pingTimeout on the server - appears to be an issue with Chrome

Was this page helpful?
0 / 5 - 0 ratings