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

        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        fla Fernando Lopez made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        fla Fernando Lopez made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        fla Fernando Lopez made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        fla Fernando Lopez made changes -
        HD-Enabler Wilma [ 10890 ]
        Description
        Created question in FIWARE Q/A platform on 25-11-2015 at 13:11
        {color: red}Please, ANSWER this question AT{color} 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?
        Created question in FIWARE Q/A platform on 25-11-2015 at 13:11
        {color: red}Please, ANSWER this question AT{color} 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?
        HD-Chapter Security [ 10841 ]
        fla Fernando Lopez made changes -
        Assignee Alvaro Alonso [ aalonsog ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        backlogmanager Backlog Manager created issue -

          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: