On 11/20/18 7:11 AM, Robert Hutton wrote: > QGIS version: 3.4.1 macOS 64-bit > OS version: macOS 10.13.6 High Sierra > > We have a geoserver install here which works fine with the latest QGIS > on Windows and Linux, but always fails to connect with QGIS on macOS. > > Procedure to replicate: > > * Open the Data Source Manager, select WFS > * Add new server connection: > * Name: AURIN Open API noauth > * URL: http://openapi.aurin.org.au/public/wfs > * Version 1.1 > * Click the Connect button > > After exactly 60 seconds (the timeout set in Perferences), I get the > error message: "unexpected end of file". QGIS on Windows and Linux both > connect in around 10 seconds, and increasing the timeout on macOS > doesn't help. > > In the Messages pane I only see a datetime with the word WARNING but no > other info. The WFS tab has "WARNING Download of capabilities failed: > Operation canceled". Network tab has: "WARNING Network request > http://openapi.aurin.org.au/public/wfs?SERVICE=WFS&REQUEST=GetCapabilities&VERSION=1.1.0 > timed out" > > Is there any way I can debug this further? I haven't managed to find > any way to increase the log level, and trying to use tcpdump and > wireshark hasn't gotten me anywhere either.
Hi Robert, I think you hit some kind of wfs-data issue here. If I open the url in a browser: http://openapi.aurin.org.au/public/wfs?SERVICE=WFS&REQUEST=GetCapabilities&VERSION=1.1.0 Or time it using curl: time curl "http://openapi.aurin.org.au/public/wfs?SERVICE=WFS&REQUEST=GetCapabilities&VERSION=1.1.0" real 0m20.490s user 0m0.090s sys 0m0.716s You see it is not a fast service, but seemingly ok. What I do see is that the 'Abstracts' of the layers are very strange formatted, looking like it is instead of a string some serialized java (see below). Mmm, requesting the service again, I see the file is just HUGE (56Mb) and containing what looks like escaped html from some australian census website... So I think somebody has to fix that service first... (I was creating an issue for it because QGIS should not fail on capabilities I though, but this output is toooo strange (and 56Mb large)... Regards, Richard Duivenvoorde (below one featuretype) </FeatureType><FeatureType xmlns:aurin="http://www.aurin.org.au"><Name>aurin:datasource-UQ_ERG-UoM_AURIN_DB_election_7481_booths_voting_variables</Name><Title>Voting Variables by PB for 2010 Australian federal election Data provider: University of Queensland - eResearch Group</Title><Abstract>Abstract: Variables derived from the voting results at the 2010 Australian federal election at the polling booth (PB) level. There are 7481 Polling Booths collected for the 2010 Australian federal election. Temporal extent start: 2010-08-21T00:00:00 Temporal extent end: 2010-08-21T00:00:00 University of Queensland - eResearch Group Attributes: alp_10_ ( % of primary votes for Australian Labor Party (ALP) (per PB) % of Australian Labor Party ) : java.lang.Double [ ], clp_10_ ( % of primary votes for Country Liberal Party (per PB) % Country Liberal Party ) : java.lang.Double [ ], coa_10_ ( % of primary votes for Coalition (per PB) % Coalition ) : java.lang.Double [ ], coa_alp_1 ( % of Primary votes for Coalition vs ALP (per PB), if % Coalition > % ALP then coa_alp_1 = 1, else if % ALP > % Coalition then coa_alp_1 = 2, else if % Coalition = % ALP then coa_alp_1 = 0 % Primary votes for Coalition vs ALP ) : java.lang.String [ ], ffp_10_ ( % of primary votes for Family First Party (per PB) % Family First Party ) : java.lang.Double [ ], gid ( ) : java.lang.Integer [ ], grn_10_ ( % of primary votes for Greens (per PB) % Greens ) : java.lang.Double [ ], ind_10_ ( % of primary votes for Independent (per PB) % Independent ) : java.lang.Double [ ], lnq_10_ ( % of primary votes for Liberal National Party Queensland (per PB) % Liberal National Party Queensland ) : java.lang.Double [ ], lp_10_ ( % of primary votes for Liberal Party (per PB) % Liberal Party ) : java.lang.Double [ ], np_10_ ( % of primary votes for National Party (per PB) % National Party ) : java.lang.Double [ ], poll_id ( PB id number pb id ) : java.lang.Integer [ ], pollingpla ( Polling place name Polling place ) : java.lang.String [ ], stateab ( State/Territory name abbreviation state name abbreviation ) : java.lang.String [ ], the_geom ( The geometry geometry ) : com.vividsolutions.jts.geom.Geometry [ ], tpp_alp_ ( % of two party preferred votes for Australian Labor Party (ALP) (per PB) % ALP two party preferred votes ) : java.lang.Double [ ], tpp_coa_ ( % of two party preferred votes for Coalition (per PB) % Coalition two party preferred votes ) : java.lang.Double [ ], tpp_swing ( % of two party preferred votes swing for Coalition (per PB) % Coalition swing ) : java.lang.Double [ ]</Abstract><ows:Keywords><ows:Keyword>voting</ows:Keyword><ows:Keyword>polling booth</ows:Keyword><ows:Keyword>federal election</ows:Keyword></ows:Keywords><DefaultSRS>urn:x-ogc:def:crs:EPSG:4283</DefaultSRS><ows:WGS84BoundingBox><ows:LowerCorner>96.8300379748521 -43.4253</ows:LowerCorner><ows:UpperCorner>159.088 -9.749</ows:UpperCorner></ows:WGS84BoundingBox></FeatureType> _______________________________________________ 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