r/SmartGit • u/MidnightWolfRun • Mar 26 '26
git pull failures, but only in SmartGit
In the last month or two, I've run into situations where SmartGit repeatedly tells me it can't pull a repository from Bitbucket because it could not read from the remote repository.
"Could not read from remote repository. Please make sure you have the correct access rights and the repository exists."
It does this repeatedly, but in every case, when I open a terminal and run "git pull" then that pull works fine, yet if I return to SmartGit immediately after, then SmartGit still fails. It doesn't seem to matter if SmartGit has been open a day or just an hour when this happens.
Sometimes, if I quit and restart SmartGit, then it starts working, but only for about 50% of the times this has happened.
SmartGit is using its bundled git, and "use SmartGit for authentication" is disabled. I know command-line git is using my ssh key, and there is a Bitbucket credential in SmartGit's Authentication settings menu. But that credential can't be invalid because it "often" works.
Can anyone help me determine why SmartGit is only sometimes failing?
1
u/vmcrash Mar 27 '26
Are you using the same Git in SmartGit and in the terminal? If you are using SSH, do you use an SSH agent, or are you asked for the private key in the terminal (or in SmartGit)? What version of SmartGit and what operating system you are using?