改用socket.io之后,就一直报这个错误,大家有遇到吗?

[2017-09-05 17:33:51.240] [ERROR] console - Caught exception: TypeError: Cannot read property 'indexOf' of undefined
at Server.verify (/media/sf_workspace/MyProject/jc_games_service/game-server/node_modules/engine.io/lib/server.js:134:24)
at Server.handleRequest (/media/sf_workspace/MyProject/jc_games_service/game-server/node_modules/engine.io/lib/server.js:207:8)
at Server.<anonymous> (/media/sf_workspace/MyProject/jc_games_service/game-server/node_modules/engine.io/lib/server.js:434:12)
at Server.<anonymous> (/media/sf_workspace/MyProject/jc_games_service/game-server/node_modules/socket.io/lib/index.js:275:16)
at emitTwo (events.js:106:13)
at Server.emit (events.js:191:7)
at HTTPParser.parserOnIncoming [as onIncoming] (http_server.js:546:12)
at HTTPParser.parserOnHeadersComplete (
http_common.js:99:23)

标签: bug 反馈 开发求助
tinytinysun 在 9-5 17:36发布 分享到 weibo
回到顶部