Skip to content

error #495

@Faris90

Description

@Faris90

How could I fix this:
[FATAL] TypeError: Cannot read property 'headers' of undefined
at GameServer.onClientSocketOpen (/home/ubuntu/workspace/src/GameServer.js:273:107)
at emitTwo (events.js:106:13)
at WebSocketServer.emit (events.js:191:7)
at handleUpgrade (/home/ubuntu/workspace/src/node_modules/ws/lib/WebSocketServer.js:88:16)
at WebSocketServer.completeUpgrade (/home/ubuntu/workspace/src/node_modules/ws/lib/WebSocketServer.js:270:5)
at WebSocketServer.handleUpgrade (/home/ubuntu/workspace/src/node_modules/ws/lib/WebSocketServer.js:197:10)
at Server.WebSocketServer._ultron.on (/home/ubuntu/workspace/src/node_modules/ws/lib/WebSocketServer.js:87:14)
at emitThree (events.js:116:13)
at Server.emit (events.js:194:7)
at onParserExecuteCommon (_http_server.js:409:14)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions