Failed to install alpine ssh server during timeout

Hi,

I’ve been struggling with the VSCode extension anysphere.remote-ssh in order to get SSH access to my Alpine containers.

In the Remote - SSH Output, I observed the following:

  • Sometimes it fails at unlocking/removing the /tmp/cursor-remote-lock (in case of timeout with Transferred: sent 32548, received 9028 bytes, in 30.2 seconds I empty my tmp folder)
  • The wget command is ran. I can observe the downloading file growing in size with watch -n 2 ls -lh ~/.cursor-server/bin/02270c8441bdc4b2fdbc30e6... the download is in progress, grows to about 40M… and then the timeout triggers and restarts it.

I’m currently looking for workarounds… (pre-install server manually ? archive on a local fileserver and override DNS ?)

I will eventually get this working. But it’s a little bit of a hassle. I’m supposed to have good connection speed…

Please have some care and consideration for non-Americans that don’t have lightspeed connection to your servers. I’m sick of your U.S.-centrism !

( I’m joking I’m not mad it’s a beta just raise the timeout please )

if you ignore the timeout dialog of the extension, it keeps downloading (eventually reaching completion and even uncompress archive). if you click reload window or reinstall server, it deletes everything :crying_cat:

I can’t get a self-signed redirection to local httpd fileserver work, because wget notices my tricks ERROR: cannot verify cursor.blob.core.windows.net's certificate, issued by 'CN=cursor.blob.core.windows.net': Self-signed certificate encountered.

I fixed it ! I added --no-check-certificate to c:\Users\me\.cursor\extensions\anysphere.remote-ssh-1.0.2\dist\main.js (open in notepad++ and search wget)

I hope this helps any non-american or low connection individual while they notice the problem. Peace :waving_hand:

Hi @timefox1, thanks for the feedback, and clever trick to get it to serve from a local download!

The default timeout is 180s (though this is configurable in the settings), which should hopefully support a wide range of internet speeds. We have an update coming that will reset the timeout so long as the download is making progress, which should hopefully improve the experience here.