-
-
Notifications
You must be signed in to change notification settings - Fork 674
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
gitui freezes on fetch at 0% and breaks ssh-agent.
To Reproduce
- In .bashrc:
eval `ssh-agent -s`
ssh-add ~/.ssh/github
ssh-add ~/.ssh/bitbucket
- Open git bash in a (large) repository
- (optional) run
git fetchto check that it works - Open gitui
- Try to fetch
- Wait....
- Become impatient after a few minutes and hit Ctrl + C (only way to abort this I found)
- Try to run
git fetchin bash. -> fails with "Permission denied (publickey)"
Expected behavior
Should fetch within a few seconds.
Context (please complete the following information):
- OS/Distro + Version: Windows 11
- GitUI Version: 0.27.0 2025-01-14 (99f6967) (version from Chocolatey)
- Git for Windows: 2.52.0
Additional context
- 'ssh-add -L' reports "Error connecting to agent: Bad file descriptor" after killing gitui.
- Happens with all github and bitbucket repositories I tried (including gitui) as long as they use ssh and not https.
- I tried to see if ssh-agent would log anything by running
ssh-agent -d -sand manually pointing SSH_AUTH_SOCK to the file from the agent in another terminal. Forgit fetchssh-agent would output something, but for fetching in gitui it's completely silent. - I did not try to push but I would assume it has similar issues.
- If I wait long enough on a fetch the progress dialog will be gone. ssh-agent will still be broken though.
- If I wait long enough on a pull I'm getting this error: "git error:error authenticating: agent list id failed; class=Ssh (23)"
el-christianito
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working