Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

500 GET /vnc/ (172.17.0.1): could not start vnc in time #1

Open
Shabber641 opened this issue Aug 18, 2021 · 1 comment
Open

500 GET /vnc/ (172.17.0.1): could not start vnc in time #1

Shabber641 opened this issue Aug 18, 2021 · 1 comment

Comments

@Shabber641
Copy link

Dear,

I cloned the project to my local directory and built the image and ran it as below.. when i click on VNC icon, i get 500 error...it works nicely on renkulab.io.. i want to have same stuff running on my local... i notice few things are missing

  1. renku init
  2. /usr/share/novnc/utils/launch.sh is not there in the git repository

below are the logs , please kindly help

C:\Users\sbedadhaluri\Documents\Shabber\docker\vnc\renku-vnc\xvnc4>docker run --rm -it -p 8888:8888 renku-vnc jupyter lab --ip=0.0.0.0
fatal: repository '//renku-env.git' does not exist
find: ‘/tmp/renku-env’: No such file or directory
Error: . is not a renku repository.
To initialize this as a renku repository use: renku init
[I 20:24:43.009 LabApp] Writing notebook server cookie secret to /home/jovyan/.local/share/jupyter/runtime/notebook_cookie_secret
[I 20:24:44.067 LabApp] JupyterLab extension loaded from /opt/conda/lib/python3.7/site-packages/jupyterlab
[I 20:24:44.067 LabApp] JupyterLab application directory is /opt/conda/share/jupyter/lab
[I 20:24:44.206 LabApp] Serving notebooks from local directory: /home/jovyan
[I 20:24:44.206 LabApp] The Jupyter Notebook is running at:
[I 20:24:44.206 LabApp] http://d26d0d255219:8888/?token=d278edfb5108bddb57bb401b896e83d3f16757df68e24174
[I 20:24:44.206 LabApp] or http://127.0.0.1:8888/?token=d278edfb5108bddb57bb401b896e83d3f16757df68e24174
[I 20:24:44.206 LabApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 20:24:44.212 LabApp]

To access the notebook, open this file in a browser:
    file:///home/jovyan/.local/share/jupyter/runtime/nbserver-28-open.html
Or copy and paste one of these URLs:
    http://d26d0d255219:8888/?token=d278edfb5108bddb57bb401b896e83d3f16757df68e24174
 or http://127.0.0.1:8888/?token=d278edfb5108bddb57bb401b896e83d3f16757df68e24174

[I 20:25:08.976 LabApp] 302 GET /?token=d278edfb5108bddb57bb401b896e83d3f16757df68e24174 (172.17.0.1) 1.45ms
[I 20:25:10.424 LabApp] Build is up to date
[I 20:25:56.622 LabApp] New terminal with automatic name: 1
TermSocket.open: 1
TermSocket.open: Opened 1
/usr/bin/env: ‘bash\r’: No such file or directory

/usr/bin/env: ‘bash\r’: No such file or directory[W 20:44:40.358 LabApp] 500 GET /vnc/ (172.17.0.1): could not start vnc in time
[E 20:44:40.425 LabApp] {
"Host": "127.0.0.1:8888",
"Connection": "keep-alive",
"Sec-Ch-Ua": ""Chromium";v="92", " Not A;Brand";v="99", "Google Chrome";v="92"",
"Sec-Ch-Ua-Mobile": "?0",
"Upgrade-Insecure-Requests": "1",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36",
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.9",
"Sec-Fetch-Site": "same-origin",
"Sec-Fetch-Mode": "navigate",
"Sec-Fetch-User": "?1",
"Sec-Fetch-Dest": "document",
"Referer": "http://127.0.0.1:8888/lab",
"Accept-Encoding": "gzip, deflate, br",
"Accept-Language": "en-US,en;q=0.9",
"Cookie": "_xsrf=2|15ff6ee4|1a6c08c7ff58e954029017f65d22ae95|1629215401; username-127-0-0-1-8888="2|1:0|10:1629233068|23:username-127-0-0-1-8888|44:OTRjYmY4NTc0OTYwNGJiYWFhZTJhYTgwYjEyM2NiNDE=|6fda47502480fa155440195f20b987e0c5106c15e4e221b4f977601190e41cb1""
}
[E 20:44:40.425 LabApp] 500 GET /vnc/ (172.17.0.1) 10096.98ms referer=http://127.0.0.1:8888/lab

@Shabber641
Copy link
Author

  1. work directory is empty , i manually copied all the files from renkulab.io to local but it still failed..

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

No branches or pull requests

1 participant