patchman icon indicating copy to clipboard operation
patchman copied to clipboard

slow report upload

Open freedomwarrior opened this issue 5 months ago • 1 comments

Hello. When trying to upload report, I got timeout when curl sends data

Sending data to http://127.0.0.1/patchman with curl:
curl --insecure --connect-timeout 60 --max-time 600 -i -F host="patchman-server" -F tags="Server" -F kernel="5.15.0-143-generic" -F arch="x86_64" -F protocol="1" -F os="Ubuntu 22.04.5 LTS" -F report="false" -F packages=\</tmp/tmp.de7qoZWsdy -F repos=\</tmp/tmp.dMehOabOnQ -F sec_updates=\</tmp/tmp.aJ9bzYT6rj -F bug_updates=\</tmp/tmp.86lZNKoWHM -F modules=\</tmp/tmp.8tzoEM6ppq -F reboot="ServerCheck" http://127.0.0.1/patchman/reports/upload/
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 42766    0     0  100 42766      0    135  0:05:16  0:05:15  0:00:01     0

Upload speed slows down until it timeout.

freedomwarrior avatar Jul 16 '25 11:07 freedomwarrior

Is there any error in the webserver logs?

furlongm avatar Aug 06 '25 00:08 furlongm