Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-45545

Unable to create a space XML export when attachments size is large

XMLWordPrintable

      NOTE: This bug report is for Confluence Cloud. Using Confluence Server? See the corresponding bug report.

      Summary

      Spaces with large attachments (around 9GB) may not be exportable to XML, due to a filestore upload failure.

      Steps to Reproduce

      1. Create a space and attach about 9GB worth of attachments to it

      Expected Results

      Space can be exported after some time

      Actual Results

      The export appears to be "stuck" after 90+%, but it is actually still running in the background

      The below exception is thrown in the log after a few hours or so:

      @40000000584f67a4209acb4c 2016-12-12 19:14:34,546 WARN [Caesium-1-4] [confluence.importexport.impl.FilestoreTemporaryFileUploaderImpl] upload Failed to upload application/zip file to filestore. Failure: Failure{cause=org.apache.http.client.ClientProtocolException, reason=TRANSPORT_ERROR, message='null', httpStatusCode=null}
      @40000000584f67a80c76a6a4 2016-12-12 19:14:38,207 ERROR [Caesium-1-4] [confluence.importexport.actions.ExportSpaceRunner] lambda$executeTask$0 Error during export
      @40000000584f67a80c76aa8c com.atlassian.confluence.importexport.ImportExportException: com.atlassian.confluence.importexport.ImportExportException: com.atlassian.confluence.importexport.ImportExportException: Failed to upload application/zip file to filestore. Failure: Failure{cause=org.apache.http.client.ClientProtocolException, reason=TRANSPORT_ERROR, message='null', httpStatusCode=null}
      @40000000584f67a80c76cdb4       at com.atlassian.confluence.importexport.impl.FileXmlExporter.doExportInternal(FileXmlExporter.java:91)
      @40000000584f67a80c76d584       at com.atlassian.confluence.importexport.impl.FileXmlExporter.doExport(FileXmlExporter.java:59)
      @40000000584f67a80c76d584       at com.atlassian.confluence.importexport.impl.XmlExporter.doExport(XmlExporter.java:69)
      @40000000584f67a80c76d96c       at com.atlassian.confluence.importexport.DefaultImportExportManager.doExport(DefaultImportExportManager.java:139)
      @40000000584f67a80c76d96c       at com.atlassian.confluence.importexport.DefaultImportExportManager.exportAs(DefaultImportExportManager.java:104)
      @40000000584f67a80c76e90c       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      @40000000584f67a80c76e90c       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      @40000000584f67a80c76ecf4       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      @40000000584f67a80c76ecf4       at java.lang.reflect.Method.invoke(Method.java:498)
      ...
      ...
      @40000000584f67a80c7798d4 Caused by: com.atlassian.confluence.importexport.ImportExportException: com.atlassian.confluence.importexport.ImportExportException: Failed to upload application/zip file to filestore. Failure: Failure{cause=org.apache.http.client.ClientProtocolException, reason=TRANSPORT_ERROR, message='null', httpStatusCode=null}
      @40000000584f67a80c77a48c       at com.atlassian.confluence.importexport.impl.FilestoreTemporaryFileUploaderImpl.upload(FilestoreTemporaryFileUploaderImpl.java:49)
      @40000000584f67a80c77b044       at com.atlassian.confluence.importexport.impl.FileXmlExporter.doExportInternal(FileXmlExporter.java:89)
      @40000000584f67a80c77b42c       ... 48 more
      @40000000584f67a80c77b42c Caused by: com.atlassian.confluence.importexport.ImportExportException: Failed to upload application/zip file to filestore. Failure: Failure{cause=org.apache.http.client.ClientProtocolException, reason=TRANSPORT_ERROR, message='null', httpStatusCode=null}
      @40000000584f67a80c77c3cc       at com.atlassian.confluence.importexport.impl.FilestoreTemporaryFileUploaderImpl.upload(FilestoreTemporaryFileUploaderImpl.java:45)
      @40000000584f67a80c77c7b4       ... 49 more
      

      Workaround

      Contact Atlassian Support to obtain the export from the temp directory of your instance

              Unassigned Unassigned
              fsim Foo Sim (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: