Bug report #20469

Adding WFS layer fails with "unexpected end of file"

Added by Dion N about 6 years ago. Updated almost 6 years ago.

Status:Rejected
Priority:High
Assignee:-
Category:Web Services clients/WFS
Affected QGIS version:2.18.25 Regression?:No
Operating System:Windows 10 Easy fix?:No
Pull Request or Patch supplied:No Resolution:worksforme
Crashes QGIS or corrupts data:No Copied to github as #:28289

Description

I am trying to add the following WFS layer in QGIS 2.18.25:
http://35.240.255.18:8080/geoserver/ows?service=wfs&version=1.1.0&request=GetCapabilities

I use the following steps:

Layer -> add layer -> wfs layer
Enter url of service above.
Click Connect

Result:
Popup with message: unexpected end of file.

Expected result:
Loaded map.

This was a working WFS. Issue only start to happen yesterday (11/11/2018)/
I can add this WFS in ArcGIS Online and it works fine.

Can you confirm that this is a bug in QGIS?

Details:
QGIS version 2.18.25
Windows 10

Regards,
Dion

History

#1 Updated by Giovanni Manghi about 6 years ago

  • Status changed from Open to Feedback

Usually that error mean a server configuration problem.

Anyway on 2.18.25 works fine here.

#2 Updated by João Gaspar about 6 years ago

The WFS URL is working.

Benchmark QGIS:
QGIS 2.18.25 - OK
QGIS 3.2.0 - OK
QGIS 3.4.1 - OK

#3 Updated by Jürgen Fischer almost 6 years ago

Please test with QGIS 3.4 - QGIS 2.18 reached it's end of life.

#4 Updated by Even Rouault almost 6 years ago

  • Resolution set to worksforme
  • Status changed from Feedback to Rejected

Was likely a transient server error. Works fine with master / 3.5

Also available in: Atom PDF