Latency upon opening the Projects option in Bitbucket

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

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.

*Except Fisheye and Crucible

  

Summary

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


Environment

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

Diagnosis

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

Cause

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.

Solution

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

Last modified on Apr 7, 2022

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.