You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to open a table in Jupyter Lab on a remote machine, it fails to open. @chipkent reported this when building the new demo system.
May be related to #3. The URL for the iframe is based on localhost:
Steps to reproduce
Haven't tried to reproduce locally yet, could perhaps start up a Jupyter lab within a VM or docker container and it should run into this issue though.
Fixes#10
Verified by creating a docker container:
docker run -p 10000:8888 -p 8080:1234 ghcr.io/deephaven/deephaven-kube-demo-worker-jupyter:main
Then running the following code in a jupyter notebook in the docker container:
from deephaven_server import Server
s = Server(port=1234, jvm_args=["-Xmx10g"])
s.start()
from deephaven_ipywidgets import DeephavenWidget
from deephaven.plot.figure import Figure
from deephaven import empty_table
from deephaven import time_table
from deephaven import ugp
static_table = empty_table(100).update(["X = i", "Y = Math.sin(0.1 * X)"])
import os
os.environ['DEEPHAVEN_IPY_URL'] = "http://localhost:8080/"
static_widget = DeephavenWidget(static_table)
display(static_widget)
Description
When trying to open a table in Jupyter Lab on a remote machine, it fails to open. @chipkent reported this when building the new demo system.
May be related to #3. The URL for the iframe is based on localhost:
deephaven-ipywidgets/deephaven_ipywidgets/deephaven.py
Line 66 in ee39e19
Steps to reproduce
Haven't tried to reproduce locally yet, could perhaps start up a Jupyter lab within a VM or docker container and it should run into this issue though.
Expected results
3. A table displays with the data requested
Actual results
3. An error is displayed. Inspecting the element on the iframe reveals the link to be pointing to localhost (e.g. http://localhost:8080/iframe/table/?name=t_cb8a51e8_a98e_4607_b53d_513f025cd844).
The text was updated successfully, but these errors were encountered: