<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi Robert<br>
    </p>
    <p>Well, as Richard points out, that service is a bit dodgy. The
      weird Abstracts are not helping. This is compounded by there being
      > 2800 layers in there.</p>
    <p>There are actually a few dozen servers out there that have
      thousands of layers in their GetCaps. This WMTS for example has
      almost 4000 layers and the file is <a
href="http://localhost:8070/process_page?url=http%3A//bhuvannuis.nrsc.gov.in/bhuvan/gwc/service/wmts%3Frequest%3DGetCapabilities%26service%3DWMTS%26version%3D1.0.0&action=get_info">http://bhuvannuis.nrsc.gov.in/bhuvan/gwc/service/wmts?request=GetCapabilities&service=WMTS&version=1.0.0</a>
      - and it loads just fine on my QGIS 2.18.8 install. That GetCap is
      legitimately ~55MB and is the single largest GetCapabilites in my
      index of several tens of thousands of public getcap responses
      (only ~35 are larger than 10MB). So kudos to QGIS for handling
      these large GetCaps quickly.<br>
    </p>
    That all said, the WFS URL provided by parent works fine for me on
    my Windows 2.18.8 install. Given it only seems faulty on the
    parent's Mac install, assuming they're all on the same fairly fast
    network, I'd suggest opening it as a bug on the tracker.<br>
    Cheers,<br>
    Jonathan<br>
    <br>
    <div class="moz-cite-prefix">On 2018-11-20 07:02, Richard
      Duivenvoorde wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:ce9816fe-82fd-454f-3024-48513f71d772@duif.net">
      <pre wrap="">On 11/20/18 7:11 AM, Robert Hutton wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">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:  <a class="moz-txt-link-freetext" href="http://openapi.aurin.org.au/public/wfs">http://openapi.aurin.org.au/public/wfs</a>
  * 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
<a class="moz-txt-link-freetext" href="http://openapi.aurin.org.au/public/wfs?SERVICE=WFS&REQUEST=GetCapabilities&VERSION=1.1.0">http://openapi.aurin.org.au/public/wfs?SERVICE=WFS&REQUEST=GetCapabilities&VERSION=1.1.0</a>
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.
</pre>
      </blockquote>
      <pre wrap="">
Hi Robert,

I think you hit some kind of wfs-data issue here.

If I open the url in a browser:
<a class="moz-txt-link-freetext" href="http://openapi.aurin.org.au/public/wfs?SERVICE=WFS&REQUEST=GetCapabilities&VERSION=1.1.0">http://openapi.aurin.org.au/public/wfs?SERVICE=WFS&REQUEST=GetCapabilities&VERSION=1.1.0</a>

Or time it using curl:

time curl
<a class="moz-txt-link-rfc2396E" href="http://openapi.aurin.org.au/public/wfs?SERVICE=WFS&REQUEST=GetCapabilities&VERSION=1.1.0">"http://openapi.aurin.org.au/public/wfs?SERVICE=WFS&REQUEST=GetCapabilities&VERSION=1.1.0"</a>

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=<a class="moz-txt-link-rfc2396E" href="http://www.aurin.org.au">"http://www.aurin.org.au"</a>><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 &gt; % ALP then
coa_alp_1 = 1, else if % ALP &gt; % 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
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></pre>
    </blockquote>
    <br>
  </body>
</html>