Hello,
Everytime I trying to upload image to the page I editing, getting an error "HTTP Error" with no any codes, numbers or exceptions.
I've tried to disable all the add-ons using Safe Mode, it doesn't help. And no information regarding the trouble in log files as well.
Please, advise how to troubleshoot and resolve this.
Confluence works under nginx frontend and client_max_body_size has been set correctly.
Thank you
Hi there,
Have you seen any messages show up in your Confluence logs? Is this for any image at all? Do you happen to be behind a proxy?
Regards,
Shannon
Hi, Shannon. I was watching to the log files. There is nothing regarding the upload error. It happens with any image and files I trying to upload.
Yes, Confluence works behind a proxy, nginx and it has been set with all the requirements as I mentioned above.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you!
Can you check your Network tab in Chrome's Developer Tools? This user had the same issue and discovered an error there which allowed him to correct the issue in his NGINX configuration.
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you, I got the reason.
To set the following is not enough: client_max_body_size Nm;
where N is a count in a megabytes.
I've added to the http section of nginx.conf the following:
client_body_timeout 300s;
client_body_in_file_only clean;
client_body_buffer_size 16K;
client_body_temp_path /path_to_tmp;
After this changes it became work properly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Happy to hear that you were able to find the cause!
If you'd like you can share your resolution as a new answer, under Suggest an answer and I can accept it as the right answer and mark the case as resolved.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.