Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-8765

[fiware-stackoverflow] Fiware pep-proxy: Uploaded zip file's size changes when uploaded with PEP standing between client and REST API

    Details

      Description

      Created question in FIWARE Q/A platform on 25-11-2015 at 13:11
      Please, ANSWER this question AT https://stackoverflow.com/questions/33917143/fiware-pep-proxy-uploaded-zip-files-size-changes-when-uploaded-with-pep-standi

      Question:
      Fiware pep-proxy: Uploaded zip file's size changes when uploaded with PEP standing between client and REST API

      Description:
      I created REST web service using DjangoRestFramework that accepts some inputs and a zip file.
      When i don't use PEP Proxy as a gateway between client(javascript app) and this web service, there are no problems, all data including zipped file are correct. But when I put PEP Proxy in the middle, my zip file size increases about 30MB and i get corrupted zip file, and the other data is ok.
      Error message:

      Zip file size: 73106015 bytes, number of entries: 1
      error [/tmp/tmp1_GLtj.upload]: missing 3949084193 bytes in zipfile
      (attempting to process anyway)
      error [/tmp/tmp1_GLtj.upload]: start of central directory not found;
      zipfile corrupt.
      (please check that you have transferred or created the zipfile in the
      appropriate BINARY mode and that you have compiled UnZip properly)

      And real size of this file is 39055691 bytes.
      How can PEP proxy change file that is being uploaded?

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2017-05-22 15:06|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2017-05-22 15:06|CREATED monitor | # answers= 0, accepted answer= False

          People

          • Assignee:
            aalonsog Alvaro Alonso
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: