Have you the cache to zero size?
I discovered this kind of strangenissue some weeks ago

If the qgis cache size is turn to zero the capabilities fail when go to add
the map to the Canvas.
This issue is on only with some wms (mapserver, geoserver) do not with
qgisserver.

I dont know with arcgis rest services.

A.


Il gio 1 ago 2019, 20:08 Stewart Holt <[email protected]> ha scritto:

> I use USGS WMS and WMTS layers. At some point in the recent past the WMS
> layers stopped working. I am almost sure they have worked in QGIS V3. I
> usually use WMTS because of the speed, but for final publishing, I have
> seen some cases where a corresponding WMS layer is higher definition, so I
> would like to be able to use it. Also the long timeout while starting the
> project is unfortunate and I don't want to delete the WMS layer. Here is a
> WMS layer which fails:
>
>
> https://basemap.nationalmap.gov/arcgis/services/USGSTopo/MapServer/WMSServer?request=GetCapabilities&service=WMS
>
> And a corresponding WMTS layer which works:
>
>
> https://basemap.nationalmap.gov/arcgis/rest/services/USGSTopo/MapServer/WMTS/1.0.0/WMTSCapabilities.xml
>
> On the failing WMS layer, I have removed it and added it back. When I test
> it I get a message saying that a get capabilities request has failed. I
> hope someone who might be able to figure out what is going on can give this
> URL a try.
>
> Thanks,
>
> Stewart
>
> On Thu, Jul 25, 2019 at 12:20 PM Alessandro Pasotti <[email protected]>
> wrote:
>
>>
>>
>> On Thu, Jul 25, 2019 at 12:34 PM Manuel Fernandez <[email protected]>
>> wrote:
>>
>>> Hi, everyone. I have a problem
>>> When adding a WMS layer, I get this error:
>>> Capabilities could not be downloaded: Capabilities download failed:
>>> Connection closed.
>>> It used to work.
>>>
>>
>> Can you provide the WMS address?
>>
>> BTW, I've recently hit a similar issues and it ended up being an upstream
>> QT issue: https://bugreports.qt.io/browse/QTBUG-76821
>>
>>
>>
>>
>>> Thanks in advance
>>> _______________________________________________
>>> Qgis-user mailing list
>>> [email protected]
>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>>
>>
>> --
>> Alessandro Pasotti
>> w3:   www.itopen.it
>> _______________________________________________
>> Qgis-user mailing list
>> [email protected]
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
> _______________________________________________
> Qgis-user mailing list
> [email protected]
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to