Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Git suddenly asking for credential and AggregateException #559

Closed
ClaraJaquet opened this issue Feb 23, 2018 · 7 comments
Closed

Git suddenly asking for credential and AggregateException #559

ClaraJaquet opened this issue Feb 23, 2018 · 7 comments

Comments

@ClaraJaquet
Copy link

ClaraJaquet commented Feb 23, 2018

Hi all,

I have been using git via https on a windows machine without issue so far. I wasn't required to provide username nor password for pushing from my local repo.
Since this afternoon I am suddenly required a password. When I provide it it says
fatal: AggregateException encountered
and then the git LFS says Git credentials for https://github.com/MyName/xxx.git not found. But the files I want to push do not require git lfs (only some code files).
I don't understand what changed.
I tried with specific config settings:
git config --global credential.helper wincred
git config --global credential.helper cache
but it didn't change the issue
I use git version 2.10.2.windows.1
Please can anybody help?

@ClaraJaquet
Copy link
Author

ClaraJaquet commented Feb 23, 2018

showing results with GIT_TRACE=1 :

GIT_TRACE=1 git push origin master
14:33:01.923722 git.c:349 trace: built-in: git 'push' 'origin' 'master'
14:33:01.928722 run-command.c:336 trace: run_command: 'git-remote-https' 'origin' 'https://github.com/MyName/XXX.git'
14:33:03.964926 run-command.c:336 trace: run_command: 'git credential-manager get'
14:33:04.072937 git.c:563 trace: exec: 'git-credential-manager' 'get'
14:33:04.073937 run-command.c:336 trace: run_command: 'git-credential-manager' 'get'
fatal: AggregateException encountered.
One or more errors occurred.
14:33:04.525982 run-command.c:336 trace: run_command: 'bash' '-c' 'cat >/dev/tty && read -r line </dev/tty && echo "$line"'
Username for 'https://github.com': MyName
14:33:11.183648 run-command.c:336 trace: run_command: 'C:/Program Files/Git/mingw64/libexec/git-core/git-gui--askpass' 'Password for '''https://MyName@github.com'\'': '
14:33:14.982027 run-command.c:336 trace: run_command: 'git credential-manager store'
14:33:15.086038 git.c:563 trace: exec: 'git-credential-manager' 'store'
14:33:15.087038 run-command.c:336 trace: run_command: 'git-credential-manager' 'store'
14:33:15.247054 run-command.c:336 trace: run_command: '.git/hooks/pre-push' 'origin' 'https://github.com/MyName/XXX.git'
14:33:15.367066 git.c:563 trace: exec: 'git-lfs' 'pre-push' 'origin' 'https://github.com/MyName/XXX.git'
14:33:15.368066 run-command.c:336 trace: run_command: 'git-lfs' 'pre-push' 'origin' 'https://github.com/MyName/XXX.git'
trace git-lfs: run_command: 'git' version
trace git-lfs: pre-push: refs/heads/master 523529fa134d4394ab359cb2184279926c414a33 refs/heads/master c33ad0b4982a8f2199ac2a76d03a863dc907e5a8
trace git-lfs: run_command: git rev-list --objects --stdin --
trace git-lfs: run_command: git cat-file --batch-check
trace git-lfs: run_command: git cat-file --batch
trace git-lfs: run_command: 'git' config -l
trace git-lfs: tq: running as batched queue, batch size of 100
trace git-lfs: tq: sending batch of size 87
trace git-lfs: api: batch 87 files
trace git-lfs: tq: enqueue retry #1 for "8289b953bdecd54998ce5a7549d4dcfea464ce7329ea6e9080ac5eeb4f59bed6" (size: 364252)
trace git-lfs: tq: flushing batch in response to retry #1 for "8289b953bdecd54998ce5a7549d4dcfea464ce7329ea6e9080ac5eeb4f59bed6" (size: 364252)
trace git-lfs: tq: enqueue retry #1 for "1ede85b1e7214b4bbbc3c16a127746083e0d62e99eadddb2e84fda52f85f9afb" (size: 370280)
trace git-lfs: tq: flushing batch in response to retry #1 for "1ede85b1e7214b4bbbc3c16a127746083e0d62e99eadddb2e84fda52f85f9afb" (size: 370280)
trace git-lfs: tq: sending batch of size 0
trace git-lfs: tq: sending batch of size 1
trace git-lfs: tq: enqueue retry #1 for "1e2f5b136ed8c584395abf3fe941943abd12b9647bd7d5e0e86bc9d038492547" (size: 453462)
trace git-lfs: tq: flushing batch in response to retry #1 for "1e2f5b136ed8c584395abf3fe941943abd12b9647bd7d5e0e86bc9d038492547" (size: 453462)
trace git-lfs: api: batch 1 files
trace git-lfs: tq: refusing to retry "8289b953bdecd54998ce5a7549d4dcfea464ce7329ea6e9080ac5eeb4f59bed6", too many retries (1)
trace git-lfs: tq: sending batch of size 1
trace git-lfs: tq: enqueue retry #1 for "ac834a27563882dd9bfc790acdc6f6c26c2c10d01fde64b27cdb95f5a989c831" (size: 288973)
trace git-lfs: tq: flushing batch in response to retry #1 for "ac834a27563882dd9bfc790acdc6f6c26c2c10d01fde64b27cdb95f5a989c831" (size: 288973)
trace git-lfs: api: batch 1 files
trace git-lfs: tq: refusing to retry "1ede85b1e7214b4bbbc3c16a127746083e0d62e99eadddb2e84fda52f85f9afb", too many retries (1)
trace git-lfs: tq: sending batch of size 1
trace git-lfs: api: batch 1 files
trace git-lfs: tq: enqueue retry #1 for "0e3a5aa1bc992a074782a594b72e262736d8c4b35975afff55b62d2f0bd2747c" (size: 355250)
trace git-lfs: tq: flushing batch in response to retry #1 for "0e3a5aa1bc992a074782a594b72e262736d8c4b35975afff55b62d2f0bd2747c" (size: 355250)
trace git-lfs: tq: refusing to retry "1e2f5b136ed8c584395abf3fe941943abd12b9647bd7d5e0e86bc9d038492547", too many retries (1)
trace git-lfs: tq: sending batch of size 1
trace git-lfs: api: batch 1 files
trace git-lfs: tq: enqueue retry #1 for "db4049c808d480f99e25fe987a4a3167715ebb72cd762bd114be7690760b6100" (size: 369811)
trace git-lfs: tq: flushing batch in response to retry #1 for "db4049c808d480f99e25fe987a4a3167715ebb72cd762bd114be7690760b6100" (size: 369811)
trace git-lfs: tq: refusing to retry "ac834a27563882dd9bfc790acdc6f6c26c2c10d01fde64b27cdb95f5a989c831", too many retries (1)
trace git-lfs: tq: sending batch of size 1

@Dalesjo
Copy link

Dalesjo commented Feb 23, 2018

Looks like the same problam as many of us had. Github has disabled TLS 1.0 as of 22 Mars. It should be resolved if you update GIT to the latest version which is 2.16.2

@ClaraJaquet
Copy link
Author

Thanks a lot, I'll try this

@ClaraJaquet
Copy link
Author

It's working! thanks for answering so quickly!!!

@whoisj whoisj closed this as completed Feb 23, 2018
@ghost
Copy link

ghost commented Mar 24, 2018

Dalesjo, how do I update Git? I get this error when I use Git Bash (from July 2016). I have GitHub on Windows, but that is 3.3.4, so you aren't referring to it. I don't see anything on the GitHub website about updating. Is there a place to look for these updates? Thanks!

@Dalesjo
Copy link

Dalesjo commented Mar 24, 2018

@richwingerter git has its own homepage where you can download the latest binary https://git-scm.com/downloads

@abcdkcdc
Copy link

Update the git,solved my problem

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants