eclipse-theia/theia
View on GitHubError: Connection got disposed on exit the browser
Open
#8939 opened on Jan 12, 2021
corehelp wantedlogging
Description
Bug Description:
When a user close the browser we get this error:
Error: Connection got disposed.
at Object.dispose (/theia/node_modules/vscode-jsonrpc/lib/main.js:904:25)
at /theia/node_modules/vscode-ws-jsonrpc/lib/socket/connection.js:14:41
at CallbackList.invoke (/theia/node_modules/vscode-jsonrpc/lib/events.js:62:39)
at Emitter.fire (/theia/node_modules/vscode-jsonrpc/lib/events.js:121:36)
at closeHandler (/theia/node_modules/vscode-jsonrpc/lib/main.js:240:26)
at CallbackList.invoke (/theia/node_modules/vscode-jsonrpc/lib/events.js:62:39)
at Emitter.fire (/theia/node_modules/vscode-jsonrpc/lib/events.js:121:36)
at WebSocketMessageReader.fireClose (/theia/node_modules/vscode-jsonrpc/lib/messageReader.js:111:27)
at WebSocketMessageReader.fireClose (/theia/node_modules/vscode-ws-jsonrpc/lib/socket/reader.js:67:19)
at /theia/node_modules/vscode-ws-jsonrpc/lib/socket/reader.js:24:18
I found this issue on the vscode-jsonrpc package that may be connected.
Steps to Reproduce:
- Run server locally
- Open theia in the browser
- Close theia browser
- See the error on the server logs
Additional Information
- Operating System: Local
- Theia Version: master