Confluence - HTTP Error when uploading file
Asked by Ricky LaFleur:

So, I created a page on Confluence and attached some files to it (.mp4 and pdf). Used some macros, and it all looks pretty good. Howewer, I was going to add a video file to it and its returing HTTP Error. I checked most of the articles and comuitiy answers but nothing seems to be working. Here is what I did:

- Increased Attachment Size from 100MB to 200MB and increased No. of attached files (No Changes).

- Checked server storage and realised I had about 2GB storage space on Win Server so added more there, rebooted it (No Changes)

- Tried adding video from different accounts and machines (Same Outcome)

- Name of the file Im trying to upload does not contain spaces and pescial characters.

Can someone shed some light?


Answers:
author: Vickey Palzor Lepcha
body: Did you check your log files ?

Looks like you are on server version - check the error log messages while you see the errors at front end.

comments: author: Ricky LaFleur
body: Hi, [@Vickey Palzor Lepcha](/t5/user/viewprofilepage/user-id/193910)

Here is the log:

\[2019-10-28 06:56:22,348\] 2019-10-28T05:56:22.348Z Component 'Operating System' alerted 'Low free disk space' (details: {"directory":"C:\\\\Program Files\\\\Atlassian\\\\Application Data\\\\Confluence","freeInMegabytes":4509,"totalInMegabytes":40457,"minimumInMegabytes":8192}, trigger: {"pluginKey": "not-detected"})

\[2019-10-28 06:56:22,348\] 2019-10-28T05:56:22.348Z Component 'Operating System' alerted 'Low free disk space' (details: {"directory":"C:\\\\Program Files\\\\Atlassian\\\\Application Data\\\\Confluence\\\\shared-home","freeInMegabytes":4509,"totalInMegabytes":40457,"minimumInMegabytes":8192}, trigger: {"pluginKey": "not-detected"})


author: Vickey Palzor Lepcha
body: Looking at error message - looks like a space issue to me .

Where did you exactly make additional disk spaces addition ? Hope it's where it's needed.


author: Ricky LaFleur
body: Thanks for your help Vickey.

Machine have one partition C: and I've allocated additional 20 GB. 40GB to 60GB of storage space.

The log above is acutally the one after allocating extra space. This is what puzzles me - "totalInMegabytes":40457

I acutally have 27GB of free space now.

Did disc scan and, as always, rebooted.


author: Vickey Palzor Lepcha
body: Hey can you check the error when you try to upload the video file ?

Can you recreate the task and error ?

I feel like your problem is not related to this error.


author: Vickey Palzor Lepcha
body: And confirming that your data/attachment is not configured to be stored elsewhere right ?


author: Vickey Palzor Lepcha
body: Also , is the upload automated ? if yes have you give all permissions to the id to perform upload in the required space/page


author: Ricky LaFleur
body: Turned out it was Request Filtering on service.

maxAllowedContentLength by default is 28.6MB

Select it on the IIS service, Edit Feature Settings and just add an extra 0 and it will raise it to 286MB.

![filtering request.png](https://community.atlassian.com/t5/image/serverpage/image-id/71256i8A667503457E29E3/image-dimensions/326x388?v=v2 "filtering request.png")

Confluence on WINDOWS Server 2016 Standard


author: Vickey Palzor Lepcha
body: Thanks - something for us too to learn .


Tags: confluence-server

server