unauthorized connection unrecoverably crashes docker instance
Author: kelvinwopCreated Jun 20, 2025Updated Aug 27, 2026
Labelsstale
Describe the bug
browserless.io:server:error Websocket request is not properly authorized, responding with 401 +0ms Unhandled exception at: uncaughtException error: Error: read ECONNRESET at TCP.onStreamRead (node:internal/stream_base_commons:216:20) { errno: -104, code: 'ECONNRESET', syscall: 'read' } browserless.io:server:info HTTP Server is shutting down +51s browserless.io:browser-manager:info Closing down browser instances +0ms browserless.io:browser-manager:info Shutdown complete +0ms
browserless.io:server:info HTTP Server shutdown complete +1m browserless.io:index.js:info Process is finished, exiting +0ms
To Reproduce
- create docker instance
- connect with puppeteer without token
- the whole container shuts down but stays running forcing a manual container restart
Expected behavior it shouldn't crash???
Screenshots
lol what
Source: browserless/browserless