node-steam-user
node-steam-user copied to clipboard
TypeError on logOn. // at TCPConnection.send (/steam-user/components/connection_protocols/tcp.js)
TypeError on logOn. The app runs fine for days and weeks - it never happens any time soon after launch, so unfortunately, it wasn't something I managed to catch and debug myself.
I use proxy for steamuser - it works fine, shouldn't be an issue, but it might be an important detail.
Version Module: 4.20.2 Node: 14.16.1

steam_1 | TypeError: Cannot read property 'write' of undefined
steam_1 | at TCPConnection.send (/app/node_modules/steam-user/components/connection_protocols/tcp.js:152:15)
steam_1 | at SteamUser._send (/app/node_modules/steam-user/components/messages.js:478:19)
steam_1 | at SteamUser._sendLogOn (/app/node_modules/steam-user/components/logon.js:249:7)
steam_1 | at WebSocket.<anonymous> (/app/node_modules/steam-user/components/connection_protocols/websocket.js:125:14)
steam_1 | at WebSocket.emit (events.js:327:22)
steam_1 | at ClientRequest.<anonymous> (/app/node_modules/websocket13/lib/client.js:219:8)
steam_1 | at ClientRequest.emit (events.js:315:20)
steam_1 | at TLSSocket.socketOnData (_http_client.js:547:11)
steam_1 | at TLSSocket.emit (events.js:315:20)
steam_1 | at addChunk (internal/streams/readable.js:309:12)
steam_1 | at readableAddChunk (internal/streams/readable.js:284:9)
steam_1 | at TLSSocket.Readable.push (internal/streams/readable.js:223:10)
steam_1 | at TLSWrap.onStreamRead (internal/stream_base_commons.js:188:23)
docker_steam_1 exited with code 1
@dewythefirst is the issue still valid?
Haven't seen it in quite a while.
This happened with us too on 4.28.4