You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
403 Responses Can Cause the LFS Client to Loop Infinitely #993
Because the LFS server and the git server can be separate endpoints, it is possible that a user has permission for the git server but not the LFS server.
In this case, if there is a credential manager installed, the credentials will not be reset, and LFS will use them on each subsequent request without ever invalidating them.
We should add a limit on the number of times LFS retries, or handle 403s in a smarter way.
Activity
WillHipschman commentedon Feb 11, 2016
I was able to fix this on the server by making sure that InfoRefs receive-pack calls always return the same exception that LFS calls do.
The issue still exists in the client though.
technoweenie commentedon Feb 11, 2016
There should be a limit already, but you're clearly hitting a case that doesn't have one. Can you replicate this somehow?
WillHipschman commentedon Feb 13, 2016
Yeah, the repro is
I can fix this, but it won't happen until next week sometime. I just wanted to make sure it's recorded as a known issue :)
ttaylorr commentedon May 29, 2018
This can be closed by: #2516.