[Qgis-user] WFS-T update to geoserver fails
emmexx
emmexx at tiscalinet.it
Tue Jan 27 05:16:40 PST 2015
I load a wfs-t layer hosted on a geoserver server and add or modify a
feature.
When I save the layer, qgis timeouts, the layer is not updated on the
server and I have to restart geoserver in order to be able to load it
again in qgis (and elesewhere too).
The qgis error is:
Could not commit changes to layer xxx
Errors: ERROR: 1(s) feature not added
Provider errors:
Empty response
I found something similar described here:
[[http://gis.stackexchange.com/questions/115471/qgis-wfs-error-could-not-commit-changes-to-layer]]
[[http://jira.codehaus.org/browse/GEOS-6059]]
Trying to understand what was wrong in the qgis call (update of a
feature or new feature added) I used netTool. This program has a tunnel
feature that acts as a MITM between an application and a remote server.
So I changed the wfs address in qgis from:
http://mywebsite:8080/geoserver/wfs to
http://localhost:7000/geoserver/wfs and set netTool to tunnel to
http://mywebsite:8080
I updated a feature value, saved and to my great surprise everything
worked fine.
After filing a bug in qgis I was suggested to try to connect to another
geoserver. I started osgeo live 8 on another pc on my local network,
from my desktop I started qgis, added a WFS layer from geoserver on
osgeo live 8, updated a feature and everything worked fine.
So I'm asking here for help.
I asked for help on the geoserver mailing list but since I'm using the
boundless opengeo versione, they can't help.
I just want to understand if this is a geoserver only problem or if it
derives from the interaction of qgis and geoserver.
Why does netTool makes everything work fine?
Why can a call from qgis hang geoserver (the wfs service of...)?
Any help would be appreciated.
maxx
QGIS version 2.6.1-Brighton QGIS code revision exported
Compiled against Qt 4.8.5 Running against Qt 4.8.5
Compiled against GDAL/OGR 1.11.0 Running against GDAL/OGR 1.11.0
Compiled against GEOS 3.3.8-CAPI-1.7.8 Running against GEOS
3.3.8-CAPI-1.7.8
PostgreSQL Client Version No support. SpatiaLite Version 4.0.0
QWT Version 5.1.1 PROJ.4 Version 480
QScintilla2 Version 2.6.1
Geoserver is version 2.5 snapshot installed from boundless opengeo suite 4.1
More information about the Qgis-user
mailing list