-
-
Notifications
You must be signed in to change notification settings - Fork 844
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Unable to establish remote connection automatically from Windows client to Windows server #1358
Comments
Note that the nightly build is even worse - it just silently fails. |
The key part of the output is:
which makes me think that there might be a Windows-specific race condition to track down |
In some cases, the `wezterm cli proxy` subcommand had terminated with error, but the client was still happily waiting for more data to read. This commit spawns a thread to detect the process termination and then drop the child struct when it completes; that in turn causes the stdio descriptors to close and then things tick over. refs: #1358
This got lost somewhere along the way. Importantly, we need to explicitly set the pty to use invalid stdio handles for the spawned child in order to avoid a weird situation where eg: cmd or powershell would end up writing to the log file despite it being spawned into its own PTY. refs: #1358
I think this is fixed now; give it about 45 minutes and try the nightly download and let me know how it goes |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
What Operating System(s) are you seeing this problem on?
Windows
WezTerm version
20210814-124438-54e29167
Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?
Yes, and I updated the version box above to show the version of the nightly that I tried
Describe the bug
When trying to connect to a remote Windows wezterm ssh session from Windows wezterm client it does not work
To Reproduce
wezterm connect my.server
Configuration
Expected Behavior
Able to automatically connect to the remote machine using ssh.
Logs
Anything else?
If I start mux manually on the remote machine, like
wezterm-mux-server.exe --daemonize
, it works. It seems like it is a Windows policy issue but I can't point one out.Additional info:
The text was updated successfully, but these errors were encountered: