Skip to content

[Bug]: timeout disconnection few minutes after connecting #121

@tgpsantos

Description

@tgpsantos

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

  • latest

Which version (if not the latest)?

No response

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions