Latency upon opening the Projects option in Bitbucket
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the server and data center platforms.
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
Was this helpful?Yes Provide feedback about this article