[Qgis-developer] WFS strange network timeout error on localhost with latest master tests (but not on

Alessandro Pasotti apasotti at gmail.com
Tue Nov 1 01:12:41 PDT 2016


I'm trying to solve a strange issue from a QGIS python test in master:

If I use "localhost" in the url, this times out:
assert QgsVectorLayer("version='auto' table='' url='
typename='testlayer_èé' srsname='EPSG:4326'", 'wfs', 'WFS').isValid()

- If I point it to it works normally.
- Both localhost and work as expected from a web browser or for
- Using another server different from qgis shows the same behaviour (hence
it does not depend on qgis server but only on the hostname)
- The same Python code works fine if run from within QGIS master
- I have nothing strange in my /etc/hosts
- This does not depend on ctest: runnig the test directly from python shows
the same problem
- WMS is working fine with both localhost and, so far only WFS
shows this problem

- ubuntu xenial
- Qt 5.5.1

Any idea?

Alessandro Pasotti
w3:   www.itopen.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20161101/ddc1a10a/attachment.html>

More information about the Qgis-developer mailing list