You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/11/22 17:32:14 UTC

[GitHub] [apisix] mjsmagalhaes commented on issue #5440: request help: the connection established by the Websocket proxy client will be automatically disconnected by the server in about 5 seconds

mjsmagalhaes commented on issue #5440:
URL: https://github.com/apache/apisix/issues/5440#issuecomment-975759572


   Hi, I had the same issue.
   
   For me the connection was being reset because the 6s timeout (send/receive) was too fast for the heartbeat. 
   
   Socket.io (the library i am using) send heartbeats every 25 so increasing it to 30s did the trick.
   
   https://stackoverflow.com/questions/12815231/controlling-the-heartbeat-timeout-from-the-client-in-socket-io
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org