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.

can't run JupyterDash.infer_jupyter_proxy_config() in Jupyterhub

See original GitHub issue

I am not able to run JupyterDash.infer_jupyter_proxy_config() in Jupyterhub. There is no error message, cell remains in busy state without any output. Do you have any idea?

  • app.run_server() returns 127.0.0.1:8005 which will not work from outside
  • app.run_server("mode=jupyterlab") also won’t work
  • I also see in the browser console: blocked mixed content: the page was loaded over HTTPS, but requested an insecure frame 'http://ip:8050/'. This request has been blocked; the content must be served over HTTPS.

only thing working is opening the ip:8050 in another tab and I can see the dashboard.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:12
  • Comments:8

github_iconTop GitHub Comments

2reactions
LukaPitamiccommented, Dec 2, 2021

Same here. We want to develop dash apps in jupyterlab hub (tljh). image

0reactions
psaverycommented, Mar 25, 2022

It appears that about a year ago, ipykernel changed several functions into coroutines. That includes this function being called in jupyter-dash.

Thus, that function call needs to be changed to maybe something like this:

loop = asyncio.get_running_loop()
loop.run_until_complete(kernel.do_one_iteration())

That would hopefully fix it.

For now, I’m just downgrading ipykernel to 5.5.4 (the version immediately before that change) and the jupyter dash example seems to work…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Docker Image Not Running On Host 8050 - ADocLib
Develop Dash apps in the Jupyter Notebook and JupyterLab plotly/jupyterdash. Can't run JupyterDash or Plotly from JupyterLab 3.0.10 with docker container.
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