Skip to content
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

Exception: Access Denied #2861

Open
cchen0630 opened this issue May 14, 2024 · 3 comments
Open

Exception: Access Denied #2861

cchen0630 opened this issue May 14, 2024 · 3 comments

Comments

@cchen0630
Copy link

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.

@T4rk1n
Copy link
Contributor

T4rk1n commented May 16, 2024

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.

@cchen0630
Copy link
Author

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

@T4rk1n
Copy link
Contributor

T4rk1n commented May 16, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants