wandenberg / nginx-push-stream-module

A pure stream http push technology for your Nginx setup. Comet made easy and really scalable.
Other
2.22k stars 295 forks source link

Don't have at least one of the mandatory headers: ... #237

Closed bahadir closed 8 years ago

bahadir commented 8 years ago

Hello,

I've started getting this error this morning. Haven't touched standard configuration file or anything on server/client/

Commit: b2056f63c27117952afc82d7a295acf0054edc28

Version:

nginx version: nginx/1.8.1
built by gcc 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.1)
configure arguments: --add-module=../nginx-push-stream-module-master

I can see Connection and Sec-WebSocket-* headers when I dump TCP session:

GET /ws/S/U2/T257/T1/L17/L1/L33 HTTP/1.1
Sec-WebSocket-Key: QGE+5sC29h6p5dmjgAxZIw==
Sec-WebSocket-Version: 13
Pragma: no-cache
Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits
Accept-Encoding: gzip, identity
TE: identity
User-Agent: BestHTTP
Content-Length: 0
Host: XXXXXXXXXX
Cache-Control: no-cache
Connection: keep-alive

Anything I should check?

bahadir commented 8 years ago

It looks like Android was doing something weird and reusing HTTP connection with keepalive when it shouldn't.