JupyterLab extension manager SSL issue

Hi everybody,
I’m trying to install a jupyter lab environment on my local host (just for testing purpose), so basically I executed following commands:

conda create --name myenv 
conda activate myenv 
conda install jupyterlab

I can start it with “jupyter lab” command, and copying/pasting the displayed URL in my browser, I am able to reach my notebook, fine :slight_smile:

However, if I try to open the “Extension manager”, I can only see installed extensions, but the lower part of the pane (“DISCOVER”) indicates “Error searching for extensions: Error: Unhandled error”. In the terminal where I started up jupyter, I can see SSL related errors, ending with:

    ConnectionResetError: [Errno 104] Connection reset by peer
[E 2024-01-02 11:01:35.081 ServerApp] {
      "Host": "localhost:8888",
      "Accept": "*/*",
      "Referer": "http://localhost:8888/lab",
      "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36"
[E 2024-01-02 11:01:35.081 ServerApp] 500 GET /lab/api/extensions?query&page=1&per_page=30&refresh=0&1704189695521 (f7f471098477447d829d84bad26c0ed3@ 238.54ms referer=http://localhost:8888/lab

My laptop being behind a corportate proxy, I also tried to set environment variables (http_proxy & https_proxy) but got the same behavior …

I must also indicate that I deleted my “~/.jupyter” folder before testing this, not to be polluted with outdated configuration)

Is there some specific configuration to set for this to work ? Did I miss something ?

Thanks for any help ,


In fact, after additional tests, I figured out that the error happens sometimes but sometimes extension manager is invoked without any issue, very strange…