colab-ssh
colab-ssh copied to clipboard
[Bug]: timeout disconnection few minutes after connecting
Jupyter notebook
Google Colab
What happened?
Hi guys,
Every time I connect to Colab using VS Code the machine disconnects everything works great for 5-10 minutes until it disconnects, independently whether I'm running code or not.
I tried running an endless script in the web side to try to prevent it from disconnecting like this
import time
while True:
print(f"random {random.random()}")
time.sleep(30)
but got no luck..
Any idea why this happens?
Another question, after setting up the connection to VS Code I'm prompted to install the kernel from their marketplace. Is this an issue?
What did you expect?
I'd expect to be able to use SSH for longer periods of time.
Version
- [X] latest
Which version (if not the latest)?
No response
Relevant log output
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
I met the first problem too. Colad always disconnects. Dose Google Colab ban colab_ssh? In README.md, it says: Google Colab | Recently prohibited by Google Colab It may be the reason.
Google Colab | Recently prohibited by Google Colab
That warning disappears if you integrate Cloudflare.