Http status code 412 when using https

お困りですか?

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

コミュニティに質問

問題

When attempting to perform git activities over https with Bitbucket Cloud, you may encounter this error:

error: The requested URL returned error: 412 while accessing https://{username}@bitbucket.org/{username}/{repo name}.git/info/refs
fatal: HTTP request failed

原因

This error is due to not having a password set on your account. This can happen if you've created your account using the "Log in with Google|Twitter|Facebook|GitHub" and opted to not create a Bitbucket Cloud password during the sign-up process, as shown below. The actual error message you are seeing is a bug, which is being tracked here.

ソリューション

If you choose to use https to operate with Git, you'll need to set a password on your account. This can be done by going to the Manage account menu item in the upper right corner of any page. It can also be found directly at https://bitbucket.org/account/password/change/{YOUR USERNAME}/. If you do not wish to set a password on Bitbucket Cloud, you can still authenticate your actions using SSH. Please review our guide to setting up SSH.

 

 

最終更新日 2016 年 3 月 30 日

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

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