devpod icon indicating copy to clipboard operation
devpod copied to clipboard

Adding new SSH provider hangs

Open MicroPJ opened this issue 2 years ago • 5 comments

What happened? Adding new provider, type SSH, using root@IPADDRESS. Enter details, click Add Provider and the button continually spins. Provider isnt added as expected.

What did you expect to happen instead? Provider added and ready to use for workspace

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

Click Add Provider Select SSH Enter root@IPADDRESS Click Add Provider button

Local Environment:

  • DevPod Version: v0.1.10
  • Operating System: windows 11
  • ARCH of the OS: AMD64

DevPod Provider:

  • Cloud Provider: PulseHeberg VPS
  • Kubernetes Provider: n/a
  • Local/remote provider: ssh1
  • Custom provider: n/a

Attempted on different Windows machines, 10 and 11, same results - just hangs

MicroPJ avatar Jun 22 '23 12:06 MicroPJ

Same issue windows 11

navaneeth-dev avatar Jun 28 '23 14:06 navaneeth-dev

Also ran into this issue on every version of DevPod I've tried up to v0.2.1. Overall the UI seems very buggy and resource hungry, so I decided to run provider create ssh from the CLI and it worked just fine.

segfly avatar Jul 07 '23 15:07 segfly

For me, having a ssh-agent running before creating the provider fixes this issue.

This is why I think this fixes the issue: When creating the provider, the ssh program on your system waits for the user to input the password (for the private key if you are using one). When creating the provider with the CLI, you can just enter the password, with the UI you cannot. I don't know if this is the intended behavior, but if it is, it would be useful to have this explained somewhere in the documentation or UI.

JonasVlaeyen avatar Jul 20 '23 14:07 JonasVlaeyen

Interesting theory @JonasVlaeyen, but it doesn't explain the situation I encountered above: My environment has a working ssh-agent with a key already loaded, and the UI still hangs for me but the CLI does not.

It's starting to seem that is more than one issue that is causing the same symptom we are collectively seeing.

segfly avatar Jul 22 '23 12:07 segfly

@MicroPJ Do you still experience this issue with newer versions of DevPod?

pascalbreuninger avatar Apr 17 '24 19:04 pascalbreuninger