-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
could not register token: [Errno 111] Connection refused #6
Comments
Can you provide some more information? Do you have steps to reproduce? Where is |
Sorry for the slow response, here it is: So the jupyter path is this:
The code I'm running is this:
and the error traceback is this:
I can only replicate this error when working on a remote server over ssh.
As mentioned here. Finally, I am not using |
I had the same problem and exactly the same setting. Jupyter is installed on a conda environment (not on root). Everything works if I use the default port (8888), but if I change it and run I also needed to access the iPython notebook from a local machine and the only settings that worked is to pipe the output on the port 8888:
If I choose a different port on the local machine, when I run the code the Neuroglancer viewer is not displayed. |
I was able to solve that issue by specifying e.g. together with: |
This is Fantastic package! Thank you for your work!! I'm trying to start it from my JupyterHub instance and getting similar issues. My effective Jupyter Notebook is spawn at another host (different from JupyterHub) and then I connect to it from one another host (different from JupyterHub or Jupyter Notebook server) and can't get the
/lib/python2.7/site-packages/nyroglancer/viewer.pyc in register_volume(self, volume)
56 response = http_client.fetch(self.get_server_url() + '/register_token/' + volume.token.decode('utf8') + '/' + cf)
57 except Exception as e:
---> 58 raise RuntimeError("could not register token: " + str(e))
59 http_client.close()
60
RuntimeError: could not register token: [Errno 111] Connection refused Please suggest what to do. |
Running the example on a local anaconda version of jupyter I get this error:
could not register token: [Errno 111] Connection refused
Running this from a jupyter notebook with sudo:
sudo jupyter notebook --allow-root
Fixes the issue, but this only works if you have jupyter installed on root (which is not a reasonable solution for servers, etc).
*Crossposted on neuroglancer repo
The text was updated successfully, but these errors were encountered: