Hi,
we have tljh running on a server S.
I can open Google Colab on a laptop L.
What is necessary to adjust in the tljh installation on S, such that it can be used as a local runtime for Colab on L.
I have added to /opt/tljh/config/jupyterhub_config.d/GoogleColab.py on S
c.JupyterHub.tornado_settings = {
'headers': {
'Access-Control-Allow-Origin': 'https://colab.research.google.com',
# 'Access-Control-Allow-Credentials': 'true',
},
}
followed by
tljh-config reload hub
I have a portforward on L
ssh -v -N -L 8888:S:80 alf@[gateway]
I have created an API token in tljh on S
I try to connect to a local runtime in Colab on L using
http://localhost:8888/?token=[API token]
However, Colab keeps on saying that it cannot connect to the local runtime.
Any suggestions?
Regards, Alf.