[MapServer-users] Failed to download capabilities:Download of capabilities failed: Connection on mapfile with more than 1000 layers
Rahkonen Jukka
jukka.rahkonen at maanmittauslaitos.fi
Tue Dec 20 00:52:39 PST 2022
Hi,
With that information we cannot really say. Can you get the GetCapabilities document by making the request with a browser or with curl? Is QGIS happy with 500 layers? I suppose that the default request timeout of Apache http server (do you use it?) is 60 seconds, have you tried to increase that?
Are you sure that you are trying to correct the right thing? Do you really need more than 1000 layers? Could you perhaps do the same thing with less layers with filtering? If you need +1000 layers you could consider saving the GetCapabilities response into a static file that is much faster to serve. Just remember to update the static file when your layers change.
-Jukka Rahkonen-
Lähettäjä: MapServer-users <mapserver-users-bounces at lists.osgeo.org> Puolesta Marcin Niemyjski via MapServer-users
Lähetetty: tiistai 20. joulukuuta 2022 10.42
Vastaanottaja: Marcin Niemyjski via MapServer-users <mapserver-users at lists.osgeo.org>
Aihe: [MapServer-users] Failed to download capabilities:Download of capabilities failed: Connection on mapfile with more than 1000 layers
Hello,
I have a mapfile which constist of 1200 layers. While loading to qgis error "Failed to download capabilities:Download of capabilities failed: Connection" is recived.
Does this happen becaues of quantitu of layers in mapfile? Is there any workaround?
Best,
Marcin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20221220/68df340a/attachment.htm>
More information about the MapServer-users
mailing list