Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:
-
HD-Chapter:Security
-
HD-Enabler:Wilma
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
Field | Original Value | New Value |
---|---|---|
Component/s | FIWARE-TECH-HELP [ 10278 ] |
Assignee | Alvaro Alonso [ aalonsog ] |
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 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Answered [ 10104 ] |
Resolution | Done [ 10000 ] | |
Status | Answered [ 10104 ] | Closed [ 6 ] |
Fix Version/s | 2021 [ 12600 ] |
Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
---|---|---|---|---|---|---|---|---|---|
|
2d 19h 8m | 1 | Fernando Lopez | 25/May/17 10:13 AM | |||||
|
2s | 1 | Fernando Lopez | 25/May/17 10:13 AM | |||||
|
1s | 1 | Fernando Lopez | 25/May/17 10:13 AM |
2017-05-22 15:06|CREATED monitor | # answers= 0, accepted answer= False