-
Notifications
You must be signed in to change notification settings - Fork 259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Remote-SSH Bug]: Hangs at "Checking for a running server" #9553
Comments
Not sure why it's hanging there. Can you try connecting with the setting The next line would only be |
I'm experiencing the same issue, running a local setup of Windows 10 and a remote CentOS Linux 7. I used the same remote-ssh process to access this machine several times a week for the last several months without problems until the VS Code update to version 1.86. Since I believe that version is now incompatible with CentOS 7 remotes, I had to revert my local install to version 1.85.2. This worked initially, but the next day that I tried to log in, I experienced a couple variants of this problem. I've tried toggling on and off a few different Remote-SSH settings, including the Local VS Code info:
With tail end of logs:
|
Set the value to true and the same issue occurs; it is still checking nonexistant files for a running server. This hangs until I ssh into the machine from my terminal and manually kill all vscode-related processes with
Will see if I can get a hold of my sysadmin to ask about my account as well. |
@whugimy I ran into this issue yesterday, changed a few settings, and somehow was able to bypass it and connect successfully. So while this definitely seems like a bug, there should be a workaround! But I've had no luck reproducing that connection today. |
Hi @bradenkwebb, Do you mind me asking what some of those settings you had to change were? I'm not having any luck. |
The settings that I know I've touched include
as well as either deleting the entire |
@whugimy I finally got it working! I think the key was to use the command
before connecting, instead of just killing or deleting the pre-existing server directory. Not sure what the underlying difference is, but I'm connected. The only other changes I currently have in my
|
@bradenkwebb I've tried running that command and using those settings, but it still doesn't seem to be working for me. Still looking for files that don't exist:
Still odd, because I just tried connecting from another computer—and it works fine! All the files it's looking for are generated properly. Another edit: I just tried using the same laptop and Remote-SSH'd to another system—it also worked fine. Very lost now. |
Worked after I used my system's VPN—way above my paygrade, but I spoke to my system admin and it seems like there was probably something related to the firewalls blocking certain portions of the server installs. Using the VPN allowed the server files to install properly, then all connections worked fine. |
Hi I encountered, the same issue and tried all of the work around but the VPN one and still get the same problem
|
Is there an existing issue for this bug?
Required Troubleshooting Steps
remote.SSH.useLocalServer
settingConnect Locally
It connects successfully
->
No response
Expected Behavior
Expected to successfully login to my account on a remote system via ssh and access its files.
Steps To Reproduce
Sorry, I don't have too good of an idea of where to find details, but I will provide as much as possible and do my best to provide more info if needed.
Linux Version Info
When trying to login through VSC's Remote-SSH to one specific remote server, the program hangs on a line where the system is trying to check a .log and a .pid file within the server directory.
I am able to connect to the system via my Macbook's native terminal, and it seems like those files that Remote-SSH is trying to access don't exist. The specific files are shown below in the log.
I have tried the following steps:
None of these steps have worked. They have consistently produced the same result on my computer: I am unable to login because the login process hangs when looking for a running server.
I am not able to reproduce this issue on other computers OR even on other remote systems from this computer.
I actually attempted to connect to the system using other computers' VSCode installations: they all seem to work fine. However, even after a friend's laptop is successfully able to connect and create the missing files, when attempting to connect again from my laptop, the connection process hangs with the following line:
I assume this pid does not function properly with my computer.
And again, I am also able to successfully connect to other systems that I have a user account on—they do not have the same issue, only this specific device.
I'm not sure where to look to find more info, but I am happy to provide as much as I can, as using VSCode on this device to remotely access this specific machine is extremely important to me.
Remote-SSH Log
Remote-SSH Log of Failed Attempt From My Computer
Remote-SSH Log of Failed Attempt From My Computer After Successful Access From Other Computer
Although logs do not reflect it, I have attempted both values of
remote.SSH.useLocalServer
Anything else?
Sorry, I am a student and not super experienced with where I might find more necessary info on my own system! Am happy to respond and provide as much info as I can
The text was updated successfully, but these errors were encountered: