-
-
Notifications
You must be signed in to change notification settings - Fork 333
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
Unauthorized error trying to connect to remote OnDemand-based Jupyterlab #581
Comments
Can you use the JupyterLab instance's token instead of the password? |
Can you confirm it would look like |
Actually, I'm not sure there's a token? I can view the config file OnDemand uses to lauch Jupyterlab, its this:
I think |
@marius311 token is not required, but the URL you enter in Connect dialog is expected to take you to JupyterLab eventually (after potential login steps when applicable). So, you can use the login URL (that you see in the dev tools form action, in full format such as: |
Thanks, I think that helps make progress but still not fully working. If I go to the URL with then after that the password from the If I try the |
Thanks, just tried, same error. |
@marius311 after further inspection, I found out that this is actually a bug in JupyterLab Desktop. it is not handling login dialogs. we will provide a fix. |
Ah, awesome, thanks for sticking through this! Will keep an eye out for the fix. |
@marius311 could you test the fix by installing from Pull Request's build from here. |
Yep that works on this system now, thank you! |
Description
I'm trying to connect jupyterlab-desktop to a Jupyterlab spawned by OnDemand on a remote cluster (this one, fwiw).
When I click through the OnDemand interface in a webbrowser to get to Jupyterlab, I'm at a URL like
https://vdi.rc.fas.harvard.edu/node/holygpu.rc.fas.harvard.edu/1234/lab
If I try to paste that URL into the jupyterlab-desktop connect dialog, I get
Doing some snooping on the OnDemand page that, in a webbrowser, would link me to jupyterlab, it looks like there's a password supplied via an html input, see attached screenshot:
I could be wrong, but I'm guessing this is the problem, since jupyterlab-desktop is not providing this password when I just paste the URL. Given this, is there any way for jupyterlab-desktop to connect in such a set up? I'm ok if it requires some work on my end. Thanks for any ideas.
Context
Logs (required for issues with loading, server and startup)
The text was updated successfully, but these errors were encountered: