SourceTreeインストールで、Bitbucketでログインをします。
ログインは成功するようですが、インストーラーは次の画面に遷移しません。
インストーラーでBitbucketを選択すると、IEが立ち上がりログイン、OAuth認証が求められます。
認証画面で「アクセスを許可する」を選択すると、画面に「Authentication Successful s」と表示されますが、
インストーラーではログインを求める画面に戻ってしまいます。
以下の質問を参考にIEの設定変更、SourceTreeのアンインストール、関連フォルダの削除は行いましたが、解決しませんでした。
OSは windows 10、ブラウザは IE 11.523 です。
よろしくお願いします。
コミュニティをご利用いただきありがとうございます。
ご不便をおかけしております。こちらはBitbucket ServerではなくBitbucket Cloudへの接続を行おうとしていらっしゃるとの理解でよろしかったでしょうか?
ご返信ありがとうございます。
はい。Bitbucket ServerではなくBitbucket Cloudだと思います。
2枚目の画像の右のボタンを選択して接続を行おうとしています。
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ご確認が遅れまして申し訳ありません。
私の環境にて、IE11でご報告いただいた事象が発生すること、および、Chromeの使用で問題を解消できることを確認いたしました。
お手数ですが、デフォルトブラウザをChromeしたうえで再度お試しいただけますでしょうか。
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ご連絡ありがとうございます。
Chromeで試したところ、同様の事象が発生しました。
ただし、OAuth認証の次の画面は真っ白のまま何も表示されません。
Chromeで何か必要な設定などありましたら教えていただけますでしょうか。
Chromeはバージョン: 72.0.3626.81で、プロキシ環境下です。
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ご返信いただきありがとうございます。
Chromeでも問題が発生するとのこと、承知いたしました。
プロキシ環境下とのことで、次のコミュニティ投稿の内容をお試しいただけますでしょうか。
また、念のため確認させていただければと思いますが、お試しになっているのは最新のSourcetreeバージョンとの理解でよろしかったでしょうか?過去のバージョンの場合、お手数ですが最新バージョンのインストールをお試しいただけますでしょうか。
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ご提示いただいた内容を試してみましたが、
状態は変わりませんでした。
SourceTreeのバージョンは3.0.15です。
%APPDATA%\..\Local\Atlassian\SourceTree
の配下に出来たログを見てみると
以下のようになっていました。
xxxxsourcetree.log
2019-02-05T13:20:37: VaultClient::Delete
2019-02-05T13:20:37: credentials not found for git:https://bitbucket.org
2019-02-05T13:20:37: VaultClient::Delete
2019-02-05T13:20:37: credentials not found for hg:https://bitbucket.org
2019-02-05T13:20:37: VaultClient::Delete
2019-02-05T13:20:37: credentials not found for sourcetree-rest:https://bitbucket.org
accounts.jsonは以下のように変更されました。
[
{
"$id": "1",
"$type": "SourceTree.Api.Host.Identity.Model.IdentityAccount, SourceTree.Api.Host.Identity",
"IsDefault": false,
"Authenticate": true,
"HostInstance": {
"$id": "2",
"$type": "SourceTree.Host.Atlassianaccount.AtlassianAccountInstance, SourceTree.Host.AtlassianAccount",
"Host": {
"$id": "3",
"$type": "SourceTree.Host.Atlassianaccount.AtlassianAccountHost, SourceTree.Host.AtlassianAccount",
"Id": "atlassian account"
},
"BaseUrl": "https://id.atlassian.com/"
},
"Credentials": {
"$id": "4",
"$type": "SourceTree.Api.Account.Basic.BasicAuthCredentials, SourceTree.Api.Account.Basic",
"Username": "入力したメールアドレス",
"AuthenticationScheme": {
"$type": "SourceTree.Api.Account.Basic.BasicAuthAuthenticationScheme, SourceTree.Api.Account.Basic",
"Name": "Basic",
"Description": "パスワード",
"HeaderValuePrefix": "Basic",
"UsernameIsRequired": true
},
"EmailHash": "$2b$11$wgr1TJNVKwiK/dQBd3HKm.NVByer8bInCjWi7BBWaUwM5rUoYX4l.",
"DisplayName": null,
"AvatarURL": null,
"Id": "入力したメールアドレス",
"Email": null
}
}
]
sourcetree.logの冒頭は以下のようでした。
ERROR [2019-02-05 13:14:36,949] [20] [Sourcetree.Analytics.Emau.EMauSubmissionService] [Log] - POST MAU submission FAILED
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: リモート サーバーがエラーを返しました: (407) プロキシ認証が必要です
場所 System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context)
場所 System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult ar)
Jeroen Wiert Pluimersさんのコメントにあるように、
Microsoft EdgeHTML 17.17134 でも試してみましたが、同様の現象が発生しました。
ただし、OAuth認証の次の画面はには成功のメッセージが全て表示されました。
SourceTree has been successfully authenticated. You may now close this page.
お手数をおかけしますが、ご確認をお願いいたします。
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ひとまずOAuth認証には成功するようになったとのこと、何よりでございます。
407エラーが返されているとのことで、次の投稿のDavid Hergertからのコメントに従い、.gitconfigファイルの [http]の箇所にアカウントとパスワードを設定してみていただけますでしょうか?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ご連絡ありがとうございます。
既にgitのglobalにproxyの設定をしておりました。
.gitconfigファイルに、ご提示いただいた設定がされていることを確認しました。
念のためインストールの手順を再度行いましたが、状態は変わりませんでした。
度々お手数をおかけしますが、ご確認をよろしくお願いいたします。
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ご確認が遅れまして申し訳ありません。
問題の切り分けのため、プロキシを使わないネットワークで一度お試しいただくことは可能でしょうか?
社内ネットワークをご利用の場合、ほかのユーザーの方がいらっしゃるようでしたら、その方とネットワーク設定の比較を行っていただくことも有用かと存じます。
どうぞよろしくお願いいたします。
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.