Latency upon opening the Projects option in Bitbucket

お困りですか?

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

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く

  

要約

When clicking on Projects, the progression circle (see image below) will show it for several seconds:


環境

  • Bitbucket 7+ version
  • No internet access from Bitbucket host

診断

The best way to diagnose the issue is to generate a HAR file from the page where it is slow to open. As soon as the page finished refreshing, the following error would show in the debug’s console view:

GET https://secure.gravatar.com/avatar/<<code>>.jpg?s=54&d=mm
net::ERR_NAME_NOT_RESOLVED

原因

The :ERR_NAME_NOT_RESOLVED error points to an issue coming out of the Gravatar website for all the requests that try to reach it. The server where Bitbucket runs has no Internet access, and thus cannot resolve it.

ソリューション

There are two options to solve the issue:

  • Enable internet access on the host
  • Disable the gravatar option by going to Administration → Avatar and unchecking Enable Gravatar support.

 When gravatar is disabled, any user avatar from Gravatar will not be shown on the instance anymore, and the default avatar will be shown instead. A user can however still upload a custom avatar to their account

最終更新日 2022 年 4 月 7 日

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

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