Re: limit_conn working for websocket proxy?

2014-12-17 Thread Valentin V. Bartenev
On Wednesday 17 December 2014 17:55:44 tom123 wrote: > Hi Nginx experts, > > i am looking for a way to limit connections per ip for proxied websockets > through nginx. I found the ngx_http_limit_conn_module settings in the > manual. But i am not sure if this works also for proxied websockets. Does

limit_conn working for websocket proxy?

2014-12-17 Thread tom123
Hi Nginx experts, i am looking for a way to limit connections per ip for proxied websockets through nginx. I found the ngx_http_limit_conn_module settings in the manual. But i am not sure if this works also for proxied websockets. Does anyone have a suggestion? I am on the right track? http://ngi

Re: Nginx Websocket proxy dropping frames

2014-04-25 Thread FlappySocks
After analysing the data stream, Nginx is indeed streaming the data. The difference is Nginx is buffering it into one continuous stream, where as the data from the browsers is fragmented. The websocket implementation I was using needed fixing. Posted at Nginx Forum: http://forum.nginx.org/read.p

Re: Nginx Websocket proxy dropping frames

2014-04-24 Thread B.R.
Logs? --- *B. R.* ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Nginx Websocket proxy dropping frames

2014-04-24 Thread FlappySocks
Connecting to my websocket server directly works (Chrome or Firefox). Connecting via the Nginx websocket proxy connects, but drops frames. Here is an example of the JSON messages: <-- {"login" : { "username": "user", "password" : "pass"}} --&

Re: Need help: websocket proxy stops working after a while

2014-04-04 Thread Maxim Dounin
Hello! On Fri, Apr 04, 2014 at 04:20:04AM -0400, phil3361 wrote: > Hi all, > > The WebSocket protocol specification (RFC 6455) defines a _protocol_level_ > keep alive fonctionnality (the protocol defines both a 'ping' and a 'pong' > frame). > > Unfortunately, it seems that nginx doesn't take th

Re: Need help: websocket proxy stops working after a while

2014-04-04 Thread phil3361
Hi all, The WebSocket protocol specification (RFC 6455) defines a _protocol_level_ keep alive fonctionnality (the protocol defines both a 'ping' and a 'pong' frame). Unfortunately, it seems that nginx doesn't take these frames into account to reset its timeout watchdog timer so far... so that you

Re: Nginx Websocket proxy with Microsoft IE 10 client

2013-11-22 Thread Maxim Dounin
Hello! On Thu, Nov 21, 2013 at 02:12:47PM -0800, Alder Network wrote: > when client is Internet Explorer 10, the websocket session didn't get > proxy'd to websocket server (websocketpp) other browser > clients work fine. Works fine here, just tested: 192.168.56.1 - - [22/Nov/2013:16:48:39 +040

Re: Nginx Websocket proxy with Microsoft IE 10 client

2013-11-21 Thread Alder Network
when client is Internet Explorer 10, the websocket session didn't get proxy'd to websocket server (websocketpp) other browser clients work fine. On Thu, Nov 21, 2013 at 12:48 AM, Maxim Dounin wrote: > Hello! > > On Wed, Nov 20, 2013 at 03:17:11PM -0800, Alder Network wrote: > > > Is that a kno

Re: Nginx Websocket proxy with Microsoft IE 10 client

2013-11-21 Thread Maxim Dounin
Hello! On Wed, Nov 20, 2013 at 03:17:11PM -0800, Alder Network wrote: > Is that a known issue? Any remedy available? What's the issue? -- Maxim Dounin http://nginx.org/en/donation.html ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/

Nginx Websocket proxy with Microsoft IE 10 client

2013-11-20 Thread Alder Network
Is that a known issue? Any remedy available? Thanks, - Alder ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Need help: websocket proxy stops working after a while

2013-06-07 Thread Alder Network
> > > I got nginx websocket proxy working but the socket would close > > in a minute or so. So I add > > proxy_read_timeout 180s; > > and it works within 3 minutes but closed the websocket after 3 > > minutes, but it works OK before that. Why is that? > > B

Re: Need help: websocket proxy stops working after a while

2013-06-04 Thread Maxim Dounin
Hello! On Mon, Jun 03, 2013 at 03:24:52PM -0700, Alder Network wrote: > I got nginx websocket proxy working but the socket would close > in a minute or so. So I add > proxy_read_timeout 180s; > and it works within 3 minutes but closed the websocket after 3 > minutes, but it

Need help: websocket proxy stops working after a while

2013-06-03 Thread Alder Network
I got nginx websocket proxy working but the socket would close in a minute or so. So I add proxy_read_timeout 180s; and it works within 3 minutes but closed the websocket after 3 minutes, but it works OK before that. Why is that? BTW, I am using Nginx 1.4 now. Thanks, - Alder

Re: Websocket proxy

2013-05-09 Thread Alder Network
Thanks for the recipe. Just tried and now I am not able to get regular HTTP working on port 80. Has anybody ever got nginx websocket proxy working? Thanks, - Alder On Thu, May 9, 2013 at 11:19 AM, António P. P. Almeida wrote: > At the http level: > > map $htt

Re: Websocket proxy

2013-05-09 Thread António P . P . Almeida
t I am new to nginx > and this forum. > > I am upgrading to 1.4 to use its websocket proxy feature. > Say I have a websocket server running at port 81, so I want > to forward all websocket packets to port 81, and process > the rest at port 80. > > Somehow the followin

Websocket proxy

2013-05-08 Thread Alder Network
This must have been discussed before but I am new to nginx and this forum. I am upgrading to 1.4 to use its websocket proxy feature. Say I have a websocket server running at port 81, so I want to forward all websocket packets to port 81, and process the rest at port 80. Somehow the following

Re: Websocket proxy support

2013-02-18 Thread Martin Loy
There is a commit from maxim about ~12hs ago > http://trac.nginx.org/nginx/changeset/5073/nginx :) On Mon, Feb 18, 2013 at 10:06 AM, Andrew Alexeev wrote: > On Feb 18, 2013, at 4:03 PM, perone wrote: > > > Is there any updates on the Websocket proxy support ? Everything I foun

Re: Websocket proxy support

2013-02-18 Thread Andrew Alexeev
On Feb 18, 2013, at 4:03 PM, perone wrote: > Is there any updates on the Websocket proxy support ? Everything I found is > only this: http://trac.nginx.org/nginx/milestone/1.3.13 Yes, there will be an update very soon. Be patient and stay

Websocket proxy support

2013-02-18 Thread perone
Is there any updates on the Websocket proxy support ? Everything I found is only this: http://trac.nginx.org/nginx/milestone/1.3.13 Thank you ! Posted at Nginx Forum: http://forum.nginx.org/read.php?2,236289,236289#msg-236289 ___ nginx mailing list