-
Improvement
-
Resolution: Unresolved
-
Minor
-
Jira 8.3.3
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.