Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't connect errors on hub.mybinder.turing.ac.uk #18

Open
scottyhq opened this issue Jun 2, 2020 · 9 comments
Open

Can't connect errors on hub.mybinder.turing.ac.uk #18

scottyhq opened this issue Jun 2, 2020 · 9 comments

Comments

@scottyhq
Copy link

scottyhq commented Jun 2, 2020

Using the binder badge in this repo readme, opening VSCode seems to work, but is immediately followed by 'Disconnected' error pop-ups that keep showing up:

Screenshot 2020-06-02 10 42 15

Seems like there are lots of javascript errors looking at a web console, but I'm not sure how to interpret them...

@manics
Copy link

manics commented Jun 2, 2020

What browser are you using? It's currently working for me, Firefox on OS X.

@scottyhq
Copy link
Author

scottyhq commented Jun 2, 2020

Interesting, I launched again with Safari and things seem to work. But with Chrome I get the same disconnect error. Javascript console shows:

 ERR [remote-connection][ExtensionHost][77f7f…][initial][hub.gke.mybinder.org:80] the handshake took longer than 10 seconds. Error:
workbench.web.api.js:3967 Error: handshake timeout
    at workbench.web.api.js:1752

@manics
Copy link

manics commented Jun 2, 2020

I see the same related problems as you with Chrome.

  ERR [remote-connection][ExtensionHost][6f9b6…][reconnect][hub.mybinder.turing.ac.uk:80] received error control message when negotiating connection. Error:
workbench.web.api.js:1584
  ERR Error: Connection error: Unrecognized reconnection token
    at k (workbench.web.api.js:1761)
    at workbench.web.api.js:1754
    at e.fire (workbench.web.api.js:95)
    at v.fire (workbench.web.api.js:404)
    at t.PersistentProtocol._receiveMessage (workbench.web.api.js:409)
    at workbench.web.api.js:408
    at e.fire (workbench.web.api.js:95)
    at g.acceptChunk (workbench.web.api.js:402)
    at workbench.web.api.js:401
    at workbench.web.api.js:1751

@betatim
Copy link
Owner

betatim commented Jun 2, 2020

I have no idea :(

@sgibson91 do you have any ideas where we could start investigating?

@manics
Copy link

manics commented Jun 2, 2020

@scottyhq's second comment mentions hub.gke.mybinder.org, so maybe it's a more general problem?

@betatim
Copy link
Owner

betatim commented Jun 2, 2020

Only error I see (on Firefox and GKE) right now is:

 ERR invalid identity escape in regular expression: _reviveRegExp@https://hub.gke.mybinder.org/user/betatim-vscode-binder-dehfxkym/vscode/static/521ac7d91f1d1107fa100898969e7b902740414a/lib/vscode/out/vs/workbench/workbench.web.api.js:4669:736
$setLanguageConfiguration@https://hub.gke.mybinder.org/user/betatim-vscode-binder-dehfxkym/vscode/static/521ac7d91f1d1107fa100898969e7b902740414a/lib/vscode/out/vs/workbench/workbench.web.api.js:4670:596
_doInvokeHandler@https://hub.gke.mybinder.org/user/betatim-vscode-binder-dehfxkym/vscode/static/521ac7d91f1d1107fa100898969e7b902740414a/lib/vscode/out/vs/workbench/workbench.web.api.js:3959:464
_invokeHandler@https://hub.gke.mybinder.org/user/betatim-vscode-binder-dehfxkym/vscode/static/521ac7d91f1d1107fa100898969e7b902740414a/lib/vscode/out/vs/workbench/workbench.web.api.js:3959:156
_receiveRequest@https://hub.gke.mybinder.org/user/betatim-vscode-binder-dehfxkym/vscode/static/521ac7d91f1d1107fa100898969e7b902740414a/lib/vscode/out/vs/workbench/workbench.web.api.js:3957:817
_receiveOneMessage@https://hub.gke.mybinder.org/user/betatim-vscode-binder-dehfxkym/vscode/static/521ac7d91f1d1107fa100898969e7b902740414a/lib/vscode/out/vs/workbench/workbench.web.api.js:3956:623
e/<@https://hub.gke.mybinder.org/user/betatim-vscode-binder-dehfxkym/vscode/static/521ac7d91f1d1107fa100898969e7b902740414a/lib/vscode/out/vs/workbench/workbench.web.api.js:3954:848
fire@https://hub.gke.mybinder.org/user/betatim-vscode-binder-dehfxkym/vscode/static/521ac7d91f1d1107fa100898969e7b902740414a/lib/vscode/out/vs/workbench/workbench.web.api.js:95:801
fire@https://hub.gke.mybinder.org/user/betatim-vscode-binder-dehfxkym/vscode/static/521ac7d91f1d1107fa100898969e7b902740414a/lib/vscode/out/vs/workbench/workbench.web.api.js:404:849
_receiveMessage@https://hub.gke.mybinder.org/user/betatim-vscode-binder-dehfxkym/vscode/static/521ac7d91f1d1107fa100898969e7b902740414a/lib/vscode/out/vs/workbench/workbench.web.api.js:409:276
@https://hub.gke.mybinder.org/user/betatim-vscode-binder-dehfxkym/vscode/static/521ac7d91f1d1107fa100898969e7b902740414a/lib/vscode/out/vs/workbench/workbench.web.api.js:406:357
fire@https://hub.gke.mybinder.org/user/betatim-vscode-binder-dehfxkym/vscode/static/521ac7d91f1d1107fa100898969e7b902740414a/lib/vscode/out/vs/workbench/workbench.web.api.js:95:801
acceptChunk@https://hub.gke.mybinder.org/user/betatim-vscode-binder-dehfxkym/vscode/static/521ac7d91f1d1107fa100898969e7b902740414a/lib/vscode/out/vs/workbench/workbench.web.api.js:402:393
g/<@https://hub.gke.mybinder.org/user/betatim-vscode-binder-dehfxkym/vscode/static/521ac7d91f1d1107fa100898969e7b902740414a/lib/vscode/out/vs/workbench/workbench.web.api.js:401:753
onData/<@https://hub.gke.mybinder.org/user/betatim-vscode-binder-dehfxkym/vscode/static/521ac7d91f1d1107fa100898969e7b902740414a/lib/vscode/out/vs/workbench/workbench.web.api.js:1751:387
fire@https://hub.gke.mybinder.org/user/betatim-vscode-binder-dehfxkym/vscode/static/521ac7d91f1d1107fa100898969e7b902740414a/lib/vscode/out/vs/workbench/workbench.web.api.js:95:801
l/this._fileReader.onload@https://hub.gke.mybinder.org/user/betatim-vscode-binder-dehfxkym/vscode/static/521ac7d91f1d1107fa100898969e7b902740414a/lib/vscode/out/vs/workbench/workbench.web.api.js:1750:39

which is at least in the same bit of code (the workbench). Maybe worth opening a ticket upstream with code-server to find out if they can help us figure out where this points?

@betatim
Copy link
Owner

betatim commented Jun 2, 2020

On Chrome 83.0.4103.61 (Official Build) (64-bit) there aren't any errors in the console :-/

@sgibson91
Copy link

@sgibson91 do you have any ideas where we could start investigating?

Errrr, no sorry. Very weird :(

@sgibson91
Copy link

Just checked the Turing nodes, they're all in Ready state. If they had that weird Scheduling Disabled state that keeps cropping up then I'd suggest that, but I cleared all those yesterday and things are good so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants