<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Marco,<br>
<br>
Which QGIS Server version ?<br>
Are the XYZ services HTTPS ?<br>
Do you have a proxy for the server ?<br>
Can you made some curl request on the server and access a tile ?<br>
<br>
Regards,<br>
<br>
<div class="moz-cite-prefix">Le 14/03/2019 à 10:46, Marco Barbieri a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CAPV-QG_VMj8tkpDm9gMyWpCEYo-+bE7J8rT-xZFOK-uKMOVG3g@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">
<div>I have a project in QGIS desktop with 3 XYZ Tiles base
maps. Everything works fine.</div>
<div><br>
</div>
<div>I use the same .qgs project on QGIS server and only one
base map works with GetMap request.</div>
<div><br>
</div>
<div>The following are my requests to the server. The first
request shows OpenStreetMap base map:</div>
<div><br>
</div>
<div><a
href="http://qgs.webmapp.it/cgi-bin/test/qgis_mapserv.fcgi?MAP=/usr/lib/cgi-bin/test/xyz_tiles.qgs&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=1174461,5729736,1175761,5731386&CRS=EPSG:3857&WIDTH=491&HEIGHT=624&LAYERS=OpenStreetMap&FORMAT=image/png"
moz-do-not-send="true">http://qgs.webmapp.it/cgi-bin/test/qgis_mapserv.fcgi?MAP=/usr/lib/cgi-bin/test/xyz_tiles.qgs&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=1174461,5729736,1175761,5731386&CRS=EPSG:3857&WIDTH=491&HEIGHT=624&LAYERS=OpenStreetMap&FORMAT=image/png</a></div>
<div><br>
</div>
<div>This request should show the "WebMapp_Tiles" base map,
but doesn't work (white background):</div>
<div><br>
</div>
<div><a
href="http://qgs.webmapp.it/cgi-bin/test/qgis_mapserv.fcgi?MAP=/usr/lib/cgi-bin/test/xyz_tiles.qgs&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=1174461,5729736,1175761,5731386&CRS=EPSG:3857&WIDTH=491&HEIGHT=624&LAYERS=WebMapp_Tiles&FORMAT=image/png"
moz-do-not-send="true">http://qgs.webmapp.it/cgi-bin/test/qgis_mapserv.fcgi?MAP=/usr/lib/cgi-bin/test/xyz_tiles.qgs&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=1174461,5729736,1175761,5731386&CRS=EPSG:3857&WIDTH=491&HEIGHT=624&LAYERS=WebMapp_Tiles&FORMAT=image/png</a></div>
<div><br>
</div>
<div>Thanks.</div>
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr"><font color="#666666"><b>Marco
Barbieri / </b><span
style="font-size:12.8px">Cartografo</span></font>
<div><a href="mailto:marcobarbieri@webmapp.it"
style="font-size:12.8px" target="_blank"
moz-do-not-send="true">marcobarbieri@webmapp.it</a><br>
</div>
<div style="font-size:12.8px"><a
href="http://www.webmapp.it/"
style="font-size:12.8px" target="_blank"
moz-do-not-send="true">www.webmapp.it</a></div>
<div style="font-size:12.8px"><span
style="color:rgb(102,102,102);font-size:12.8px">+39
050 55 25 74 / +39 347 683 03 13</span><br>
</div>
<div><img
src="http://webmapp.it/wp-content/uploads/2016/07/webamapp-logo-1.png"
style="color: rgb(102, 102, 102); font-size:
12.8px;" moz-do-not-send="true" width="200"
height="39"><br>
</div>
<div><font size="1" color="#666666">Webmapp Srl</font></div>
<div><font size="1" color="#666666">Via A. Cei 2
/ 56123 Pisa</font></div>
<div><font size="1">
<div><font color="#666666">P.Iva e CF
02266770508</font></div>
<div><font color="#666666">Capitale Sociale
10.000,00 € </font></div>
</font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
QGIS-Developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
</blockquote>
<br>
</body>
</html>