Bug report #5081
QGIS server raster problem
|Category:||Web Services clients/WMS|
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||14847|
I was successful to setup a qgis server project, using qgis desktop cgi script, and I can display & query data on qgis web client. Everything works fine with shapefile and database connection, but as soon as I add a raster (geotiff) the WMS server returns NetworkError: 500 Internal Server Error.
If I remove the raster layer everything keeps working fine.
Am I missing anything? Any suggestion or help?
#1 Updated by Thomas Arnold over 9 years ago
try to change the FcgidIOTimeout parameter (is a fastcgi modul parameter; see http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html#fcgidiotimeout). If you use a lot of raster data the default value is to short for the cgi script to calculate the map. In windows I have insert in httpd.d/httpd_qgis.conf this code (I use fastcgi):
But complex raster data needs a lot of time (and memory) to load.
I hope that can help you