3liz / lizmap-web-client

Transfer a QGIS project on a server, Lizmap is providing the web interface to browse it
https://www.lizmap.com
Mozilla Public License 2.0
257 stars 143 forks source link

[Bug]: layer from wfs source via https doesn't work #4909

Open josemvm opened 3 days ago

josemvm commented 3 days ago

What is the bug? (in English)

imagem

Steps to reproduce the issue

try to add a layer from wfs source

Versions, safeguards, check summary etc

Versions :

List of Lizmap Web Client modules :
* multiauth : 1.2.2
List of safeguards :
* Mode : normal * Allow parent folder : no * Prevent other drive : no * Prevent PG service : no * Prevent PG Auth DB : no * Force PG user&pass : no * Prevent ECW : no

Check Lizmap plugin

Operating system

Ubuntu 22.04

Browsers

Firefox

Browsers version

131.0.3

Relevant log output

qgis server logs:

13:24:53 WARNING Server[225942]: Error parsing post data as XML: at line 1, column 1: error occurred while parsing element. Assuming urlencoded query string sent in the post body.

13:24:53 INFO WfsOutputExtension[225942]: requestReady ran in 0.0s
Gustry commented 3 days ago

@josemvm I do not replicate the issue, it works for me.

I'm adding a WFS layer, using https in #4910

Is your WFS layer quick enough ? It depends on your QGIS Server settings. Is your layer visible in the map ?

josemvm commented 3 days ago

@Gustry

Is your WFS layer quick enough ?

not very very quickly but it visible in the map on qgis desktop (not in lwc) and i can work as well with it

It depends on your QGIS Server settings

what kind of settings in qgis server

i will test https://github.com/3liz/lizmap-web-client/pull/4910 and if you want to test my layer I can provide the url as it is open data

Gustry commented 3 days ago

There is nothing to test in #4910. It was just to add test data.

We got sometimes the issue about the SSL handshake being written in a SQLite from QGIS, where QGIS server didn't get write permissions on this file. You should check QGIS Server logs if there is kind of data. What is the error in LWC about this blank tiles ? or logs in QGIS server during this request ?