Bitbucket のスマート ミラーリングのトラブルシューティング
スマート ミラーリングは廃止予定
2021 年 4 月 21 日以降、Bitbucket Cloud のスマート ミラーリングは新規インストールができなくなります。既存のインストールはこれまでどおり機能しますが、この機能は今後サポートされなくなります。
This page describes how to identify and solve problems you may have with Bitbucket Cloud Smart Mirroring: For further reference, read the Bitbucket Data Center FAQ.
一般的な接続エラー
以下の表は、Bitbucket Cloud とスマート ミラーの通信に影響する可能性がある基本的な問題の一覧です。
考えられる原因 | 可能な処置 |
|---|---|
ミラー サーバーが稼動していない。 |
|
ミラー サーバーがネットワークに接続されていない。 |
|
ホスト アドレスとポートの特定の組み合わせを使用する接続が、ファイアウォールまたはその他のネットワーク デバイスによってブロックされている。 | Bitbucket からの送信コールは、ミラーの受信コールとなります。同様に、ミラーからの送信コールは Bitbucket の受信コールとなります。両方が機能する必要があります。両方が機能する必要があります。
|
接続に使用されているプロトコルが誤っている (例: HTTPS ではなく HTTP を使用している)。 |
server.port=7990
server.proxy-name=<mycompany.com>
server.secure=true
server.scheme=https
server.proxy-port=443See Bitbucket Data Center config properties for more information. |
ミラー アプリケーションが実行しているが、Bitbucket Cloud が接続しようとしているポートでリッスンしていない。 |
一般的な SSL エラー
SSL 証明書は、次の最小要件を満たす必要があります。
証明書のコモン ネーム (CN) は、アプリケーションのホスト名 (URL アドレス) と一致している必要があります。
証明書のタイムスタンプは引き続き有効である必要があります。
The certificate must be installed into the correct Java trust store (Bitbucket Data Center is a Java application that bundles the Tomcat application server). To check that certificates are present in the Java trust store see Check the SSL certificate location.
Make sure that your key and certificate are correctly configured in either the mirror or your HTTPS proxy. See See of the options in Securing a reverse proxy using HTTPS for SSL configuration details.
To see details of a certificate, visit the application in your browser and click the padlock in the browser address bar. You can also check SSL certificate details online (for example using https://www.digicert.com/help/).
ブラウザの一般的な問題
状況によっては、次のように、ミラー管理 UI を使用すると問題が発生することがあります。
プロジェクトを追加または削除すると、ミラーが一部のプロジェクトを追加できず、ページを更新してプロジェクトを再度追加するように求めるエラー メッセージが表示されます。
ミラー サポート ツールを使用しようとすると、ログインしていないこと、このツールの使用を継続するためにはログインが必要なことを通知するエラー メッセージが表示されます。
Both of these problems can occur if your browser does not allow third-party cookies. The workaround is to enable third-party cookies – see BSERV-8558 for details.
有効な HTTPS 構成がない
Your mirror must be configured for HTTPS access in order to use a mirror instance. See Proxying and securing Bitbucket Data Center for more information.
If appropriate, see Setting up SSH port forwarding.
ミラー ベース URL が誤って設定されている
プロパティ
Mirror base URLは一度だけ設定できます。これは、Bitbucket Data Center を初めて起動したときに実行するウィザードによって設定されます。構成に誤りがある場合や、変更が必要な場合は、ミラーを削除して再度設定する必要があります。
不明な公開キー
Bitbucket ミラーからクローンやプルを行うと、ターミナルで次のようなエラー メッセージが表示されることがあります。
Cloning into 'local-repo'...
Permission denied (publickey).
fatal: Could not read from remote repository.考えられる原因 | 実行可能な対応策 |
|---|---|
公開キーがない |
|
サポートされていない SSH キー タイプ |
|
この内容はお役に立ちましたか?