[Lizmap] Can't open a map with WMS in it.

DAUCE Antoine a.dauce at audelor.com
Tue Oct 29 09:35:45 PDT 2019


Hi,
I'm new on a lizmap server administration.
The one I have to maintain is on the folowing configuration :
- Linux
- QGIS-SERVER : 3.4.12
- LIZMAP-WEB-CLIENT : 3.4pre.190808

Since QGIS-SERVER and LIZMAP-WEB-CLIENT have been updated, it's not possible to open a map with a WMS layer in it anymore.
Every time we try to open such map it's loading continuously.

Here is below what I found in the different logs files :

# Logs from lizmap client administration

2019-10-28 16:41:54    194.250.123.209    warning    2019-10-28 16:41:54    [2]    file_get_contents(http://127.0.0.1:8200?service=WMS&request=GetCapabilitiesAtlas&map=mymap%2Eqgs): failed to open stream: HTTP request failed! HTTP/1.1 504 Gateway Time-out
    /srv/lizmap-web-client/lizmap/modules/lizmap/classes/lizmapProxy.class.php    236

# Logs NGINX "error.log"

2019/10/28 16:41:54 [error] 1675#1675: *7760 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 10.128.153.9, server: myserver, request: "GET /index.php/lizmap/service/getProjectConfig?repository=1&project=myproject HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.2-fpm.sock", host: "myserver", referrer: "https://myserver/index.php/view/map/?repository=1&project=myproject"

# Logs NGINX "qgis.access"

127.0.0.1 - - [28/Oct/2019:16:41:54 +0100] "GET /?service=WMS&request=GetCapabilitiesAtlas&map=mymap%2Eqgs HTTP/1.1" 504 192 "-" "Lizmap"

# Logs NGINX "qgis.error"

2019/10/28 16:41:54 [error] 1675#1675: *7769 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: qgis, request: "GET /?service=WMS&request=GetCapabilitiesAtlas&map=mymap%2Eqgs HTTP/1.1", upstream: "fastcgi://127.0.0.1:7200", host: "127.0.0.1:8200"

# Logs QGIS "qgis-server.log"

16:41:54 WARNING WMS[1837]: Download of capabilities failed: Operation canceled
16:41:54 WARNING Network[1837]: Network request https://tile.geobretagne.fr/gwc02/service/wms?tiled=true&SERVICE=WMS&REQUEST=GetCapabilities timed out

I tried several WMS server and it's always the same behavior.

So my server is unable to access WMS url and I don't know how to fix it. If anyone could help me.

Antoine (Lorient, France)



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/lizmap/attachments/20191029/aefe621a/attachment.html>


More information about the Lizmap mailing list