-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In QGIS > =2.16.* loading of WFS layers with (Geoserver) authentication fails #23520
Comments
Author Name: Larry Shaffer (Larry Shaffer) Hi, I have a PR for (maybe) fixing this: More specifically: It is also ready for @master@ and @release-2_16@, which both required carefully addressing merge conflicts. This is a follow up to Alessandro's work. |
Author Name: Larry Shaffer (Larry Shaffer) Giovanni, do you mind compiling the fix and testing for your scenario (either @master_2@ or @release-2_16-ows-fixes@ branches)? |
Author Name: Giovanni Manghi (@gioman) Larry Shaffer wrote:
Hi Larry, I compiled your branch QGIS-release-2_16-ows-fixes. It seems that the issue where the WFS client "forgets" the username is fixed. I still see the problem in loading layers behind authentication, the use case is Geonode/Geoserver. On the same endpoint wfs layers that are not protected load fine. |
Author Name: Larry Shaffer (Larry Shaffer)
|
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Alessandro Pasotti (@elpaso) OP reported that credentials has been entered directly and not using password manager
|
Author Name: Alessandro Pasotti (@elpaso) Cannot reproduce with QGIS Desktop current master <-> QGIS Server current master + HTTP Basic auth plugin
|
Author Name: Giovanni Manghi (@gioman) Alessandro Pasotti wrote:
it seems to be a Geonode thing only.
|
Author Name: Anónimo (Anónimo) Fixed in changeset "93770b1c307fe42c910eb993c7d813931512ba75".
|
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Giovanni Manghi (@gioman) Sorry for the confusion, it a problem that is visible using Geoserver authentication (that is used also by Geonode). Tested with Geoserver 2.7.4 and 2.9.
|
Author Name: Giovanni Manghi (@gioman) fixed by #c80e5d131d676f7ee73b3a943d30c034aa33db5e
|
Author Name: Giovanni Manghi (@gioman)
Original Redmine Issue: 15597
Affected QGIS version: master
Redmine category:web_services_clients/wfs
Assignee: Alessandro Pasotti
New description:
Start a Geoserver endpoint (tested with 2.7.4 and 2.9), load a couple of layers, one behind authentication and the other not.
Enable WFS.
Create the connection in QGIS >= 2.16 and enter the credentials.
Connect to the endpoint, as expected both layers are listed.
Try load the layer not protected > ok
Try load the layer protected > "
Layer geonode:XXX: Download of features for layer geonode:XXX failed or partially failed: Server generated an exception in GetFeature response: Feature type geonode:XXX unknown. You may attempt reloading the layer with F5"
This does not happen on LTR.
Old description:
Scenario: a Geonode/Geoserver instance with a few vector layers behind authentication via Geonode (I guess that could be basic http authentication).
In QGIS 2.16.* loading such layers results in:
Layer geonode:XXX: Download of features for layer geonode:XXX failed or partially failed: Server generated an exception in GetFeature response: Feature type geonode:XXX unknown. You may attempt reloading the layer with F5
on QGIS 2.14 and previous no issues.
The text was updated successfully, but these errors were encountered: