fork-dev / TrackerWin

Bug and issue tracker for Fork for Windows
461 stars 10 forks source link

Fork git instance cannot fetch #1429

Closed SiauYau closed 2 years ago

SiauYau commented 2 years ago

I encountered a fetch problem which indicated an authoratiozn isssues but I am very sure that I have the right access to my project repo. 图片

I tried TortoiseGit, Git GUI, etc and there is no problem on fetch. So I changed git instance in preferences from the default Fork git instance to the offical git bash, everything goes fine then.

图片

BTW, some versions info: Fork 1.69.4.0 Fork git instance 2.33.1.windows.1 git bash 2.21.0.windows.1

DanPristupov commented 2 years ago

What git service do you use? What protocol do you use?

SiauYau commented 2 years ago

What git service do you use? What protocol do you use?

We build our git service based on GitLab 7.7.2(maybe too old?), and use ssh.

DanPristupov commented 2 years ago

We ... use ssh.

Did you select your SSH key in the SSH configuration dialog in Fork (File -> Configure SSH Keys)?

SiauYau commented 2 years ago

We ... use ssh.

Did you select your SSH key in the SSH configuration dialog in Fork (File -> Configure SSH Keys)?

Nope. I did not even realized that settings exists before. Now I tried to configure SSH keys and change back to default git instance, it turns out that I need to enter a password. But enter the password still does not work for me.

To be more clear: git SSH configure fetch status
git bash 2.21.0 all unselected OK
git bash 2.21.0 select right key OK
Fork git 2.33.1 all unselected Fail
Fork git 2.33.1 select right key Fail
DanPristupov commented 2 years ago

We build our git service based on GitLab 7.7.2

This is quite old. I guess it uses obsolete OpenSSH and doesn't work with git 2.33. https://github.com/fork-dev/TrackerWin/issues/1381