Skip to content

Jupyter Dash infer_jupyter_config_proxy() running forever #2998

@Khagesh16

Description

@Khagesh16

Thank you so much for helping improve the quality of Dash!

We do our best to catch bugs during the release process, but we rely on your help to find the ones that slip through.

Describe your context

We are hosting jupyterlab on eks cluster with jupyterhub integration for the analytical purposes. In our lab environment we have python kernel with all necessary visualization libs. Dash was working fine previously with separate jupyter-dash installation but now its not working.

Based on the documentation we followed this step

image
  • replace the result of pip list | grep dash below
dash                                    2.18.0
dash-bootstrap-components               1.3.1
dash_colorscales                        0.0.4
dash-core-components                    2.0.0
dash_daq                                0.5.0
dash-html-components                    2.0.0
dash-table                              5.0.0

Jupyter configuration

IPython          : 8.27.0
ipykernel        : 6.29.5
ipywidgets       : 8.1.5
jupyter_client   : 8.6.2
jupyter_core     : 5.7.2
jupyter_server   : 2.14.2
jupyterlab       : 4.2.5
nbclient         : 0.10.0
nbconvert        : 7.16.4
nbformat         : 5.10.4
notebook         : 7.2.2
qtconsole        : not installed
traitlets        : 5.14.3
  • if frontend related, tell us your Browser, Version and OS

    • OS: [e.g. iOS]
    • Browser [e.g. chrome, safari]-chrome
    • Version [e.g. 22]

Describe the bug

Based on the investigation probably this function is causing the issue.here. I run this code blocked yesterday and its still running in my remote sandbox. As mentioned earlier its hosted on eks pod.

from dash import Dash, html, dcc
import plotly.express as px
import pandas as pd

from dash import jupyter_dash
jupyter_dash.infer_jupyter_proxy_config()

Expected behavior

jupyter_dash.infer_jupyter_proxy_config() should infer the proxy config and let the dash render the plots inline.

Screenshots

image

If applicable, add screenshots or screen recording to help explain your problem.

Metadata

Metadata

Assignees

Labels

P3backlogbugsomething broken

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions