Hi, I found couple of minor issues in QGIS Server 3.10 and wanted to make some test requests before posting issue, so it will be possible to replicate issue.
So I build QGIS master and tried Development server, which I think is really cool to try and test things. For building I used this parameters cmake -DWITH_SERVER=true -DWITH_GEOREFERENCER=false -DWITH_GRASS7=false .. and then sudo make install I can start development server. Output from start: uros@Mint19:~/dev/cpp/QGIS/build_master$ ./output/bin/qgis_mapserver qt5ct: using qt5ct plugin QGIS Development Server listening on http://localhost:8000 CTRL+C to exit 08:58:28 INFO Server[26649]: Qgis Server Settings: 08:58:28 INFO Server[26649]: - QGIS_OPTIONS_PATH / '' (Override the default path for user configuration): '' (read from DEFAULT_VALUE) 08:58:28 INFO Server[26649]: - QGIS_SERVER_PARALLEL_RENDERING / '/qgis/parallel_rendering' (Activate/Deactivate parallel rendering for WMS getMap request): 'false' (read from DEFAULT_VALUE) 08:58:28 INFO Server[26649]: - QGIS_SERVER_MAX_THREADS / '/qgis/max_threads' (Number of threads to use when parallel rendering is activated): '-1' (read from DEFAULT_VALUE) 08:58:28 INFO Server[26649]: - QGIS_SERVER_LOG_LEVEL / '' (Log level): '0' (read from ENVIRONMENT_VARIABLE) 08:58:28 INFO Server[26649]: - QGIS_SERVER_LOG_FILE / '' (Log file): '' (read from DEFAULT_VALUE) 08:58:28 INFO Server[26649]: - QGIS_SERVER_LOG_STDERR / '' (Activate/Deactivate logging to stderr): '1' (read from ENVIRONMENT_VARIABLE) 08:58:28 INFO Server[26649]: - QGIS_PROJECT_FILE / '' (QGIS project file): '' (read from DEFAULT_VALUE) 08:58:28 INFO Server[26649]: - MAX_CACHE_LAYERS / '' (Specify the maximum number of cached layers): '100' (read from DEFAULT_VALUE) 08:58:28 INFO Server[26649]: - QGIS_SERVER_CACHE_DIRECTORY / '/cache/directory' (Specify the cache directory): '/home/uros/.local/share/QGIS/QGIS3/profiles/default/cache' (read from DEFAULT_VALUE) 08:58:28 INFO Server[26649]: - QGIS_SERVER_CACHE_SIZE / '/cache/size' (Specify the cache size): '52428800' (read from DEFAULT_VALUE) 08:58:28 INFO Server[26649]: - QGIS_SERVER_SHOW_GROUP_SEPARATOR / '/locale/showGroupSeparator' (Show group (thousands) separator): 'false' (read from DEFAULT_VALUE) 08:58:28 INFO Server[26649]: - QGIS_SERVER_OVERRIDE_SYSTEM_LOCALE / '/locale/userLocale' (Override system locale): 'en_US' (read from INI_FILE) 08:58:28 INFO Server[26649]: - QGIS_SERVER_WMS_MAX_HEIGHT / '/qgis/max_wms_height' (Maximum height for a WMS request. The lower one of this and the project configuration is used.): '-1' (read from DEFAULT_VALUE) 08:58:28 INFO Server[26649]: - QGIS_SERVER_WMS_MAX_WIDTH / '/qgis/max_wms_width' (Maximum width for a WMS request. The most conservative between this and the project one is used): '-1' (read from DEFAULT_VALUE) 08:58:28 INFO Server[26649]: - QGIS_SERVER_API_RESOURCES_DIRECTORY / '/qgis/server_api_resources_directory' (Base directory where HTML templates and static assets (e.g. images, js and css files) are searched for): '/home/uros/dev/cpp/QGIS/build-master/output/share/qgis/resources/server/api' (read from DEFAULT_VALUE) 08:58:28 INFO Server[26649]: - QGIS_SERVER_API_WFS3_MAX_LIMIT / '/qgis/server_api_wfs3_max_limit' (Maximum value for "limit" in a features request, defaults to 10000): '10000' (read from DEFAULT_VALUE) 08:58:28 INFO Server[26649]: Ini file used to initialize settings: /home/uros/.local/share/QGIS/QGIS3/profiles/default/QGIS/QGIS3.ini 08:58:28 INFO Server[26649]: cacheDirectory: /home/uros/.local/share/QGIS/QGIS3/profiles/default/cache/ 08:58:28 INFO Server[26649]: maximumCacheSize: 52428800 08:58:28 INFO Server[26649]: Prefix PATH: /home/uros/dev/cpp/QGIS/build-master/output 08:58:28 INFO Server[26649]: Plugin PATH: /home/uros/dev/cpp/QGIS/build-master/output/lib/qgis/plugins 08:58:28 INFO Server[26649]: PkgData PATH: /home/uros/dev/cpp/QGIS/build-master/output/share/qgis 08:58:28 INFO Server[26649]: User DB PATH: /home/uros/.local/share/QGIS/QGIS3/profiles/default/qgis.db 08:58:28 INFO Server[26649]: Auth DB PATH: /home/uros/.local/share/QGIS/QGIS3/profiles/default/qgis-auth.db 08:58:28 INFO Server[26649]: SVG PATHS: /home/uros/dev/cpp/QGIS/build-master/output/share/qgis/svg/:/home/uros/.local/share/QGIS/QGIS3/profiles/default/svg/ 08:58:28 WARNING No Authentication Methods[26649]: No QGIS auth method plugins found in: /home/uros/dev/cpp/QGIS/build-master/output/lib/qgis/plugins No authentication methods can be used. Check your QGIS installation 08:58:28 INFO Server[26649]: Server initialized 08:58:28 INFO /home/uros/dev/cpp/QGIS/src/server/qgsserverplugins.cpp[26649]: load library /home/uros/dev/cpp/QGIS/build-master/output/lib/qgispython (3.13.0) 08:58:28 WARNING [26649]: Couldn't load Python support library: Cannot load library /home/uros/dev/cpp/QGIS/build-master/output/lib/qgispython: (/home/uros/dev/cpp/QGIS/build-master/output/lib/libqgispython.so: cannot open shared object file: No such file or directory) 08:58:28 INFO Server[26649]: No server python plugins are available Problem is when I send some requests, like: http://localhost:8000/?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities&MAP=/home/uros/dev/cpp/QGIS/tests/testdata/qgis_server_project/project.qgs Project is opened, but I get Service WMS is not registered. I know this is case sensitive, but it's actually whatever I give in SERVICE parameter is not registered. 08:59:34 INFO Server[26649]: MAP:/home/uros/dev/cpp/QGIS/tests/testdata/qgis_server_project/project.qgs 08:59:34 INFO Server[26649]: REQUEST:GetCapabilities 08:59:34 INFO Server[26649]: SERVICE:WMS 08:59:34 INFO Server[26649]: VERSION:1.3.0 Logged warning: Loading a file that was saved with an older version of qgis (saved in 3.2.0-Bonn, loaded in 3.13.0-Master). Problems may occur. 08:59:35 WARNING [26649]: Service WMS is not registered 08:59:35 WARNING Server[26649]: <ServiceExceptionReport xmlns=" http://www.opengis.net/ogc" version="1.3.0"> <ServiceException code="Service configuration error">Service unknown or unsupported</ServiceException> </ServiceExceptionReport> Any ideas what's wrong, something with my build? I will try now with standard QGIS Server setup and see if it's working. best regards Uroš
_______________________________________________ QGIS-Developer mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
