Git push returns error code 402
症状
When pushing to Stash 1.0.0, it responds with the error code 402.
$ git push url directory
Cloning into 'directory'...
error: The requested URL returned error: 402 while accessing url
fatal: HTTP request failed
原因
This may be caused by one of two things:
- Your Stash License has expired.
- You have configured too many users for your current Stash license.
Stash 1.0.1 and above do not respond with a 402, instead they give an explicit error description in the output of the git command.
ソリューション
Contact your administrator and let them know. You will have to renew your license, upgrade to a license that supports more users or reduce the number of active users.
See Administering Stash.
Last modified on Mar 15, 2013
Powered by Confluence and Scroll Viewport.