-
Notifications
You must be signed in to change notification settings - Fork 26
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
stopped working after waking up from sleep #58
Comments
Well, I can only suspect Cygwin or Windows itself, or some interaction therein. From ssh-pageant's side, the program has no clue about system sleep, and the APIs it's using shouldn't matter. |
Yeah, I've been using this for about a year, and only encountered this recently. |
As a side note, if I don't delete the socket file, it will fail like this:
|
I have a similar issue:
Note that it's printed twice, because I have two ssh keys registered in Git. I had no success in deleting ssh-pageant-sock |
I doubt Cmder has anything to do with this. I guess you could ask Git for Windows, but I expect it will depend on their MSYS2 runtime, and probably back to Cygwin in turn. |
Jimmy's comment was helpful. A previous failure had left a stale socket file in the location specified by the path argument ( @cuviper , would it be possible to log the name of the socket file that |
We could add a formatted Line 172 in d79751d
That's possible, but significantly more complicated. (And to be honest, I don't use this program myself anymore, nor even Windows except on rare occasion.) |
I see you're already checking if the unusable path is a socket and trying to remove it, but that doesn't seem to have worked. My C is a little rusty (haven't used it in anger since undergrad) but it looks like the path_is_socket method is conditional based on whether This related SO question has more details about that, specifically that Cygwin uses I'm not sure where I even got my I think I know enough C to make these tiny changes myself, but I definitely don't have the infrastructure set up right now to build and test them. I noticed you're now working for RHEL, but maybe there's a more active maintainer still on the project who could take a look at this? |
The MSYS fallbacks are for the old MSYS based on the original MinGW and an old fork of Cygwin, and is now basically defunct. The modern MSYS2 is based on mingw-w64 (even for 32-bit) and stays in sync with current Cygwin development, and AFAIK this is still what the Git for Windows SDK is based on. From #29 and #30 you can see that the
There's been no other maintainer here, just the occasional contributor passing by. It's such a tiny tool that it never really needed much, but hopefully some interested user can find time to dig into this issue, if you're not able. Maybe the Git for Windows folks can take a look, since they're shipping |
I had to kill it, delete the sock file, restart it.
The text was updated successfully, but these errors were encountered: