mltooling/ml-workspace:latest
image, select the SSH option, follow the vast.ai guide to setup the SSH connection, connect to the server with the ssh command (the ssh command should have the port tunneling via -L
on port 8080
). Once you are connected via SSH, you have to start all the workspace tools via the following command WORKSPACE_BASE_URL="/" WORKSPACE_PORT=8080 VNC_PW="vncpassword" VNC_RESOLUTION="1600x900" VNC_COL_DEPTH="24" python /resources/docker-entrypoint.py
localhost:8080
/user/<user-name>/notebooks
for actually accessing notebook objects within the user workspace. Naming the named server notebooks
is therefore problematic since it is conflicting with this path. In the next version we will add blacklist some names for named servers such as notebooks
. As a workaround for now, just use any other name than tree
, notebooks
, tools
and it should (hopefully) work fine.
Laden fehlgeschlagen für das <script> mit der Quelle "http://192.168.1.150:8899/static/lab/vendors~main.4d6f61962d80393a514d.js".
/var/log/supervisor/
inside the workspace. JupyterLab logs are within the jupyter.log
logfile. There is also a hidden supervisor UI on port 8059
(open via url path /tools/8059/
), but the UI is not fully functional. If you click on the tool name, you will see the last logs of the tool. Calling this url path should give you all jupyter logs: WORKSPACE_BASE_URL/tools/8059/tail.html?processname=jupyter&limit=100000
jupyter notebook list
but I would need token to access the console of that container.
jupyter notebook list
. However, I am not sure as to how I can use this to solve the original issue I had where I could not use some of the tools at all, such as VNC, and instead gives the error message "WebSocket close with status code 1006" in the browser console.
[W 13:42:20.263 NotebookApp] Config option `template_path` not recognized by `ExporterCollapsibleHeadings`. Did you mean one of: `template_file, template_name, template_paths`?
[W 13:42:20.271 NotebookApp] Config option `template_path` not recognized by `ExporterCollapsibleHeadings`. Did you mean one of: `template_file, template_name, template_paths`?
[W 13:42:20.318 NotebookApp] Config option `template_path` not recognized by `TocExporter`. Did you mean one of: `template_file, template_name, template_paths`?
[W 13:42:20.324 NotebookApp] Config option `template_path` not recognized by `TocExporter`. Did you mean one of: `template_file, template_name, template_paths`?
[W 13:42:20.353 NotebookApp] Config option `template_path` not recognized by `LenvsHTMLExporter`. Did you mean one of: `template_file, template_name, template_paths`?
[W 13:42:20.363 NotebookApp] Config option `template_path` not recognized by `LenvsHTMLExporter`. Did you mean one of: `template_file, template_name, template_paths`?
[W 13:42:20.392 NotebookApp] Config option `template_path` not recognized by `LenvsTocHTMLExporter`. Did you mean one of: `template_file, template_name, template_paths`?
[W 13:42:20.402 NotebookApp] Config option `template_path` not recognized by `LenvsTocHTMLExporter`. Did you mean one of: `template_file, template_name, template_paths`?
[E 13:42:20.731 NotebookApp] Uncaught exception GET /notebooks/welcome.ipynb (127.0.0.1)
HTTPServerRequest(protocol='http', host='localhost', method='GET', uri='/notebooks/welcome.ipynb', version='HTTP/1.1', remote_ip='127.0.0.1')
Traceback (most recent call last):
File "/opt/conda/lib/python3.7/site-packages/tornado/web.py", line 1701, in _execute
result = method(*self.path_args, **self.path_kwargs)
File "/opt/conda/lib/python3.7/site-packages/tornado/web.py", line 3178, in wrapper
return method(self, *args, **kwargs)
File "/opt/conda/lib/python3.7/site-packages/notebook/notebook/handlers.py", line 96, in get
get_frontend_exporters=get_frontend_exporters
File "/opt/conda/lib/python3.7/site-packages/notebook/base/handlers.py", line 507, in render_template
return template.render(**ns)
File "/opt/conda/lib/python3.7/site-packages/jinja2/environment.py", line 1090, in render
self.environment.handle_exception()
File "/opt/conda/lib/python3.7/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/opt/conda/lib/python3.7/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "/opt/conda/lib/python3.7/site-packages/notebook/templates/notebook.html", line 1, in top-level template code
{% extends "page.html" %}
File "/opt/conda/lib/python3.7/site-packages/notebook/templates/page.html", line 154, in top-level template code
{% block header %}
File "/opt/conda/lib/python3.7/site-packages/notebook/templates/notebook.html", line 114, in block "header"
{% for exporter in get_frontend_exporters() %}
File "/opt/conda/lib/python3.7/site-packages/notebook/notebook/handlers.py", line 36, in get_frontend_exporters
for name in get_export_names():
File "/opt/conda/lib/python3.7/site-packages/nbconvert/exporters/base.py", line 141, in get_export_names
e = get_exporter(exporter_name)(config=config)
File "/opt/conda/lib/python3.7/site-packages/nbconvert/exporters/base.py", line 102, in get_exporter
if getattr(exporter(config=config), 'enabled', True):
File "/opt/conda/lib/python3.7/site-packages/nbinteract/exporters.py", line 125, in __init__
self.template_path.insert(
AttributeError: 'InteractExporter' object has no attribute 'template_path'