Dev Mode doesn't work with vs code (remote extension)

#15
by Btebbutt - opened

Hi ,

I have been trying to connect to my hf space via dev mode , and have added the required credentials to my hf account and can successfully login using the cli

Screenshot 2024-08-08 150630.png

However I can never connect to the space via vs code via the remote extension as it hangs after entering the pw. I can see others are also having this issue in the feedback thread and was wondering if anyone has been able to solve this problem.

Dev Mode Explorers org

Hello @Btebbutt thank you for the feedback. Can you check if it works with a passwordless key?

hi @mcpotato thanks for your reply. I've just tried without the pw and it doesn't hang like previously , but it times out.

Screenshot 2024-08-09 123704.png

ssh via cli confirmed to be working as well.

I have also confirmed the vs code remote extension works through connecting to my azure linux vm to make sure it's not the extension causing the issue.

Hello @Btebbutt thank you for the feedback. Can you check if it works with a passwordless key?

Hi , just wanted to check if there was any update on this?

Thanks

same situation for me

Hello @Btebbutt thank you for the feedback. Can you check if it works with a passwordless key?

A little late, but I can say that I tried that and it also didn't work.

The weird thing is: Normally before asking you anything like passphrase for the key or whatever you should be asked about the ssh fingerprint for the connection, or am I wrong on that? Because this prompt never appears when I try to connect to HF but it does with every other VS Code SSH server.

Hi there!

I seem to have exactly the same problem: All the SSH setup is OK, i.e. I get a connection to the SSH remote host through the Command Line Tool:

image.png

This works with and without a passphrase key. However, VS Code can't connect and throws a timeout error:

image.png

VS Code Extensions are up-to-date... Any ideas? Thanks!

Sign up or log in to comment