plotly / dash

Data Apps & Dashboards for Python. No JavaScript Required.

Home Page:https://plotly.com/dash

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exception: Access Denied

cchen0630 opened this issue · comments

I recently upgraded my dash version from 2.8.1 to 2.14.2. It gave me this exception and stops me from access the internal sever.

image

image

I realized this issue might come with the function jupyter_dash.run_app(). However, my code didn't define or use anything related with jupyter. Is there anyway I can disable or avoid this function so the exception won't be raised?

Thank you.

The condition for running in jupyter is running in Ipython which seems to be the case here, but it need to run inside a jupyter notebook or jupyterlab not just the ipython prompt.

The condition for running in jupyter is running in Ipython which seems to be the case here, but it need to run inside a jupyter notebook or jupyterlab not just the ipython prompt.

Thank you for your comment. I‘m running in Jupyter notebook now, however, it still gives me the same exception message. Does this new function require online communication with any external website? if so, how can I edit the code if I have to run it in an offline environment?

image

image

I think you may need to set the jupyter_server_url to run on a hosted notebook, you can find the documentation for running with jupyter here: https://dash.plotly.com/dash-in-jupyter