New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QGIS Server 3.4 on Windows: Error tranferring #28290
Comments
Author Name: Giovanni Manghi (@gioman) On Windows the URL is like https://localhost/cgi-bin/qgis_mapserv.exe but for 2.18 installations with osgeo4w also "cgi-bin" was not used, instead was something like https://localhost/qgis-ltr/qgis_mapserv.exe also probably you don't want to use "https" but "http".
|
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Uroš Preložnik (@uprel) First you need to check your URL how you call QGIS Server and try with capabilities request. Like Giovanni wrote, on Windows URL is different. http://localhost/cgi-bin/qgis_mapserv.fcgi.exe?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities If you receive Page not Found (404), something is wrong with your Apache configuration. Repeat setup: |
Author Name: Louis Leguan (@hmoenk) I am now able to request the capabilities of the Service in the Browser. However. When trying to add the WMS to QGIS (http://localhost/cgi-bin/qgis_mapserv.fcgi.exe), the connection is loaded showing the correct name of the instance. The Problem of the layers still occur. This means that the name of the layer is empty and when adding it to the map the very same error is shown: For the connection of the DB I have saved the password and user within the project. |
Author Name: Giovanni Manghi (@gioman) Louis Leguan wrote:
aren't you missing the "map" parameter? |
Author Name: Louis Leguan (@hmoenk) I have tried different URL's like: http://localhost/cgi-bin/qgis_mapserv.fcgi.exe?request=getcapabilities&service=WMS&version=1.1.1. The layer is still not shown and the same error occurs.. |
Author Name: Alessandro Pasotti (@elpaso)
|
Author Name: Giovanni Manghi (@gioman)
not that is not completely true: unless your project file is exactly in the same folder where the qgis_mapserv.fcgi executable is then you must specify the map parameter map=/path/to/project.qgs |
Author Name: Giovanni Manghi (@gioman) Giovanni Manghi wrote:
anyway there is another ticket about qgis server 3.4.4 on Windows that states that the program is broken, so this ticket may just be duplicate of it. |
Author Name: Giovanni Manghi (@gioman) Louis Leguan wrote:
We tested QGIS Server on Windows a couple of days ago and is ok, see: https://issues.qgis.org/issues/20873#note-7
|
This can be close based on last comment Louis Leguan ?
|
it is also my observation that at the moment it works ok. |
Author Name: Louis Leguan (@hmoenk)
Original Redmine Issue: 20470
Affected QGIS version: 3.4.0
Redmine category:qgis_server
Hey,
I have just installed OsGeoaW version 3.4 and I am not able to publish WMS.
The Layer itself in QGIS show the error: 'Capabilities request failed' (CapabilitiesError.png) and shows the error 'transferring http://...' (ErrorTransferring.png).
Within the properties of the QGIS Server, the initial test does not show any errors (QGISStart.png).
Also the url https://localhost/cgi-bin/qgis_mapserv? show 'object not found' (mapserv.fcgi.png).
Is this a problem of the new version?
The text was updated successfully, but these errors were encountered: