Hello Andrea, Are you referring to the test? I have included a short script that can reproduce the problem and we have used that script on different versions of GeoServer.
Anyway, will include it again here. Thanks, Mario. On Thu, Nov 16, 2017 at 4:34 PM, Andrea Aime <andrea.a...@geo-solutions.it> wrote: > Hi Mario, > see my last comment on the ticket and try to follow up please. > > Cheers > Andrea > > On Thu, Nov 16, 2017 at 8:14 AM, Mario Basa <mario.b...@gmail.com> wrote: > >> We are still experiencing the WFS bug described in >> >> https://osgeo-org.atlassian.net/browse/GEOS-7961 >> >> with the following versions of GeoServer: >> >> - 2.7.1.1 >> - 2.10.2 >> - 2.12_20171108. >> >> >> Below is a simple shell script to replicate the problem by doing a BBOX >> getfeature request using epsg:900919 on TOPP:States layer using Curl. If the >> script is run several times, the error appears in our environment. And as >> mentioned, v2.6.5 is not affected by this bug. >> >> >> Will really appreciate it if this problem can be looked at again. Thanks. >> >> >> Test script: >> >> ========== >> >> >> for i in {0..20}; do >> echo "Running WFS Requests $i" >> >> curl 'http://localhost:8080/geoserver/wfs' -H 'Origin: >> http://localhost:8080' -H 'Accept-Encoding: gzip, deflate' -H >> 'Accept-Language: ja,en;q=0.9,en-US;q=0.8' -H 'User-Agent: Mozilla/5.0 >> (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) >> Chrome/62.0.3202.94 Safari/537.36' -H 'Content-Type: application/xml' -H >> 'Accept: */*' -H 'X-Requested-With: XMLHttpRequest' -H 'Connection: >> keep-alive' --data-binary '<wfs:GetFeature service="WFS" version="1.1.0" >> xmlns:topp="http://www.openplans.org/topp" >> xmlns:wfs="http://www.opengis.net/wfs" >> xmlns:ogc="http://www.opengis.net/ogc" >> xmlns:gml="http://www.opengis.net/gml" >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> xsi:schemaLocation="http://www.opengis.net/wfs >> http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"> <wfs:Query >> typeName="topp:states"><wfs:PropertyName>topp:STATE_NAME</wfs:PropertyName><wfs:PropertyName>topp:PERSONS</wfs:PropertyName><wfs:PropertyName>topp:FAMILIES</wfs:PropertyName><wfs:PropertyName>topp:HOUSHOLD</wfs:PropertyName><wfs:PropertyName>topp:MALE</wfs:PropertyName><wfs:PropertyName>topp:FEMALE</wfs:PropertyName><ogc:Filter><ogc:BBOX><ogc:PropertyName>the_geom</ogc:PropertyName><gml:Envelope >> >> srsName="http://www.opengis.net/gml/srs/epsg.xml#900913"><gml:lowerCorner>-8360384.63640429 >> 4896884.56155475</gml:lowerCorner><gml:upperCorner>-8055285.29673466 >> 5088234.26762911</gml:upperCorner></gml:Envelope></ogc:BBOX></ogc:Filter></wfs:Query></wfs:GetFeature>' >> --compressed -s -o ./GRP_case2_1.xml & >> >> curl 'http://localhost:8080/geoserver/wfs' -H 'Origin: >> http://localhost:8080' -H 'Accept-Encoding: gzip, deflate' -H >> 'Accept-Language: ja,en;q=0.9,en-US;q=0.8' -H 'User-Agent: Mozilla/5.0 >> (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) >> Chrome/62.0.3202.94 Safari/537.36' -H 'Content-Type: application/xml' -H >> 'Accept: */*' -H 'X-Requested-With: XMLHttpRequest' -H 'Connection: >> keep-alive' --data-binary '<wfs:GetFeature service="WFS" version="1.1.0" >> xmlns:topp="http://www.openplans.org/topp" >> xmlns:wfs="http://www.opengis.net/wfs" >> xmlns:ogc="http://www.opengis.net/ogc" >> xmlns:gml="http://www.opengis.net/gml" >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> xsi:schemaLocation="http://www.opengis.net/wfs >> http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"> <wfs:Query >> typeName="topp:states"><wfs:PropertyName>topp:STATE_NAME</wfs:PropertyName><wfs:PropertyName>topp:PERSONS</wfs:PropertyName><wfs:PropertyName>topp:FAMILIES</wfs:PropertyName><wfs:PropertyName>topp:HOUSHOLD</wfs:PropertyName><wfs:PropertyName>topp:MALE</wfs:PropertyName><wfs:PropertyName>topp:FEMALE</wfs:PropertyName><ogc:Filter><ogc:BBOX><ogc:PropertyName>the_geom</ogc:PropertyName><gml:Envelope >> >> srsName="http://www.opengis.net/gml/srs/epsg.xml#900913"><gml:lowerCorner>-8360384.63640429 >> 4896884.56155475</gml:lowerCorner><gml:upperCorner>-8055285.29673466 >> 5088234.26762911</gml:upperCorner></gml:Envelope></ogc:BBOX></ogc:Filter></wfs:Query></wfs:GetFeature>' >> --compressed -s -o ./GRP_case2_2.xml & >> >> curl 'http://localhost:8080/geoserver/wfs' -H 'Origin: >> http://localhost:8080' -H 'Accept-Encoding: gzip, deflate' -H >> 'Accept-Language: ja,en;q=0.9,en-US;q=0.8' -H 'User-Agent: Mozilla/5.0 >> (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) >> Chrome/62.0.3202.94 Safari/537.36' -H 'Content-Type: application/xml' -H >> 'Accept: */*' -H 'X-Requested-With: XMLHttpRequest' -H 'Connection: >> keep-alive' --data-binary '<wfs:GetFeature service="WFS" version="1.1.0" >> xmlns:topp="http://www.openplans.org/topp" >> xmlns:wfs="http://www.opengis.net/wfs" >> xmlns:ogc="http://www.opengis.net/ogc" >> xmlns:gml="http://www.opengis.net/gml" >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> xsi:schemaLocation="http://www.opengis.net/wfs >> http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"> <wfs:Query >> typeName="topp:states"><wfs:PropertyName>topp:STATE_NAME</wfs:PropertyName><wfs:PropertyName>topp:PERSONS</wfs:PropertyName><wfs:PropertyName>topp:FAMILIES</wfs:PropertyName><wfs:PropertyName>topp:HOUSHOLD</wfs:PropertyName><wfs:PropertyName>topp:MALE</wfs:PropertyName><wfs:PropertyName>topp:FEMALE</wfs:PropertyName><ogc:Filter><ogc:BBOX><ogc:PropertyName>the_geom</ogc:PropertyName><gml:Envelope >> >> srsName="http://www.opengis.net/gml/srs/epsg.xml#900913"><gml:lowerCorner>-8360384.63640429 >> 4896884.56155475</gml:lowerCorner><gml:upperCorner>-8055285.29673466 >> 5088234.26762911</gml:upperCorner></gml:Envelope></ogc:BBOX></ogc:Filter></wfs:Query></wfs:GetFeature>' >> --compressed -s -o ./GRP_case2_3.xml & >> >> curl 'http://localhost:8080/geoserver/wfs' -H 'Origin: >> http://localhost:8080' -H 'Accept-Encoding: gzip, deflate' -H >> 'Accept-Language: ja,en;q=0.9,en-US;q=0.8' -H 'User-Agent: Mozilla/5.0 >> (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) >> Chrome/62.0.3202.94 Safari/537.36' -H 'Content-Type: application/xml' -H >> 'Accept: */*' -H 'X-Requested-With: XMLHttpRequest' -H 'Connection: >> keep-alive' --data-binary '<wfs:GetFeature service="WFS" version="1.1.0" >> xmlns:topp="http://www.openplans.org/topp" >> xmlns:wfs="http://www.opengis.net/wfs" >> xmlns:ogc="http://www.opengis.net/ogc" >> xmlns:gml="http://www.opengis.net/gml" >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> xsi:schemaLocation="http://www.opengis.net/wfs >> http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"> <wfs:Query >> typeName="topp:states"><wfs:PropertyName>topp:STATE_NAME</wfs:PropertyName><wfs:PropertyName>topp:PERSONS</wfs:PropertyName><wfs:PropertyName>topp:FAMILIES</wfs:PropertyName><wfs:PropertyName>topp:HOUSHOLD</wfs:PropertyName><wfs:PropertyName>topp:MALE</wfs:PropertyName><wfs:PropertyName>topp:FEMALE</wfs:PropertyName><ogc:Filter><ogc:BBOX><ogc:PropertyName>the_geom</ogc:PropertyName><gml:Envelope >> >> srsName="http://www.opengis.net/gml/srs/epsg.xml#900913"><gml:lowerCorner>-8360384.63640429 >> 4896884.56155475</gml:lowerCorner><gml:upperCorner>-8055285.29673466 >> 5088234.26762911</gml:upperCorner></gml:Envelope></ogc:BBOX></ogc:Filter></wfs:Query></wfs:GetFeature>' >> --compressed -s -o ./GRP_case2_4.xml & >> >> curl 'http://localhost:8080/geoserver/wfs' -H 'Origin: >> http://localhost:8080' -H 'Accept-Encoding: gzip, deflate' -H >> 'Accept-Language: ja,en;q=0.9,en-US;q=0.8' -H 'User-Agent: Mozilla/5.0 >> (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) >> Chrome/62.0.3202.94 Safari/537.36' -H 'Content-Type: application/xml' -H >> 'Accept: */*' -H 'X-Requested-With: XMLHttpRequest' -H 'Connection: >> keep-alive' --data-binary '<wfs:GetFeature service="WFS" version="1.1.0" >> xmlns:topp="http://www.openplans.org/topp" >> xmlns:wfs="http://www.opengis.net/wfs" >> xmlns:ogc="http://www.opengis.net/ogc" >> xmlns:gml="http://www.opengis.net/gml" >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> xsi:schemaLocation="http://www.opengis.net/wfs >> http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"> <wfs:Query >> typeName="topp:states"><wfs:PropertyName>topp:STATE_NAME</wfs:PropertyName><wfs:PropertyName>topp:PERSONS</wfs:PropertyName><wfs:PropertyName>topp:FAMILIES</wfs:PropertyName><wfs:PropertyName>topp:HOUSHOLD</wfs:PropertyName><wfs:PropertyName>topp:MALE</wfs:PropertyName><wfs:PropertyName>topp:FEMALE</wfs:PropertyName><ogc:Filter><ogc:BBOX><ogc:PropertyName>the_geom</ogc:PropertyName><gml:Envelope >> >> srsName="http://www.opengis.net/gml/srs/epsg.xml#900913"><gml:lowerCorner>-8360384.63640429 >> 4896884.56155475</gml:lowerCorner><gml:upperCorner>-8055285.29673466 >> 5088234.26762911</gml:upperCorner></gml:Envelope></ogc:BBOX></ogc:Filter></wfs:Query></wfs:GetFeature>' >> --compressed -s -o ./GRP_case2_5.xml & >> >> wait >> grep "Unable to encode filter" ./GRP_case2_*.xml >> done >> >> >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> _______________________________________________ >> Geoserver-users mailing list >> >> Please make sure you read the following two resources before posting to >> this list: >> - Earning your support instead of buying it, but Ian Turton: >> http://www.ianturton.com/talks/foss4g.html#/ >> - The GeoServer user list posting guidelines: >> http://geoserver.org/comm/userlist-guidelines.html >> >> Geoserver-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/geoserver-users >> >> > > > -- > > Regards, > > Andrea Aime > > == > GeoServer Professional Services from the experts! Visit > http://goo.gl/it488V for more information. > == > > Ing. Andrea Aime > @geowolf > Technical Lead > > GeoSolutions S.A.S. > Via di Montramito 3/A > <https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa&entry=gmail&source=g> > 55054 Massarosa > <https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa&entry=gmail&source=g> > (LU) > phone: +39 0584 962313 <+39%200584%20962313> > fax: +39 0584 1660272 <+39%200584%20166%200272> > mob: +39 339 8844549 <+39%20339%20884%204549> > > http://www.geo-solutions.it > http://twitter.com/geosolutions_it > > AVVERTENZE AI SENSI DEL D.Lgs. 196/2003 > > Le informazioni contenute in questo messaggio di posta elettronica e/o > nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il > loro utilizzo è consentito esclusivamente al destinatario del messaggio, > per le finalità indicate nel messaggio stesso. Qualora riceviate questo > messaggio senza esserne il destinatario, Vi preghiamo cortesemente di > darcene notizia via e-mail e di procedere alla distruzione del messaggio > stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, > divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od > utilizzarlo per finalità diverse, costituisce comportamento contrario ai > principi dettati dal D.Lgs. 196/2003. > > The information in this message and/or attachments, is intended solely for > the attention and use of the named addressee(s) and may be confidential or > proprietary in nature or covered by the provisions of privacy act > (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection > Code).Any use not in accord with its purpose, any disclosure, reproduction, > copying, distribution, or either dissemination, either whole or partial, is > strictly forbidden except previous formal approval of the named > addressee(s). If you are not the intended recipient, please contact > immediately the sender by telephone, fax or e-mail and delete the > information in this message that has been received in error. The sender > does not give any warranty or accept liability as the content, accuracy or > completeness of sent messages and accepts no responsibility for changes > made after they were sent or for other risks which arise as a result of > e-mail transmission, viruses, etc. > >
GRP_error_states.sh
Description: Bourne shell script
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users