LearnBoost/socket.io — Issue #708: Not working on Port 80
Author: martypdx
Created: 2012-01-05 17:08:51+00:00
State: open

node v0.6.6 on Windows
socket.io@0.8.7

Using stock "How to Use" example. Can see some connection and send activity. Erratically (about 20-30 seconds apart) a message will get through from server to client. No messages showing up from client to server. Tried both Chrome and FF.

Change to a port other than 80 and it works fine.

C:\node\web-repl>node server.js
info - socket.io started
web repl started on 80
debug - served static content /socket.io.js
debug - client authorized
info - handshake authorized 19866834221590579583
debug - setting request GET /socket.io/1/websocket/19866834221590579583
debug - set heartbeat interval for client 19866834221590579583
debug - client authorized for
debug - websocket writing 1::
debug - websocket writing 5:::{"name":"news","args":[{"hello":"world"}]}
debug - setting request GET /socket.io/1/xhr-polling/19866834221590579583?t=1
325782787566
debug - setting poll timeout
debug - discarding transport
debug - cleared heartbeat interval for client 19866834221590579583

continues with this kind of stuff repeated over and over:

debug - fired heartbeat timeout for client 5718935881502880012
info - transport end
debug - set close timeout for client 5718935881502880012
debug - cleared close timeout for client 5718935881502880012
debug - discarding transport
debug - client authorized
info - handshake authorized 1278160375245097816
debug - setting request GET /socket.io/1/jsonp-polling/1946119027899961466?t=
1325783041806&i=0
debug - setting poll timeout
debug - discarding transport
debug - clearing poll timeout
debug - setting request GET /socket.io/1/websocket/1278160375245097816
debug - set heartbeat interval for client 1278160375245097816
debug - client authorized for
debug - websocket writing 1::
debug - websocket writing 5:::{"name":"news","args":[{"hello":"world"}]}
debug - client authorized
info - handshake authorized 14191725881852921132
debug - client authorized
info - handshake authorized 18639062012141485717
debug - client authorized
info - handshake authorized 9482370131836509483
debug - client authorized
info - handshake authorized 559510430647024539
debug - client authorized
info - handshake authorized 17345674011579650711
debug - client authorized
info - handshake authorized 15160838441850571955
debug - client authorized
info - handshake authorized 727566057923050005
debug - setting request GET /socket.io/1/websocket/14191725881852921132
debug - set heartbeat interval for client 14191725881852921132
debug - client authorized for
debug - websocket writing 1::
debug - websocket writing 5:::{"name":"news","args":[{"hello":"world"}]}