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

Alexandr Dorogikh January 30, 2013

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

2 votes
Answer accepted
Alexandr Dorogikh February 3, 2013

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

Scott Reynolds April 9, 2013

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.

2 votes
Gabriel Ajabahian January 10, 2014

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

0 votes
Alexandr Dorogikh January 31, 2013
0 votes
Alexandr Dorogikh January 31, 2013

access.log does not contain any plugin exception info

0 votes
Danut M _StonikByte_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 30, 2013

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.

0 votes
twong_atlassian
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 30, 2013

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?

Alexandr Dorogikh January 31, 2013

I am about this

0 votes
Luis Mayora
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 30, 2013

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

0 votes
Alexandr Dorogikh January 30, 2013

How/where can I get exception details?

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

0 votes
Luis Mayora
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 30, 2013

Can you post the exception details?

Suggest an answer

Log in or Sign up to answer