Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-61149

Not able to upload ZIP file

    XMLWordPrintable

Details

    Description

      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. 

       

      Attachments

        Activity

          There are no comments yet on this issue.

          People

            nrayapati Naresh Rayapati
            incrediblelou Christian Louis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: