Welcome! Log In Create A New Profile

Advanced

Re: WebSockets - connection keeps closing after 1 minute

February 20, 2013 11:17AM
Maxim Dounin Wrote:
-------------------------------------------------------
> There is proxy_read_timeout (http://nginx.org/r/proxy_read_timeout)
> which as well applies to WebSocket connections. You have to bump
> it if your backend do not send anything for a long time.
> Alternatively, you may configure your backend to send websocket
> ping frames periodically to reset the timeout (and check if the
> connection is still alive).

Thanks, raising the timeout resolved the problem.
SubjectAuthorPosted

WebSockets - connection keeps closing after 1 minute

WGHFebruary 20, 2013 10:57AM

Re: WebSockets - connection keeps closing after 1 minute

Maxim DouninFebruary 20, 2013 11:08AM

Re: WebSockets - connection keeps closing after 1 minute

WGHFebruary 20, 2013 11:17AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 47
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 156 on March 20, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready