gitui
gitui copied to clipboard
Pushing to Repos Now Failing
Describe the bug I'm not sure what's changed, but I was hoping to figured out some information for how to troubleshoot this on my end further.
To Reproduce Steps to reproduce the behavior:
- Make commit using
gitui - Push using
gitui - See Error
- Push using CLI
gitworks
Expected behavior
I can push to my repos using gitui
Screenshots
Context (please complete the following information):
- OS/Distro + Version:
macOS 14.5 - GitUI Version:
gitui nightly 2024-05-22 () - Rust version:
rustc 1.78.0 (9b00956e5 2024-04-29) (Homebrew)
Additional context I believe it's possibly my keychain provider has changed somehow? Upon first push to a new remote (GitHub or ADO), I get a keychain access request. Upon providing the credential and "Always Allow," this happens without a keychain access prompt. If I just hit "Allow" the same error occurs but I need to input my computer password repeatedly.
Same for me
@vkohutid also mac? can you share more details on how you authenticate?
Firstly, I authenticated withusername and password that I got from printf "protocol=https\nhost=github.com\n" | git credential fill command.
Yesterday I was searching for a solution and found this issue with a solution by running a command git config --global credential.helper osxkeychain
This may be not the identical issue, but related to it.
I am not able to either fetch or push using gitui on Mac Sonoma 14.5 using ssh authentication. Using git pull or push works fine. The repository is freshly cloned with ssh. Following error message is shown by gitui:
git error:remote rejected authentication: Failed getting response; class=Ssh (23); code=Auth (-16)
I tried the solution suggested by @vkohutid above, but it does not fix this issue. Are there any suggestions on what else to try? What information do you need additionally?
This may be not the identical issue, but related to it. I am not able to either fetch or push using
gituion Mac Sonoma 14.5 using ssh authentication. Usinggit pullorpushworks fine. The repository is freshly cloned with ssh. Following error message is shown bygitui:git error:remote rejected authentication: Failed getting response; class=Ssh (23); code=Auth (-16)I tried the solution suggested by @vkohutid above, but it does not fix this issue. Are there any suggestions on what else to try? What information do you need additionally?
Yeah, I tried this fix as well, but I'm getting the same error:
I had similar issues in my test vm and on a test mac mini. I tried the git config --global credential.helper osxkeychain to no luck and wondered why the same error wouldn't occur on my production mac. I went through all the differences I was aware off. The first and most obvious one being that in my test environments I used brew to install gitui and on my productive mac I used macports to install git and gitui.
I cloned the VM, removed brew, installed macports, installed gitui via macports and could commit. I don't know what macports does different compared to brew when building and/or installing gitui from a binary. I admit I haven't tested the gitui from the releases section on github.
For convenience I added /usr/bin/ssh-add --apple-use-keychain ~/.ssh/id_edxxxx to my .bashrc
This is macOS 14.5 gitui nightly 2024-05-18 () installed via macports currently no rust installed but version 1.78 is available via macports and is listed as build dependency.
I had similar issues in my test vm and on a test mac mini. I tried the
git config --global credential.helper osxkeychainto no luck and wondered why the same error wouldn't occur on my production mac. I went through all the differences I was aware off. The first and most obvious one being that in my test environments I used brew to install gitui and on my productive mac I used macports to install git and gitui. I cloned the VM, removed brew, installed macports, installed gitui via macports and could commit. I don't know what macports does different compared to brew when building and/or installing gitui from a binary. I admit I haven't tested the gitui from the releases section on github.For convenience I added
/usr/bin/ssh-add --apple-use-keychain ~/.ssh/id_edxxxxto my.bashrcThis is macOS 14.5 gitui nightly 2024-05-18 () installed via macports currently no rust installed but version 1.78 is available via macports and is listed as build dependency.
for anyone else running into a failed authentication issue (fine when using git push) -- doing this alleviated the problem.