benpye / wsl-ssh-pageant

A Pageant -> TCP bridge for use with WSL, allowing for Pageant to be used as an ssh-ageant within the WSL environment.
BSD 2-Clause "Simplified" License
619 stars 40 forks source link

Crash on connected #7

Closed piroor closed 6 years ago

piroor commented 7 years ago

On my environment, it crashes when I try to connect to the Pageant. Until I actually connect the process is running, but it suddenly dies by any connection. Here is a log:

$ while true; do socat UNIX-LISTEN:/tmp/wsl-ssh-pageant.socket,unlink-close,unlink-early TCP4:127.0.0.1:13000; done &
$ export SSH_AUTH_SOCK=/tmp/wsl-ssh-pageant.socket
$ /mnt/c/Program\ Files/wsl-ssh-pageant/wsl-ssh-pageant.exe  &
[2] 6085
$ Listening on 127.0.0.1:13000
$ git pull
Unhandled Exception: System.IO.FileNotFoundException
   at System.Net.SocketAddressPal.GetAddressFamily(Byte[] buffer)
   at System.Net.Sockets.IPEndPointExtensions.Create(EndPoint thisObj, SocketAddress socketAddress)
   at System.Net.Sockets.AcceptOverlappedAsyncResult.PostCompletion(Int32 numBytes)
   at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
   at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
benpye commented 6 years ago

Hm, I don't see this behaviour here. Do you see this on the Fall Creators Update?

benpye commented 6 years ago

Closing this as I can't reproduce. @piroor If you managed to get this issue to occur again please let me know.