git-up / GitUp

The Git interface you've been missing all your life has finally arrived.
http://gitup.co
GNU General Public License v3.0
11.48k stars 1.25k forks source link

ERROR: The project you were looking for could not be found or you don't have permission to view it. #860

Open dwt opened 1 year ago

dwt commented 1 year ago

Not quite sure what triggers this, I get this error on all the projects from one company that talk to gitlab.com: Looks like this whenever I pull/push:

image

Any ideas how to reproduce this further? Is there some logging I can enable to get to the root cause?

Of course everything works fine from the shell…

lucasderraugh commented 1 year ago

Huh, maybe something to do with the ssh keys used for this gitlab account? The usual issue that manifests is #127. Though your particular error message back is a bit different.

dwt commented 1 year ago

@lucasderraugh Indeed, the ssh-key seems to be the problem. Adding it to the agent works around the error.

Interesting enough, this config in my .ssh/config doesn't seem to do the trick - and I would have expected it to?

Host gitlab.com
    ClearAllForwardings yes
    User git
    IdentityFile ~/.ssh/id_rsa

Does that have something to do with libgit2 not actually consulting the git config?