Closed tomaszmrugalski closed 2 years ago
I found this in the nginx-error.log file:
2021/12/23 00:49:21 [error] 350833#350833: *1 client intended to send too large body: 1859243 bytes, client: 2001:470:X:Y:Z:W, server: svarog.space, request: "POST /receive HTTP/1.1", host: "svarog.space"
Maybe there's something wrong with the submitobs.py script?
This was solved as nginx misconfiguration. I needed to add: client_max_body_size 5M;
to the nginx configuration. Will update the docs later.
I'm trying to upload an observation:
python3 submitobs.py ~/radio/data/noaa-18.png "NOAA 18" "2021-11-27 21:35:00" "2021-11-27 21:37:00" "2021-11-27 21:39:00" '{ "antenna": "3D corner", "antenna-type": "corner", "receiver": "RTL-SDR v3", "lna": "none", "filter": "none", "frequency": 137912500 }'
This results in the following error: