-
Notifications
You must be signed in to change notification settings - Fork 12
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
port forwarding failing on windows #81
Comments
When you specify |
@mnlevy1981 , oops, the 8888 above was a typo (I just fixed it). |
Has anyone successfully used jupyter-forward on Windows? |
Not that I know of. I am going to set up a windows VM to see if I can reproduce the issue, and figure out what's going on |
bummer! (I figured it was a typo, but was hoping for an easy fix :) @andersy005 -- I have access to a windows machine at home and am happy to help test this as well. You might be better off on your own, though; I installed conda on it at some point to test things for our tutorials, but that's about the extent of my familiarity with scientific computing in Win10... |
Something strange is going on... I was able to create a VM with windows on it. Launching jupyter on a remote cluster with nodes with public IP addresses works: jupyter-forward [email protected] --no-port-forwarding Launching jupyter-forward [email protected] In the first tab, you can see that everything is working fine when I access jupyter via the public IP address. When I check whether the (8888) port is in the I will keep looking and will report back if I find something... |
@andersy005 , are there any Windows experts at NCAR? |
@ocefpaf, do you think one of the windows guys at conda-forge might know the answer here? |
@cgohlke, do you how how to address the Windows issue here? |
Sorry, I don't have the setup to try this right now. |
It's worth mentioning again that the "standard" remote Jupyter tunneling works fine on Windows:
So rather than a firewall issue, there must be some issue with the jupyter-forward script, right? |
I now have access to a windows computer... I'll be looking into this in the coming days |
@andersy005, I'm guessing you are a tad busy, but just letting you know we are still very interested in getting this problem solved. |
@rsignell-usgs, thank you for your patience... I was on vacation for the last week. i still have this on my TODO list though, and i'm hoping to be able to report what i learn in tomorrow or thursday. |
i can confirm that i can reproduce this error on my local windows PC. i'm looking into what's going on exactly |
@rsignell-usgs, it turns out this is a known bug/issue in Fabric (the library we are using under the hood). For some reason, the tunneling doesn't work on windows it appears someone put together a fix. This hasn't been merged: |
OMG @andersy005 and @ocefpaf -- YOU GUYS ROCK !!!! Windows users can now get a successful jupyter-forward conda environment with:
and here's proof: |
Tip: As you can see above, I was able to activate my jupyter-forward environment in powershell, after doing:
But the Anaconda command prompt works fine also -- and perhaps therefore preferable unless there is a reason to use powershell. |
thank you for your patience, @rsignell-usgs! @ocefpaf, thank you for the patch! So glad to see this working... |
When I launch jupyter-forward to connect to our USGS HPC machines
from an Anaconda prompt on Windows, there are no errors, but nothing loads in the new
http://localhost:8889
browser tab: the connection is refused, so I guess the port forwarding is not working correctly.I can do port forwarding the old fashioned way from Windows, using git bash and :
and I verified that the jupyter-forward invocation above works fine from Linux.
Is there some other package I need to load into my custom conda environment on Windows to get things working?
Or something else I could do to help debug the problem?
The text was updated successfully, but these errors were encountered: