Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot call method 'toLowerCase' of undefined #115

Open
maxcountryman opened this issue Dec 27, 2011 · 3 comments
Open

TypeError: Cannot call method 'toLowerCase' of undefined #115

maxcountryman opened this issue Dec 27, 2011 · 3 comments

Comments

@maxcountryman
Copy link

/usr/lib/node_modules/juggernaut/node_modules/socket.io/lib/transports/websocket/hybi-07-12.js:94
if (this.req.headers.upgrade.toLowerCase() !== 'websocket') {
^
TypeError: Cannot call method 'toLowerCase' of undefined
at WebSocket.onSocketConnect (/usr/lib/node_modules/juggernaut/node_modules/socket.io/lib/transports/websocket/hybi-07-12.js:94:32)
at WebSocket.handleRequest (/usr/lib/node_modules/juggernaut/node_modules/socket.io/lib/transport.js:71:10)
at WebSocket.Transport (/usr/lib/node_modules/juggernaut/node_modules/socket.io/lib/transport.js:31:8)
at new WebSocket (/usr/lib/node_modules/juggernaut/node_modules/socket.io/lib/transports/websocket/hybi-07-12.js:60:13)
at new WebSocket (/usr/lib/node_modules/juggernaut/node_modules/socket.io/lib/transports/websocket.js:31:17)
at Manager.handleClient (/usr/lib/node_modules/juggernaut/node_modules/socket.io/lib/manager.js:626:19)
at Manager.handleHTTPRequest (/usr/lib/node_modules/juggernaut/node_modules/socket.io/lib/manager.js:597:8)
at Manager.handleRequest (/usr/lib/node_modules/juggernaut/node_modules/socket.io/lib/manager.js:559:12)
at Server. (/usr/lib/node_modules/juggernaut/node_modules/socket.io/lib/manager.js:107:10)
at Server.emit (events.js:67:17)

@maccman
Copy link
Owner

maccman commented Dec 27, 2011

Can you try with master?

@maxcountryman
Copy link
Author

Is it possible to pull from master with npm? (You'll have to excuse my lack of knowledge in regards to Node and such... :)

@maccman
Copy link
Owner

maccman commented Dec 28, 2011

Pull master from github, then run: npm install -g .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants