Cannot attach file ****.pdf: Unknown server error (413).

Hi

Plugin unable to attach file to the project if file size larger than 1 MB.

The limit is set to 20 MB.

What's can be wrong?

9 answers

1 accepted

That was our fault - the problem is in nginx configuration.

While you didn't post the answer here, I assume that it was simply setting client_max_body_size in your nginx config. That certainly solved things for us.

We had the same problem when we moved the system from Windows to Centos with nginx, to resolve it just edit your nginx.conf file which should be somewhere here:

/etc/nginx/nginx.conf

In the http section add the client max body size

client_max_body_size 10M;

If you have more websites running, you can also add this in your jira conf or confluence config file.

Regards

Can you post the exception details?

How/where can I get exception details?

log/atlassian-jira.log does not contain any similar to plugin exception information.

may be the log from the tomcat logs directory /<jira-installation-dir>/logs. You will find a lot of logs there like access.log, etc

Could it be possible that a network applicance or proxy server could be throwing the 413? Can you verify the presence of either of those? Could yo hit the machine via localhost direct to port and try the same operation?

Hi Alexandr!

Please report this on the Bitbucket repository of Documents:

https://bitbucket.org/StonikByte/documents-add-on/issues?status=new&status=open

Then someone from support will get in touch with you.

Thank you,

Danut.

access.log does not contain any plugin exception info

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

Meet the AUG leaders of Northern Virginia

@Rachel Wright (Jira Genie), @Billy Poggi (AUG NOVA, DC), and @Dana Jansen (Confluence Queen) are just some of the folks that lead one of the world's most active Atlassian User Group (AUG)....

121 views 4 9
Read article

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