Getting HTTP Error, when uploading a file

I'm uploading a file of 1.5MB in size with 10MB attachment size limit in Confluence settings. Upload fails with HTTP Error message under upload progress bar.

File itself is JPG file with wrong header information (see attachment).

2 answers

1 accepted

This widget could not be displayed.

The problem lied in server configuration where Confluence was installed.

We use nginx as a proxy to transfer requests from virtualhost to actual TomCat post of Confluence. After inspecting Network tab of Chrome browser during upload HTTP 413: Entity Too Large error was discovered, that was coming in from Nginx.

After a bit of Googling solution was found: increase size of "client_max_body_size" setting in Nginx configuration.

This widget could not be displayed.

Hello Dmitry,

To better understand what is exactly happening with your instance and better help you I would suggest you to raise a support ticket at our and attach to the ticket your 'atlassian-confluence.log' and a screenshot of this behaviour.

Best Regards,


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

602 views 8 6
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you