posit workbench + jupyter ssl error

We are running the latest version of posit workbench on a test machine (2022.12.0+353.pro20) and are running into an issue with launching jupyter lab or notebook sessions. The basic configuration is working correctly and we are able to successfully launch RStudio and VS Code sessions but both Jupyter sessions result in a successful launch but opening the session gives the following error:

certificate verify failed (SSL routines, tls_process_server_certificate)

Looking at the launcher diagnostics it is clear that the jupyter sessions are being launched with an https whereas with pervious versions of workbench these were http addresses. jupyter.conf, rserver.conf and launcher.conf are all more or less completely standard using defaults - I'm happy to post them if they would be helpful in diagnosing the issue.

Example launcher diagnostics:

Checking if the extension workbench_jupyterlab v1.1.1 is installed...
The extension workbench_jupyterlab v1.1.1 has already been installed
[I 2023-01-11 11:42:40.972 ServerApp] jupyter_server_mathjax | extension was successfully linked.
[I 2023-01-11 11:42:40.972 ServerApp] jupyter_server_proxy | extension was successfully linked.
[I 2023-01-11 11:42:40.976 ServerApp] jupyter_server_terminals | extension was successfully linked.
[I 2023-01-11 11:42:40.981 ServerApp] jupyterlab | extension was successfully linked.
[I 2023-01-11 11:42:40.981 ServerApp] jupyterlab_git | extension was successfully linked.
[I 2023-01-11 11:42:40.985 ServerApp] nbclassic | extension was successfully linked.
[I 2023-01-11 11:42:40.985 ServerApp] nbdime | extension was successfully linked.
[I 2023-01-11 11:42:41.291 ServerApp] rsconnect_jupyter | extension was found and enabled by notebook_shim. Consider moving the extension to Jupyter Server's extension paths.
[I 2023-01-11 11:42:41.291 ServerApp] rsconnect_jupyter | extension was successfully linked.
[I 2023-01-11 11:42:41.291 ServerApp] notebook_shim | extension was successfully linked.
[I 2023-01-11 11:42:41.291 ServerApp] workbench_jupyterlab | extension was successfully linked.
[I 2023-01-11 11:42:41.310 ServerApp] notebook_shim | extension was successfully loaded.
[I 2023-01-11 11:42:41.311 ServerApp] jupyter_server_mathjax | extension was successfully loaded.
[I 2023-01-11 11:42:41.323 ServerApp] jupyter_server_proxy | extension was successfully loaded.
[I 2023-01-11 11:42:41.325 ServerApp] jupyter_server_terminals | extension was successfully loaded.
[I 2023-01-11 11:42:41.325 LabApp] JupyterLab extension loaded from /usr/local/lib/python3.10/site-packages/jupyterlab
[I 2023-01-11 11:42:41.325 LabApp] JupyterLab application directory is /usr/local/share/jupyter/lab
[I 2023-01-11 11:42:41.329 ServerApp] jupyterlab | extension was successfully loaded.
[I 2023-01-11 11:42:41.336 ServerApp] jupyterlab_git | extension was successfully loaded.
[I 2023-01-11 11:42:41.339 ServerApp] nbclassic | extension was successfully loaded.
[I 2023-01-11 11:42:41.396 ServerApp] nbdime | extension was successfully loaded.
[I 2023-01-11 11:42:41.396 ServerApp] rsconnect_jupyter enabled!
[I 2023-01-11 11:42:41.397 ServerApp] rsconnect_jupyter | extension was successfully loaded.
[I 2023-01-11 11:42:41.398 ServerApp] Registered workbench_jupyterlab at URL path /workbench-jupyterlab
[I 2023-01-11 11:42:41.398 ServerApp] workbench_jupyterlab | extension was successfully loaded.
[I 2023-01-11 11:42:41.400 ServerApp] Serving notebooks from local directory: /home/vis/---
[I 2023-01-11 11:42:41.400 ServerApp] Jupyter Server 2.0.6 is running at:
[I 2023-01-11 11:42:41.400 ServerApp] https://---:8888/s/ab72821f2ed72e7fcb02e/lab?token=92dda24a4cf003a93451c7f0acac61b2f6ab29249a6d5dfd
[I 2023-01-11 11:42:41.400 ServerApp]  or https://127.0.0.1:8888/s/ab72821f2ed72e7fcb02e/lab?token=92dda24a4cf003a93451c7f0acac61b2f6ab29249a6d5dfd
[I 2023-01-11 11:42:41.400 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 2023-01-11 11:42:41.431 ServerApp] 
    
    To access the server, open this file in a browser:
        file:///home/vis/---/.local/share/jupyter/runtime/jpserver-86943-open.html
    Or copy and paste one of these URLs:
        https://---:8888/s/ab72821f2ed72e7fcb02e/lab?token=92dda24a4cf003a93451c7f0acac61b2f6ab29249a6d5dfd
     or https://127.0.0.1:8888/s/ab72821f2ed72e7fcb02e/lab?token=92dda24a4cf003a93451c7f0acac61b2f6ab29249a6d5dfd

Other details:

  • workbench_jupyterlab - v1.1.1
  • jupyter_server - v2.0.6
  • jupyter_lab - v3.5.2

Since this issue appears to be connected to an Posit Pro product, I've referred this to premium support (https://support.Posit.co/hc/en-us/requests/new)

Should a generalizable solution be reached we'll be sure to return here and share it.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.