question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to open Notebook via Web Services

See original GitHub issue

Determined-AI version: 0.12.11 Installation method: det-deploy local cluster-up

After installing and configuring users through the determined CLI, I am unable to access to a “just-created” notebook. The system correctly pulls determined/environments image and from the logs, it is clear that the notebook is created.

[2020-07-20T07:50:04Z] 24b5f33d [RUNNING] ||  [I 07:50:04.703 LabApp] Writing notebook server cookie secret to /run/determined/jupyter/runtime/notebook_cookie_secret
[2020-07-20T07:50:04Z] 24b5f33d [RUNNING] ||  [W 07:50:04.929 LabApp] All authentication is disabled.  Anyone who can connect to this server will be able to run code.
[2020-07-20T07:50:04Z] 24b5f33d [RUNNING] ||  [I 07:50:04.934 LabApp] JupyterLab extension loaded from /opt/conda/lib/python3.6/site-packages/jupyterlab
[2020-07-20T07:50:04Z] 24b5f33d [RUNNING] ||  [I 07:50:04.934 LabApp] JupyterLab application directory is /opt/conda/share/jupyter/lab
[2020-07-20T07:50:04Z] 24b5f33d [RUNNING] ||  [I 07:50:04.936 LabApp] Serving notebooks from local directory: /run/determined/workdir
[2020-07-20T07:50:04Z] 24b5f33d [RUNNING] ||  [I 07:50:04.936 LabApp] The Jupyter Notebook is running at:
[2020-07-20T07:50:04Z] 24b5f33d [RUNNING] ||  [I 07:50:04.936 LabApp] http://23b3f02a6e33:8888/proxy/c91200a8-bae3-4c61-b3e9-07af6d2fc51e/
[2020-07-20T07:50:04Z] 24b5f33d [RUNNING] ||  [I 07:50:04.936 LabApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

The problem is that when I try to open the notebook from the browser it stays in a charging phase for minutes and then returns a broken web page with error 502

I think that it might be a proxy problem. What is possible to do to fix this problem?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
PieroMacalusocommented, Jul 28, 2020

Thanks @rb-determined-ai for your illuminating comment! It finally worked out!

I just post there the additional steps to solve this problem:

  1. Localize the id of the network used by the cluster using docker network ls and take out the <ID>.
  2. Run ifconfig on the cluster machine and verify that there is an interface called br-<ID>
  3. Run iptables -A INPUT -i br-<ID> -j ACCEPT

Let me know if I can contribute with you to put this information in the FAQ Docs or directly in the installation docs.

Thanks for your precious help.

0reactions
PieroMacalusocommented, Jul 30, 2020

I will soon contribute to the FAQ Docs! Thanks for your time and help! 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

OneNote Notebook won't open in desktop version
3.Open OneNote and sign in again, first check if you can open the notebook via File>Open>select the location in OneDrive for business and...
Read more >
Unable to open Jupyter Notebook instance on AWS ...
My only concern with this is that the data shouldn't be lost. Any help on how I can check what issue is will...
Read more >
I can't open Jupyter on my Amazon SageMaker notebook ...
First, try the following: On the Amazon SageMaker console, and then confirm that the notebook instance status is InService.
Read more >
Why can't I open a Jupyter notebook on my ... - YouTube
Amazon Web Services ... Karthik shows you why you can't open a Jupyter notebook on your Amazon SageMaker notebook instance.
Read more >
User is not able to open Notebooks with error 'Failed ...
When CP4D user is not able to open his Notebooks at all and he gets error ' Failed to load notebook'. Symptom. In...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found