Skip to content

devpod ssh hangs when container goes down #1863

Open
@RafalSkolasinski

Description

@RafalSkolasinski

What happened?

When devpod container stops (either timeout or via devpod stop) the connected ssh sessions hangs.
Cannot type or do anything with it unless I run killall devpod in another terminal session which is not ideal.

This only happens for sessions connected via devpod ssh, using regular ssh into the container terminates fine.

The error is

Error tunneling to container: Process exited with status 137

What did you expect to happen instead?
Session to terminate gracefully. Even with error messages I'd expect to regain control over terminal.

How can we reproduce the bug? (as minimally and precisely as possible)

  1. devpod up https://github.com/microsoft/vscode-remote-try-python
  2. devpod ssh - in terminal A
  3. devpod stop - in terminal B
  4. observe terminal A hanging

Local Environment:

  • DevPod Version: v0.6.15
  • Operating System: mac
  • ARCH of the OS: ARM64

DevPod Provider:

  • Local/remote provider: docker

Anything else we need to know?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions