JetpackDuba / Gitnuro

A FOSS Git multiplatform client for newbies and pros
https://gitnuro.com/
GNU General Public License v3.0
872 stars 44 forks source link

After installing Git 2.41.0 64-bit and rebooting, authentication is not working anymore on push & pull #126

Closed Flashdown closed 6 months ago

Flashdown commented 1 year ago

Describe the bug I was using Gitnuro for quite some time now, then I decided to install Git and took the latest 2.41.0 64 bit installer for Windows. Everything was working fine until I've rebooted. Now I can not push and pull anything anymore. It says authentication not supported.

When I close Gitnuro and delete the repo folder, then I can start Gitnuro again and clone the Gitea repo again, but it takes an unusual long time to start doing something: It just shows starting... for some time after entering url and folder. Then a user password dialog is presented, filled out and it starts cloning. From now on, when I try to push or pull again, it always fails instantly with authentication not supported.

To Reproduce Steps to reproduce the behavior:

  1. Install Gitnuro
  2. Install Git 64 Bit: https://github.com/git-for-windows/git/releases/download/v2.41.0.windows.1/Git-2.41.0-64-bit.exe
  3. Keep recommended settings during install
  4. Reboot
  5. Try to push or pull in an existing repo. It fails.
  6. Close Gitnuro and then uninstall Git
  7. Open Gitnuro and it works correctly again
JetpackDuba commented 1 year ago

Can it be something related to Git Credentials Manager? That's the only external variable, Gitnuro does not use Git at all.

Flashdown commented 1 year ago

Maybe it requires the Credentials Manager then to work correctly, thinkable, but I didnt install the Credentials Manager and it was also not offered during Git Install.

JetpackDuba commented 1 year ago

It's installed by default on Git for windows. You could try installing an older version of Git to check if it makes any difference.

I don't really know what could be wrong. Is it possible to test if it works with SSH?

JetpackDuba commented 1 year ago

I don't really know what could be wrong. Is it possible to test if it works with SSH?

Also check your git config file to comment out the Git Credentials Manager config and try without it, just to discard possible issues.

To list git configs and where do they come from, try running this command git config --list --show-origin. If I'm not mistaken, C:\Program Files\Git\etc\gitconfig is the default path for the config file in Windows.

JetpackDuba commented 8 months ago

Could you please test with the latest version of Gitnuro to see if that still happens?

JetpackDuba commented 6 months ago

I'm closing it as there hasn't been any additional feedback. Let me know if the issue still persists.