# Cannot connect to Tensorboard in JupyterLab - "this site cannot be reached"

**URL:** <https://renku.discourse.group/t/cannot-connect-to-tensorboard-in-jupyterlab-this-site-cannot-be-reached/575>\
**Category:** RenkuLab\
**Created:** [21 March 2022 02:29 UTC](https://renku.discourse.group/t/cannot-connect-to-tensorboard-in-jupyterlab-this-site-cannot-be-reached/575 "2022-03-21T02:29:49Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![rwagner](https://avatars.discourse-cdn.com/v4/letter/r/d9b06d/32.png) [@rwagner](https://renku.discourse.group/u/rwagner)\
**Post date:** [21 March 2022 02:29 UTC](https://renku.discourse.group/t/cannot-connect-to-tensorboard-in-jupyterlab-this-site-cannot-be-reached/575/1 "2022-03-21T02:29:49Z")

</div>

Hi there,

I am unable to connect to tensorboard from a JupyterLab session on limited.renku. I am using a chrome browser, but the error persists in firefox. I am on renku version 1.0.5.

I spin up a terminal and run

`tensorboard --logdir logs/fit --bind_all`

I added the --bind\_all flag as it is suggested when running without it (because we’re in a docker image?)

The output is as follows:

```auto
NOTE: Using experimental fast data loading logic. To disable, pass
    "--load_fast=false" and report issues on GitHub. More details:
    https://github.com/tensorflow/tensorboard/issues/4784

TensorBoard 2.8.0 at http://rwagner-das-2doa-2dssl-d45848ac-0.rwagner-das-2doa-2dssl-d45848ac.renku.svc.cluster.local:6006/ (Press CTRL+C to quit)

```

This URL does not direct me to tensorboard but localhost refuses to connect (“This site can’t be reached” in chrome and “Hmm. We’re having trouble finding that site” in firefox).  
No matter which port I choose or if I pass the host flag or not; I’ll get the same result.

Apparently as a new renku user I cannot paste more than two screenshots; so I hope you can infer which error page I mean.

If instead I try to load tensorboard from within the notebook itself I get the following error:

 ![image](https://global.discourse-cdn.com/free1/uploads/renku/original/1X/60533ef86b81d1e6f3c3a307ae61b075f735078a.png)

How do I manage to bring up tensorboard from JupyterLab?  
Any support is appreciated.

---

<div class="post-metadata">

**Author:** ![rrrrrok](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/rrrrrok/32/117_2.png) [@rrrrrok](https://renku.discourse.group/u/rrrrrok)\
**Post date:** [22 March 2022 08:15 UTC](https://renku.discourse.group/t/cannot-connect-to-tensorboard-in-jupyterlab-this-site-cannot-be-reached/575/2 "2022-03-22T08:15:57Z")

</div>

Hi @rwagner thanks for posting the question here! In order to get tensorboard to work you need to install a few additional pieces. You need [jupyter tensorboard](https://github.com/lspvic/jupyter_tensorboard) as well as the [jupyterlab tensorboard](https://github.com/chaoleili/jupyterlab_tensorboard). These dependencies are a little complicated because they don’t seem to be maintained very well, but I managed to get a working version in an [example project of mine](https://renkulab.io/projects/rok.roskar/tensorboard-demo).

If you put these two lines into your `requirements.txt` you should be good to go:

```nohighlight
git+https://github.com/cliffwoolley/jupyter_tensorboard.git@tb-2.2-compat
git+https://github.com/twalcari/jupyterlab_tensorboard.git

```

You can [run a session](https://renkulab.io/projects/rok.roskar/tensorboard-demo/sessions/new?autostart=1) from my project - if you open up and run the `tensorboard-demo.ipynb` notebook, you can then click on the Tensorboard icon from the launcher:

 ![Screenshot 2022-03-21 at 23.08.51](https://global.discourse-cdn.com/free1/uploads/renku/original/1X/a360449d7f8b255f8711bb2d36f1504ea0163834.png)

Hope that helps!

---

<div class="post-metadata">

**Author:** ![rwagner](https://avatars.discourse-cdn.com/v4/letter/r/d9b06d/32.png) [@rwagner](https://renku.discourse.group/u/rwagner)\
**Post date:** [2 April 2022 18:48 UTC](https://renku.discourse.group/t/cannot-connect-to-tensorboard-in-jupyterlab-this-site-cannot-be-reached/575/3 "2022-04-02T18:48:39Z")

</div>

Hi there, sorry for responding late.

I tried your approach but it didn’t work. I added the two lines to my requirements.txt, pushed the changes, spun up a new session but I still cannot see the tensorboard icon on the launcher. If I use your session everything works as expected. Haven’t figured out where the difference lies though.

This is the content of my requirements.txt file:  
git+https://github.com/cliffwoolley/jupyter\_tensorboard.git@tb-2.2-compat  
git+https://github.com/twalcari/jupyterlab\_tensorboard.git

This is my launcher (tensorboard icon missing)

 ![image](https://global.discourse-cdn.com/free1/uploads/renku/original/1X/b3107525edff4076dd5789ff3cb329e9901db957.png)

Am I missing something? Thanks a lot for any pointers.

---

<div class="post-metadata">

**Author:** ![rrrrrok](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/rrrrrok/32/117_2.png) [@rrrrrok](https://renku.discourse.group/u/rrrrrok)\
**Post date:** [6 April 2022 16:02 UTC](https://renku.discourse.group/t/cannot-connect-to-tensorboard-in-jupyterlab-this-site-cannot-be-reached/575/4 "2022-04-06T16:02:31Z")

</div>

Hi @rwagner sorry it took me a bit to respond - are you sure you are launching from the commit that should have those packages installed? When you are in this session, could you check the `requirements.txt` file just to be verify?

---

<div class="post-metadata">

**Author:** ![rwagner](https://avatars.discourse-cdn.com/v4/letter/r/d9b06d/32.png) [@rwagner](https://renku.discourse.group/u/rwagner)\
**Post date:** [15 April 2022 09:35 UTC](https://renku.discourse.group/t/cannot-connect-to-tensorboard-in-jupyterlab-this-site-cannot-be-reached/575/5 "2022-04-15T09:35:39Z")

</div>

Hi @rrrrrok  
No worries, I figured it out. I had to add the commands into my dockerfile. See screenshot attached.  
It’s working fine now. Thanks for your help.

RUN /opt/conda/bin/pip install git+https://github.com/cliffwoolley/jupyter\_tensorboard.git@tb-2.2-compat

RUN /opt/conda/bin/pip install git+https://github.com/twalcari/jupyterlab\_tensorboard.git

---

<div class="post-metadata">

**Author:** ![rrrrrok](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/rrrrrok/32/117_2.png) [@rrrrrok](https://renku.discourse.group/u/rrrrrok)\
**Post date:** [15 April 2022 09:55 UTC](https://renku.discourse.group/t/cannot-connect-to-tensorboard-in-jupyterlab-this-site-cannot-be-reached/575/6 "2022-04-15T09:55:02Z")

</div>

Oh nice, glad you figured it out. Though normally (if you are using one of Renku templates for your project) the `requirements.txt` should get installed automatically in the `Dockerfile` as well. Can you share the `Dockerfile` you are using?

---

<div class="post-metadata">

**Author:** ![rwagner](https://avatars.discourse-cdn.com/v4/letter/r/d9b06d/32.png) [@rwagner](https://renku.discourse.group/u/rwagner)\
**Post date:** [15 April 2022 10:08 UTC](https://renku.discourse.group/t/cannot-connect-to-tensorboard-in-jupyterlab-this-site-cannot-be-reached/575/7 "2022-04-15T10:08:16Z")

</div>

Sorry, it tells me that I am not allowed to post more than two links as I am a new user. There are more than two links in my dockerfile.  
I cannot attach the file as only image extensions are allowed. Can you remove this limit for me?

---

<div class="post-metadata">

**Author:** ![rrrrrok](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/rrrrrok/32/117_2.png) [@rrrrrok](https://renku.discourse.group/u/rrrrrok)\
**Post date:** [15 April 2022 10:25 UTC](https://renku.discourse.group/t/cannot-connect-to-tensorboard-in-jupyterlab-this-site-cannot-be-reached/575/8 "2022-04-15T10:25:17Z")

</div>

sure - please try again!

---

<div class="post-metadata">

**Author:** ![rwagner](https://avatars.discourse-cdn.com/v4/letter/r/d9b06d/32.png) [@rwagner](https://renku.discourse.group/u/rwagner)\
**Post date:** [15 April 2022 11:09 UTC](https://renku.discourse.group/t/cannot-connect-to-tensorboard-in-jupyterlab-this-site-cannot-be-reached/575/9 "2022-04-15T11:09:49Z")

</div>

```auto
# For finding latest versions of the base image see
# https://github.com/SwissDataScienceCenter/renkulab-docker
# ARG RENKU_BASE_IMAGE=renku/renkulab-py:3.9-0.11.0
ARG RENKU_BASE_IMAGE=renku/renkulab-cuda-tf:11.2-tf-2.7-0.11.0
FROM ${RENKU_BASE_IMAGE}

# Add VSCode support for a more pleasant coding and debugging experience for .py files. More details about issues, comments, and automatically installing extensions on https://renku.discourse.group/t/using-visual-studio-code-in-renkulab-interactive-sessions/249.
RUN curl -s https://raw.githubusercontent.com/SwissDataScienceCenter/renkulab-docker/master/scripts/install-vscode.sh | bash

# Uncomment and adapt if code is to be included in the image
# COPY src /code/src

# Uncomment and adapt if your R or python packages require extra linux (ubuntu) software
# e.g. the following installs apt-utils and vim; each pkg on its own line, all lines
# except for the last end with backslash '\' to continue the RUN line
#
# USER root
# RUN apt-get update && \
# apt-get install -y --no-install-recommends \
# apt-utils \
# vim
# USER ${NB_USER}

# install the python dependencies
COPY requirements.txt environment.yml /tmp/
RUN conda env update -q -f /tmp/environment.yml && \
    /opt/conda/bin/pip install -r /tmp/requirements.txt && \
    conda clean -y --all && \
    conda env export -n "root"

# add extension in visual studio code using the unique identifier
RUN code-server --install-extension GitHub.vscode-pull-request-github
#RUN code-server --install-extension huangbaoshan.comment-aligner # fails
RUN code-server --install-extension shardulm94.trailing-spaces
# RUN code-server --install-extension ms-python.python # fails

# Install pyoat library for OA forward transform and backward projections
RUN /opt/conda/bin/pip install git+https://github.com/berkanlafci/pyoat.git

# Install packages that allow to use Tensorboard on Jupyterlab
RUN /opt/conda/bin/pip install git+https://github.com/cliffwoolley/jupyter_tensorboard.git@tb-2.2-compat
RUN /opt/conda/bin/pip install git+https://github.com/twalcari/jupyterlab_tensorboard.git

# RENKU_VERSION determines the version of the renku CLI
# that will be used in this image. To find the latest version,
# visit https://pypi.org/project/renku/#history.
ARG RENKU_VERSION=1.0.5

########################################################
# Do not edit this section and do not add anything below

# Install renku from pypi or from github if it's a dev version
RUN if [-n "$RENKU_VERSION"] ; then \
        source .renku/venv/bin/activate ; \
        currentversion=$(renku --version) ; \
        if ["$RENKU_VERSION" != "$currentversion"] ; then \
            pip uninstall renku -y ; \
            gitversion=$(echo "$RENKU_VERSION" | sed -n "s/^[[:digit:]]\+\.[[:digit:]]\+\.[[:digit:]]\+\(rc[[:digit:]]\+\)*\(\.dev[[:digit:]]\+\)*\(+g\([a-f0-9]\+\)\)*\(+dirty\)*$/\4/p") ; \
            if [-n "$gitversion"] ; then \
                pip install --force "git+https://github.com/SwissDataScienceCenter/renku-python.git@$gitversion" ;\
            else \
                pip install --force renku==${RENKU_VERSION} ;\
            fi \
        fi \
    fi

########################################################

```

---

<div class="post-metadata">

**Author:** ![rwagner](https://avatars.discourse-cdn.com/v4/letter/r/d9b06d/32.png) [@rwagner](https://renku.discourse.group/u/rwagner)\
**Post date:** [17 April 2022 08:49 UTC](https://renku.discourse.group/t/cannot-connect-to-tensorboard-in-jupyterlab-this-site-cannot-be-reached/575/10 "2022-04-17T08:49:41Z")

</div>

I’d like to ask a follow-up question regarding my Dockerfile if you don’t mind.

When I am trying to install the python debugging extension ([Python - Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=ms-python.python)) in visual studio code on renku I get a server 404 error.  
As you can see in my Dockerfile above I commented out the respective line:

```auto
# RUN code-server --install-extension ms-python.python # fails

```

The log from my failed docker build points us to the server error (see below). I haven’t figured out how to resolve it, there was an open git issue [https://github.com/microsoft/vscode/issues/99699](https://github.com/microsoft/vscode/issues/99699) regarding this problem but it has been closed in 2020. I am running VS Code v1.60.0 so this fix should have been integrated.

Hope you could advise me on how to add the debugging functionality to VSC on Renku.  
Cheers

> code-server: v3.12.0  
> VS Code: v1.60.0  
> Commit: 4cd55f94c0a72f05c18cea070e10b969996614d2  
> Date: 2021-09-15T19:34:37Z (7 mos ago)  
> Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10\_15\_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36

This is the log:

Step 9/14 : RUN code-server --install-extension ms-python.python

[56](https://limited.renku.ch/gitlab/firat/das-oa-ssl/-/jobs/11153#L56) —\> Running in 18700867c63c

[57](https://limited.renku.ch/gitlab/firat/das-oa-ssl/-/jobs/11153#L57)Installing extensions…

[58](https://limited.renku.ch/gitlab/firat/das-oa-ssl/-/jobs/11153#L58) **Server returned 404**

[59](https://limited.renku.ch/gitlab/firat/das-oa-ssl/-/jobs/11153#L59)[2022-04-17T08:26:04.771Z] error vscode Failed Installing Extensions: ms-python.python

[60](https://limited.renku.ch/gitlab/firat/das-oa-ssl/-/jobs/11153#L60)[2022-04-17T08:26:04.775Z] error vscode Error: Failed Installing Extensions: ms-python.python

[61](https://limited.renku.ch/gitlab/firat/das-oa-ssl/-/jobs/11153#L61) at E.installExtensions (/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/server/entry.js:19:42)

[62](https://limited.renku.ch/gitlab/firat/das-oa-ssl/-/jobs/11153#L62) at processTicksAndRejections (internal/process/task\_queues.js:95:5)

[63](https://limited.renku.ch/gitlab/firat/das-oa-ssl/-/jobs/11153#L63) at async /home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/server/entry.js:42:72320

[64](https://limited.renku.ch/gitlab/firat/das-oa-ssl/-/jobs/11153#L64) at async G (/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/server/entry.js:42:75753)

[65](https://limited.renku.ch/gitlab/firat/das-oa-ssl/-/jobs/11153#L65) at async process. (/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/server/entry.js:42:85792)

[66](https://limited.renku.ch/gitlab/firat/das-oa-ssl/-/jobs/11153#L66)The command ‘/bin/bash -c code-server --install-extension ms-python.python’ returned a non-zero code: 1

[68](https://limited.renku.ch/gitlab/firat/das-oa-ssl/-/jobs/11153#L68)Cleaning up file based variables00:01

[70](https://limited.renku.ch/gitlab/firat/das-oa-ssl/-/jobs/11153#L70)ERROR: Job failed: exit code 1

* * *

This is the log I get when trying to manually install the same extension from within my renku session in visual studio code → extensions:

[2022-04-17 10:36:18.758] [window] [error] Not Found: Error: Not Found  
at [https://limited.renku.ch/sessions/rwagner-das-2doa-2dssl-ab135b42/vscode/static/4cd55f94c0a72f05c18cea070e10b969996614d2/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/base/worker/workerMain.js#languageDetectionWorkerService:3:12892](https://limited.renku.ch/sessions/rwagner-das-2doa-2dssl-ab135b42/vscode/static/4cd55f94c0a72f05c18cea070e10b969996614d2/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/base/worker/workerMain.js#languageDetectionWorkerService:3:12892)  
[2022-04-17 10:36:20.138] [window] [error] a text search provider for the scheme ‘file’ is already registered: Error: a text search provider for the scheme ‘file’ is already registered  
at \_.registerTextSearchProvider (/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/services/extensions/node/extensionHostProcess.js:103:12674)  
at \_registerEHSearchProviders (/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/services/extensions/node/extensionHostProcess.js:113:11365)  
at \_.$enableExtensionHostSearch (/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/services/extensions/node/extensionHostProcess.js:113:11238)  
at i.\_doInvokeHandler (/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/services/extensions/node/extensionHostProcess.js:98:13542)  
at i.\_invokeHandler (/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/services/extensions/node/extensionHostProcess.js:98:13226)  
at i.\_receiveRequest (/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/services/extensions/node/extensionHostProcess.js:98:11888)  
at i.\_receiveOneMessage (/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/services/extensions/node/extensionHostProcess.js:98:10566)  
at /home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/services/extensions/node/extensionHostProcess.js:98:8662  
at c.fire (/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/services/extensions/node/extensionHostProcess.js:66:1712)  
at a.fire (/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/services/extensions/node/extensionHostProcess.js:74:15781)  
at /home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/services/extensions/node/extensionHostProcess.js:113:30364  
at c.fire (/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/services/extensions/node/extensionHostProcess.js:66:1712)  
at a.fire (/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/services/extensions/node/extensionHostProcess.js:74:15781)  
at r.\_receiveMessage (/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/services/extensions/node/extensionHostProcess.js:74:21079)  
at /home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/services/extensions/node/extensionHostProcess.js:74:17929  
at c.fire (/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/services/extensions/node/extensionHostProcess.js:66:1712)  
at p.acceptChunk (/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/services/extensions/node/extensionHostProcess.js:74:13142)  
at /home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/services/extensions/node/extensionHostProcess.js:74:12490  
at c.fire (/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/services/extensions/node/extensionHostProcess.js:66:1712)  
at E.\_acceptChunk (/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/services/extensions/node/extensionHostProcess.js:113:19362)  
at /home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/services/extensions/node/extensionHostProcess.js:113:15775  
at Socket.w (/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/services/extensions/node/extensionHostProcess.js:113:13350)  
at Socket.emit (events.js:400:28)  
at addChunk (internal/streams/readable.js:290:12)  
at readableAddChunk (internal/streams/readable.js:265:9)  
at Socket.Readable.push (internal/streams/readable.js:204:10)  
at TCP.onStreamRead (internal/stream\_base\_commons.js:188:23)  
[2022-04-17 10:36:28.248] [window] [error] Not Found: Error: Not Found  
at [https://limited.renku.ch/sessions/rwagner-das-2doa-2dssl-ab135b42/vscode/static/4cd55f94c0a72f05c18cea070e10b969996614d2/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/base/worker/workerMain.js#languageDetectionWorkerService:3:12892](https://limited.renku.ch/sessions/rwagner-das-2doa-2dssl-ab135b42/vscode/static/4cd55f94c0a72f05c18cea070e10b969996614d2/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/base/worker/workerMain.js#languageDetectionWorkerService:3:12892)  
[2022-04-17 10:36:32.444] [window] [error] Not Found: Error: Not Found  
at [https://limited.renku.ch/sessions/rwagner-das-2doa-2dssl-ab135b42/vscode/static/4cd55f94c0a72f05c18cea070e10b969996614d2/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/base/worker/workerMain.js#languageDetectionWorkerService:3:12892](https://limited.renku.ch/sessions/rwagner-das-2doa-2dssl-ab135b42/vscode/static/4cd55f94c0a72f05c18cea070e10b969996614d2/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/base/worker/workerMain.js#languageDetectionWorkerService:3:12892)  
[2022-04-17 10:36:57.949] [window] [error] Not Found: Error: Not Found  
at [https://limited.renku.ch/sessions/rwagner-das-2doa-2dssl-ab135b42/vscode/static/4cd55f94c0a72f05c18cea070e10b969996614d2/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/base/worker/workerMain.js#languageDetectionWorkerService:3:12892](https://limited.renku.ch/sessions/rwagner-das-2doa-2dssl-ab135b42/vscode/static/4cd55f94c0a72f05c18cea070e10b969996614d2/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/base/worker/workerMain.js#languageDetectionWorkerService:3:12892)  
[2022-04-17 10:36:59.867] [window] [error] Not Found: Error: Not Found  
at [https://limited.renku.ch/sessions/rwagner-das-2doa-2dssl-ab135b42/vscode/static/4cd55f94c0a72f05c18cea070e10b969996614d2/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/base/worker/workerMain.js#languageDetectionWorkerService:3:12892](https://limited.renku.ch/sessions/rwagner-das-2doa-2dssl-ab135b42/vscode/static/4cd55f94c0a72f05c18cea070e10b969996614d2/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/base/worker/workerMain.js#languageDetectionWorkerService:3:12892)  
[2022-04-17 10:37:01.357] [window] [error] Not Found: Error: Not Found  
at [https://limited.renku.ch/sessions/rwagner-das-2doa-2dssl-ab135b42/vscode/static/4cd55f94c0a72f05c18cea070e10b969996614d2/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/base/worker/workerMain.js#languageDetectionWorkerService:3:12892](https://limited.renku.ch/sessions/rwagner-das-2doa-2dssl-ab135b42/vscode/static/4cd55f94c0a72f05c18cea070e10b969996614d2/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/base/worker/workerMain.js#languageDetectionWorkerService:3:12892)  
[2022-04-17 10:37:22.699] [window] [error] Error: Server returned 404  
at w ([https://limited.renku.ch/sessions/rwagner-das-2doa-2dssl-ab135b42/vscode/static/4cd55f94c0a72f05c18cea070e10b969996614d2/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/workbench.web.api.js:609:154456](https://limited.renku.ch/sessions/rwagner-das-2doa-2dssl-ab135b42/vscode/static/4cd55f94c0a72f05c18cea070e10b969996614d2/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/workbench.web.api.js:609:154456))  
at $.getManifest ([https://limited.renku.ch/sessions/rwagner-das-2doa-2dssl-ab135b42/vscode/static/4cd55f94c0a72f05c18cea070e10b969996614d2/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/workbench.web.api.js:614:31038](https://limited.renku.ch/sessions/rwagner-das-2doa-2dssl-ab135b42/vscode/static/4cd55f94c0a72f05c18cea070e10b969996614d2/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/workbench.web.api.js:614:31038))  
at async f.installFromGallery ([https://limited.renku.ch/sessions/rwagner-das-2doa-2dssl-ab135b42/vscode/static/4cd55f94c0a72f05c18cea070e10b969996614d2/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/workbench.web.api.js:2853:113974](https://limited.renku.ch/sessions/rwagner-das-2doa-2dssl-ab135b42/vscode/static/4cd55f94c0a72f05c18cea070e10b969996614d2/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/workbench.web.api.js:2853:113974))  
at async ls.installFromGallery ([https://limited.renku.ch/sessions/rwagner-das-2doa-2dssl-ab135b42/vscode/static/4cd55f94c0a72f05c18cea070e10b969996614d2/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/workbench.web.api.js:2848:19846](https://limited.renku.ch/sessions/rwagner-das-2doa-2dssl-ab135b42/vscode/static/4cd55f94c0a72f05c18cea070e10b969996614d2/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/workbench.web.api.js:2848:19846))  
[2022-04-17 10:37:22.733] [window] [error] Server returned 404: Error: Server returned 404  
at w ([https://limited.renku.ch/sessions/rwagner-das-2doa-2dssl-ab135b42/vscode/static/4cd55f94c0a72f05c18cea070e10b969996614d2/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/workbench.web.api.js:609:154456](https://limited.renku.ch/sessions/rwagner-das-2doa-2dssl-ab135b42/vscode/static/4cd55f94c0a72f05c18cea070e10b969996614d2/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/workbench.web.api.js:609:154456))  
at $.getManifest ([https://limited.renku.ch/sessions/rwagner-das-2doa-2dssl-ab135b42/vscode/static/4cd55f94c0a72f05c18cea070e10b969996614d2/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/workbench.web.api.js:614:31038](https://limited.renku.ch/sessions/rwagner-das-2doa-2dssl-ab135b42/vscode/static/4cd55f94c0a72f05c18cea070e10b969996614d2/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/workbench.web.api.js:614:31038))  
at async f.installFromGallery ([https://limited.renku.ch/sessions/rwagner-das-2doa-2dssl-ab135b42/vscode/static/4cd55f94c0a72f05c18cea070e10b969996614d2/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/workbench.web.api.js:2853:113974](https://limited.renku.ch/sessions/rwagner-das-2doa-2dssl-ab135b42/vscode/static/4cd55f94c0a72f05c18cea070e10b969996614d2/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/workbench.web.api.js:2853:113974))  
at async ls.installFromGallery ([https://limited.renku.ch/sessions/rwagner-das-2doa-2dssl-ab135b42/vscode/static/4cd55f94c0a72f05c18cea070e10b969996614d2/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/workbench.web.api.js:2848:19846](https://limited.renku.ch/sessions/rwagner-das-2doa-2dssl-ab135b42/vscode/static/4cd55f94c0a72f05c18cea070e10b969996614d2/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/workbench.web.api.js:2848:19846))  
[2022-04-17 10:37:22.910] [window] [error] Error: Server returned 404  
at w ([https://limited.renku.ch/sessions/rwagner-das-2doa-2dssl-ab135b42/vscode/static/4cd55f94c0a72f05c18cea070e10b969996614d2/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/workbench.web.api.js:609:154456](https://limited.renku.ch/sessions/rwagner-das-2doa-2dssl-ab135b42/vscode/static/4cd55f94c0a72f05c18cea070e10b969996614d2/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/workbench.web.api.js:609:154456))  
at $.getManifest ([https://limited.renku.ch/sessions/rwagner-das-2doa-2dssl-ab135b42/vscode/static/4cd55f94c0a72f05c18cea070e10b969996614d2/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/workbench.web.api.js:614:31038](https://limited.renku.ch/sessions/rwagner-das-2doa-2dssl-ab135b42/vscode/static/4cd55f94c0a72f05c18cea070e10b969996614d2/home/jovyan/.local/lib/code-server-3.12.0/vendor/modules/code-oss-dev/out/vs/workbench/workbench.web.api.js:614:31038))

---

<div class="post-metadata">

**Author:** ![rrrrrok](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/rrrrrok/32/117_2.png) [@rrrrrok](https://renku.discourse.group/u/rrrrrok)\
**Post date:** [19 April 2022 23:53 UTC](https://renku.discourse.group/t/cannot-connect-to-tensorboard-in-jupyterlab-this-site-cannot-be-reached/575/11 "2022-04-19T23:53:13Z")

</div>

I just tried this Dockerfile with the two packages in `requirements.txt` but _commented out_ the `RUN /opt/conda/bin/pip install` lines, and I get Tensorboard in there… so not sure what is going on in your case. If you leave out the two extra install lines in the `Dockerfile` and then run `pip freeze` in the terminal, do you see the two packages?

---

<div class="post-metadata">

**Author:** ![rwagner](https://avatars.discourse-cdn.com/v4/letter/r/d9b06d/32.png) [@rwagner](https://renku.discourse.group/u/rwagner)\
**Post date:** [21 April 2022 11:37 UTC](https://renku.discourse.group/t/cannot-connect-to-tensorboard-in-jupyterlab-this-site-cannot-be-reached/575/12 "2022-04-21T11:37:34Z")

</div>

We can close the issue regarding Tensorflow, this is working fine now.  
All that’s left open is the debugging extension in visual studio code which cannot be installed. If you want, I’ll open a new issue for it.

Best,  
Raphaela

---

<div class="post-metadata">

**Author:** ![rrrrrok](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/rrrrrok/32/117_2.png) [@rrrrrok](https://renku.discourse.group/u/rrrrrok)\
**Post date:** [25 April 2022 09:37 UTC](https://renku.discourse.group/t/cannot-connect-to-tensorboard-in-jupyterlab-this-site-cannot-be-reached/575/13 "2022-04-25T09:37:53Z")

</div>

Hi @rwagner I’m looking into the vscode python extension problem now - could you open an issue in [Issues · SwissDataScienceCenter/renkulab-docker · GitHub](https://github.com/SwissDataScienceCenter/renkulab-docker/issues)? Thanks for letting us know it was broken!

---

<div class="post-metadata">

**Author:** ![rrrrrok](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/rrrrrok/32/117_2.png) [@rrrrrok](https://renku.discourse.group/u/rrrrrok)\
**Post date:** [25 April 2022 10:44 UTC](https://renku.discourse.group/t/cannot-connect-to-tensorboard-in-jupyterlab-this-site-cannot-be-reached/575/14 "2022-04-25T10:44:06Z")

</div>

actually it looks like the fix is quite easy. In your Dockerfile could you add this line _just after_ the comment `# Add VSCode support...`, i.e. _before_ `RUN curl -s https://raw.githubusercontent.com...`

```auto
ENV VSCODE_VERSION 4.3.0

```

Looks like they stopped supporting extensions for the version of the vscode server we were using. You can also remove the lines installing the python extension from your `Dockerfile` since that’s actually done by the script that installs vscode already. If you can confirm that this works for you as expected, I’ll make a change in the script so that this is the default version which gets installed.

---

<div class="post-metadata">

**Author:** ![rwagner](https://avatars.discourse-cdn.com/v4/letter/r/d9b06d/32.png) [@rwagner](https://renku.discourse.group/u/rwagner)\
**Post date:** [8 May 2022 18:51 UTC](https://renku.discourse.group/t/cannot-connect-to-tensorboard-in-jupyterlab-this-site-cannot-be-reached/575/15 "2022-05-08T18:51:27Z")

</div>

Hi, thanks for your answer! I’m about to try it and will let you know if it works.  
Cheers!
