DoctorMcKay / node-steam-session

Node.js module for authenticating with the Steam auth server. Allows for generating refresh tokens and web auth cookies for use with steam-user and other packages.
https://www.npmjs.com/package/steam-session
MIT License
117 stars 22 forks source link

Error: Received unexpected non-protobuf message 751 #41

Closed WhoisUnknown closed 2 months ago

WhoisUnknown commented 5 months ago

Describe the bug

Sometimes I get an error in the pm2 logs: "Received unexpected non-protobuf message 751"

Versions

steam-session: 1.7.2 node: v18.16.0

Screenshots and Error Logs

 Error: Received unexpected non-protobuf message 751
     at WebSocketCMTransport._handleWsMessage (/node_modules/steam-session/src/transports/WebSocketCMTransport.ts:240:10)
     at WebSocket.<anonymous> (/node_modules/steam-session/src/transports/WebSocketCMTransport.ts:162:11)
     at WebSocket.emit (node:events:513:28)
     at /node_modules/websocket13/src/WebSocketBase.ts:611:11
     at pipe (/node_modules/websocket-extensions/lib/pipeline/index.js:37:40)
     at Pipeline._loop (/node_modules/websocket-extensions/lib/pipeline/index.js:44:3)
     at Pipeline.processIncomingMessage (/node_modules/websocket-extensions/lib/pipeline/index.js:13:8)
     at Extensions.processIncomingMessage (/node_modules/websocket-extensions/lib/websocket_extensions.js:133:20)
     at WebSocket._dispatchDataFrame (/node_modules/websocket13/src/WebSocketBase.ts:587:20)
     at WebSocket._handleFrame (/node_modules/websocket13/src/WebSocketBase.ts:583:8)
     at WebSocket._handleData (/node_modules/websocket13/src/WebSocketBase.ts:369:8)
     at TLSSocket.<anonymous> (/node_modules/websocket13/src/WebSocketBase.ts:175:10)
     at TLSSocket.emit (node:events:513:28)
     at addChunk (node:internal/streams/readable:324:12)
     at readableAddChunk (node:internal/streams/readable:297:9)
     at TLSSocket.Readable.push (node:internal/streams/readable:234:10)
     at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23)