User avatar image breaks when running behind a Load Balancer/Reverse Proxy

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

The user avatar is broken for users that are using the default avatar ():

List of related issues:

Environment

Confluence running behind a Reverse Proxy/Load Balancer.

Diagnosis

The default avatar that Confluence uses is a .svg image stored locally o<confluence-install>/confluence/images/icons/profilepics/default.svg. To see if Confluence can reach the image, try accessing the image URL:

http://<confluence-URL>/images/icons/profilepics/default.svg

If the URL can be accessed, the browser will display the default.svg image.

Cause

If the URL can not be accessed and no image is being displayed, then it's possible that the Load Balancer/Reverse Proxy is blocking it.

Solution

Make sure the Load Balancer/Reverse Proxy is properly set. Here are some useful articles documenting the configuration of NGINX and Apache as Reverse Proxies:


Last modified on Jan 20, 2021

Was this helpful?

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