I am getting timeout while uploading large files in GeoNode ( System Configuration : GeoNode 3.1.0 , GeoServer 2.16.2 installed on Ubuntu 18.04. ).
I tried compressing large files to decrease their size (E.g. gdal_translate -of GTiff -co "COMPRESS=DEFLATE" -co "PREDICTOR=2" uncompressed.tiff compressed.tiff
), this helped for some cases only. But I have other files which are still large.
So I wish to increase the timeout. But, I could not find some exact reference which can guide me to increase the timeout for this scenario. While exploring geonode/geoserver settings, I found different timeout settings and tried to increase timeout period in different settings as follows:
Timeout increased in
/etc/nginx/nginx.conf
keepalive_timeout
increased to300
from65
Timeout increased in GeoNode UWSGI config (
/etc/uwsgi/apps-enabled/geonode.ini
)env = OGC_REQUEST_TIMEOUT
increaded to600
from60
.harakiri
increased to600
from300
Still timeout occurs while uploading large files. Is there some settings I am missing?