[JIRA] (JENKINS-61149) Not able to upload ZIP file

4 views
Skip to first unread message

c.louis@mail.de (JIRA)

unread,
Feb 19, 2020, 9:06:03 AM2/19/20
to jenkinsc...@googlegroups.com
Christian Louis created an issue
 
Jenkins / Improvement JENKINS-61149
Not able to upload ZIP file
Issue Type: Improvement Improvement
Assignee: Naresh Rayapati
Components: jira-steps-plugin
Created: 2020-02-19 14:05
Environment: Jira 8.3.3
Priority: Minor Minor
Reporter: Christian Louis

I am not able to upload ZIPs or other archived files with jiraUploadAttachment-Step.

There is always an internal error on the server side.

 

Error Message: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><status><status-code>500</status-code><message>org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. java.net.SocketTimeoutException</message><stack-trace>java.lang.RuntimeException: org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. 
[..]
</stack-trace></status>

 

After manually trying to upload a ZIP via the REST-API, I found out that the issue seems to be  the used Content-Type header. If I used  "multipart/form-data" content type as mentioned in the Jira REST-API, I got the same issue, but when I used "application/octet-stream", the ZIP was uploaded. 

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

c.louis@mail.de (JIRA)

unread,
Feb 19, 2020, 9:22:02 AM2/19/20
to jenkinsc...@googlegroups.com
Christian Louis updated an issue
Change By: Christian Louis
Labels: jira-steps-plugin-1.5.3
Reply all
Reply to author
Forward
0 new messages