Hi all,
My node.js project runs but then fails shortly after.
Here is the log:
/opt/render/project/src/node_modules/ws/lib/websocket-server.js:340
Nov 11 11:56:02 AM throw new Error(
Nov 11 11:56:02 AM ^
Nov 11 11:56:02 AM
Nov 11 11:56:02 AM Error: server.handleUpgrade() was called more than once with the same socket, possibly due to a misconfiguration
Nov 11 11:56:02 AM at WebSocketServer.completeUpgrade (/opt/render/project/src/node_modules/ws/lib/websocket-server.js:340:13)
Nov 11 11:56:02 AM at WebSocketServer.handleUpgrade (/opt/render/project/src/node_modules/ws/lib/websocket-server.js:316:10)
Nov 11 11:56:02 AM at /opt/render/project/src/node_modules/engine.io/build/server.js:397:21
Nov 11 11:56:02 AM at Server.verify (/opt/render/project/src/node_modules/engine.io/build/server.js:127:24)
Nov 11 11:56:02 AM at Server.handleUpgrade (/opt/render/project/src/node_modules/engine.io/build/server.js:383:14)
Nov 11 11:56:02 AM at Server.<anonymous> (/opt/render/project/src/node_modules/engine.io/build/server.js:495:26)
Nov 11 11:56:02 AM at Server.emit (events.js:388:22)
Nov 11 11:56:02 AM at onParserExecuteCommon (_http_server.js:699:14)
Nov 11 11:56:02 AM at onParserExecute (_http_server.js:612:3)
Any thoughts on what is causing the problem.