Git commands return error code 503

Git のトラブルシューティング

このページの内容

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

When pulling from, pushing or cloning to Stash, it responds with the error code 503.

$ git clone url directory
Cloning into 'directory'...
error: The requested URL returned error: 503 while accessing url
fatal: HTTP request failed

原因

This may be caused by one of two things:

  1. If you have a proxy set up in front of Stash, it may be returning the 503 due to Stash being down.
  2. If you don't have a proxy and you are using Stash 1.0.0, it is likely that you are hitting internal Stash resource limits.
    In Stash 1.0.1 and above, you will get an explicit error message in the git command output if you hit the resource limits. 

ソリューション

When you visit Stash in your browser, it will add a banner if it is under extreme load (confirming cause #2 above). You will have to wait for the load to decrease - try again occasionally.

If you are hitting resource limits, you can configure those limits in Stash, as documented in Scaling Stash.

 

 

 

 

 

 

 

 

 

 

 

Last modified on Mar 15, 2013

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.