Skip to content

Cannot reconnect. Please reload the window. #1884

Closed
@EwaFengler

Description

@EwaFengler
  • Web Browser: Firefox 68.10.0esr (64-bit)
  • OS: Debian GNU/Linux 10 (buster)
  • code-server --version: 3.4.1

When I build release package following the steps from CONTRIBUTING.md and try to run release-standalone/code-server I have the same situation as here: #1227 - the server runs and I can access it from the browser, but basically I cannot do anything because after a second or two I get "Cannot reconnect. Please reload the window." error.

Browser console:

  ERR Error: "Connection error: Unrecognized reconnection token"
    k remoteAgentConnection.ts:553
    a remoteAgentConnection.ts:189
    fire event.ts:587
    fire ipc.net.ts:453
    _receiveMessage ipc.net.ts:736
    beginAcceptReconnection ipc.net.ts:688
    fire event.ts:587
    acceptChunk ipc.net.ts:239
    g ipc.net.ts:200
    onData browserSocketFactory.ts:178
    fire event.ts:587
    onload browserSocketFactory.ts:62
log.ts:197:11
  ERR [remote-connection][ExtensionHost][175b7\u2026][reconnect] A permanent error occurred in the reconnecting loop! Will give up now! Error: log.ts:197:11
  ERR Error: "Connection error: Unrecognized reconnection token"
    k remoteAgentConnection.ts:553
    a remoteAgentConnection.ts:189
    fire event.ts:587
    fire ipc.net.ts:453
    _receiveMessage ipc.net.ts:736
    beginAcceptReconnection ipc.net.ts:688
    fire event.ts:587
    acceptChunk ipc.net.ts:239
    g ipc.net.ts:200
    onData browserSocketFactory.ts:178
    fire event.ts:587
    onload browserSocketFactory.ts:62
log.ts:197:11
Extension host terminated unexpectedly. Code:  0  Signal:  null abstractExtensionService.ts:166:10
    _onExtensionHostCrashed abstractExtensionService.ts:166
    _onExtensionHostCrashOrExit abstractExtensionService.ts:158
    _startExtensionHosts abstractExtensionService.ts:148
    fire event.ts:587
    _onExtHostConnectionLost remoteExtensionHost.ts:201
    start remoteExtensionHost.ts:134
    fire event.ts:587
    fire ipc.net.ts:453
    acceptDisconnect ipc.net.ts:708
    x remoteAgentConnection.ts:542
    _gotoPermanentFailure remoteAgentConnection.ts:481
    triggerPermanentFailure remoteAgentConnection.ts:356
    triggerPermanentFailure remoteAgentConnection.ts:356
    _runReconnectingLoop remoteAgentConnection.ts:444
The connection to ws://localhost:8080/?type=Management&reconnectionToken=6bd470be-6961-47e5-bb82-32c20b86d20f&reconnection=false&skipWebSocketFrames=false was interrupted while the page was loading. browserSocketFactory.ts:162:30
Error received from starting extension host extensionHostManager.ts:72:12
    _proxy extensionHostManager.ts:72
timeout extensionHostManager.ts:73:12
    _proxy extensionHostManager.ts:73

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions