Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Error during attachment uploading

Sergey Bunatyan May 27, 2012

Hello.
I'm using XML-RPC to upload attachments into Confluence. The API version is 1 and the Confluence version is 3.5.13.
So, in case of uploading file with size ~30Mb (or greater) I get the error mesage "<ProtocolError for mysite.com/rpc/xmlrpc: 500 Internal Server Error>".
Files with size less than ~30Mb updload succesfully. If I upload big (>30Mb) files using web interface - there is no problem too.
The Attachment Maximum Size parameter is set to 191,20 MB.
I,m using Python 2.7 and the API method server.confluence1.addAttachment (like here https://confluence.atlassian.com/display/DISC/Upload+attachment+via+Python+XML-RPC)
So, why do I get this error and how can I solve my problem?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Renjith Pillai
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.
May 28, 2012

Just a guess, you may need to increase the timeout at the client side.

Or use the CLI with addAttachment option and do an experiment whether it works.

Sergey Bunatyan May 28, 2012

Just a guess, you may need to increase the timeout at the client side.

You're right, that was my problem. Thank you.

TAGS
AUG Leaders

Atlassian Community Events