-
Notifications
You must be signed in to change notification settings - Fork 69
Description
When i try to connect to the Socket.io server i get this error.
SocketIO.connect("http://127.0.0.1:8080", sync: true)
send> "GET /socket.io/1/websocket/qyhantvB6h6EAWWccSKr HTTP/1.1\r\n"
send> "Upgrade: WebSocket\r\n"
send> "Connection: Upgrade\r\n"
send> "Host: 127.0.0.1:8080\r\n"
send> "Origin: http://127.0.0.1:8080\r\n"
send> "Sec-WebSocket-Key1: eD23 1cW62 2 22s16\r\n"
send> "Sec-WebSocket-Key2: - 35 35 31X 9 R950 G\r\n"
send> "\r\n"
send> "\x96\xEDn\xD7Fn{\x81"
recv> "HTTP/1.1 101 WebSocket Protocol Handshake\r\n"
recv> "Upgrade: WebSocket\r\n"
recv> "Connection: Upgrade\r\n"
recv> "Sec-WebSocket-Origin: http://127.0.0.1:8080\r\n"
recv> "Sec-WebSocket-Location: ws://127.0.0.1:8080/socket.io/1/websocket/qyhantvB6h6EAWWccSKr\r\n"
recv> "\r\n"
recv> "j\xB9\xBF_\x1E\xE2\xA9\xDC"5U\xE5\xE4\x12A\x17"
WebSocket::Error: security digest doesn't match: "j\xB9\xBF_\x1E\xE2\xA9\xDC"5U\xE5\xE4\x12A\x17" != "R\xDF\xBB\b\xDDX\xE0SM\x94B*=\xD6{j"
from /home/deploy/www/secret_signals/production/releases/20130531180717/extras/web_socket.rb:122:in initialize' from /home/deploy/www/secret_signals/production/releases/20130531180717/extras/socket_io.rb:61:innew'
from /home/deploy/www/secret_signals/production/releases/20130531180717/extras/socket_io.rb:61:in connect_transport' from /home/deploy/www/secret_signals/production/releases/20130531180717/extras/socket_io.rb:51:instart'
from /home/deploy/www/secret_signals/production/releases/20130531180717/extras/socket_io.rb:18:in `connect'
I realy don't know waht is going on, because in my development machine works well, but in production server it crashes.
Thanks!