[prev in list] [next in list] [prev in thread] [next in thread] 

List:       qgis-user
Subject:    Re: [Qgis-user] Problems with setting network timeouts in QGIS
From:       Jeff McKenna <jmckenna () gatewaygeomatics ! com>
Date:       2019-11-28 18:13:14
Message-ID: 244745c0-cd5e-95f4-fd0d-67e61896a48f () gatewaygeomatics ! com
[Download RAW message or body]

Hi Lars,

I haven't seen your initial posts, but did you confirm that the WFS 
GetFeature request actually runs when you do it manually, through your 
browser?

A lot of times the timeout happens at the server end (and not at the 
client/QGIS end).  Here is a test with the MapServer engine (not sure 
what is driving your own WFS instance) :

For example, this will take a few minutes but will return all features 
in your browser: 
https://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&VERSION=1.0.0&REQUEST=getfeature&TYPENAME=continents 
  That confirms there is no timeout issue on the server end.

So then I started QGIS (an old 3.8 on this machine), zoomed out to world 
extents and then added the 'continents' layers from that WFS service: 
https://demo.mapserver.org/cgi-bin/wfs?

It took my local QGIS several minutes, or more, there was a nice 
progress bar, but eventually all features loaded. (I have not modified 
the ini file that you mentioned)

I am not sure where you see this 60second limit in QGIS.

-jeff



-- 
Jeff McKenna
MapServer Consulting and Training Services
https://gatewaygeomatics.com/




On 2019-11-28 10:59 AM, Lars I. Nielsen, LIFA A/S wrote:
> Hi list.
> 
> I'm revisiting our problems with long WFS transactions that time out 
> locally in QGIS even though the transaction continues in the background.
> 
> The default timeout value is 60 seconds (60k msecs).
> 
> There are two places where it can be changed in QGIS settings, but 
> neither respects any changes made. Or must something else be done to 
> save the value besides pressing OK ?
> 
> I hacked the INI file to set my value to 1.2m seconds (20 minutes), but 
> it seems that QGIS doesn't respect that value, and times out my WFS 
> transaction after circa 100 seconds. But it does display the large value 
> in settings.
> 
> Can anyone confirm this behavior ?
> 
> Still running 3.4.9
> 
> Med venlig hilsen
> 
> Lars I. Nielsen, LIFA A/S
> GIS-kons., FME+Python Certified Professional
> Geoinformatik
> Beskrivelse: 
> C:\Users\lin\AppData\Roaming\Microsoft\signatures\284x82-3741133837051347070
> 

_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic