Hi Reginald,

There is an issue (bug) in QGIS server 3.4.x  - that you cannot yet request a top layer (I mean the one top layer coming from the project). Instead you have to request a group or leaf layer.

A fix for that is coming soon - but perhaps you ran into this issue.

As to debugging: have you looked into the QGIS server log file? See https://docs.qgis.org/testing/en/docs/user_manual/working_with_ogc/server/config.html#logging - if you choose log level 0, you should get a lot of information - see also https://docs.qgis.org/testing/en/docs/user_manual/working_with_ogc/server/config.html#qgis-server-log-level

Greetings,

Andreas

Am 16.01.19 um 09:11 schrieb Reginald:
Hello,

When I try to make a new project for qgis server in QGIS 3.4.3 I get
following error:

  Opvragen kaart mislukt [Fout: Error transferring
http://localhost/cgi-bin/qgis_mapserv.fcgi.exe?MAP=Projecten/Zoneringsplan/vmm.qgz&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=63863.5,174278,78357.30000000000291,185638&CRS=EPSG:31370&WIDTH=120&HEIGHT=120&LAYERS=vmm&STYLES=&FORMAT=image/jpeg&DPI=120&MAP_RESOLUTION=120&FORMAT_OPTIONS=dpi:120
- server replied: Bad Request; URL:
http://localhost/cgi-bin/qgis_mapserv.fcgi.exe?MAP=Projecten/Zoneringsplan/vmm.qgz&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=63863.5,174278,78357.30000000000291,185638&CRS=EPSG:31370&WIDTH=120&HEIGHT=120&LAYERS=vmm&STYLES=&FORMAT=image/jpeg&DPI=120&MAP_RESOLUTION=120&FORMAT_OPTIONS=dpi:120]

Older projects made with a previous QGIS version still work as expected.
Has something changed in the way that webservices should be made?
I tried making a service with spatialite layers and with postgis layers but
no succes on QGIS 3.4.3.
How can I debug the service? When I use 'test configuration' everything is
fine.

Regards,




--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to