Sometimes, only 2 of the 3 attempts to send a zip file succeed
InfoLibre opened this issue · comments
For example, the third attempt send no file :
$ sudo -H /usr/local/bin/pombo.py
[sudo] Mot de passe de david :
Retrieving IP address from infolib.re
Checking status on infolib.re
Computer *does not* appear to be stolen.
IP has changed.
* Attempt 1/3 *
Filename: Ordinateur-David_20200224_211359
Collecting system info
STDERR: docker0 Interface doesn't support scanning.
eno1 Interface doesn't support scanning.
lo Interface doesn't support scanning.
Taking screenshot
Skipping webcamshot.
Zipping files
Skipping encryption (bad, Bad, BAD ...)
Sending file (514.7 KiB) to infolib.re
* Attempt 2/3 *
Filename: Ordinateur-David_20200224_211859
Collecting system info
STDERR: docker0 Interface doesn't support scanning.
eno1 Interface doesn't support scanning.
lo Interface doesn't support scanning.
Taking screenshot
Skipping webcamshot.
Zipping files
Skipping encryption (bad, Bad, BAD ...)
Sending file (456.8 KiB) to infolib.re
* Attempt 3/3 *
Filename: Ordinateur-David_20200224_212359
Collecting system info
STDERR: docker0 Interface doesn't support scanning.
eno1 Interface doesn't support scanning.
lo Interface doesn't support scanning.
Taking screenshot
Skipping webcamshot.
Zipping files
Skipping encryption (bad, Bad, BAD ...)
Sending file (2.8 MiB) to infolib.re
What's strange too is the size of the file for the last attempt : 2.8 MiB on the debug message, but 350 Ko for the 2 others
The last : Ordinateur-David_20200224_212359 is missing on the server.
Can you access to the server log file? Maybe is there an error while doing the upload?
At this time, I've got only one request for Pombo :
7.75.79.17 - - [24/Feb/2020:21:23:50 +0100] "GET /storage/files/images/systeme-3.png HTTP/1.1" 304 - "-" "Mozilla/5.0 (compatible; SeznamBot/3.2; +http://napoveda.seznam.cz/en/seznambot-intro/)"
83.196.20.2 - - [24/Feb/2020:21:24:02 +0100] "POST /pombo/david/index.php HTTP/1.1" 404 781 "-" "python-requests/2.18.4"
207.46.13.65 - - [24/Feb/2020:21:24:26 +0100] "GET /blog/tag/erp/ HTTP/1.1" 200 8135 "-" "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)"
Hm the POST call had a 404 error. It seems weird given that other calls worked.
I will have a look tomorrow.
Perhaps a timeout due to my server ? If you want to test with my server, I can give you a FTP access.