Re: [MapServer-users] HTTP/2 Protocol Error MS Demo server
Hi Just, I've been working hard on the demo server, for the 8.0.1 release, so your report is good timing, will take a look... Thanks, -jeff -- Jeff McKenna GatewayGeo: Developers of MS4W, MapServer Consulting and Training co-founder of FOSS4G http://gatewaygeo.com/ On 2023-03-29 7:08 a.m., Just van den Broecke wrote: Hi, In the pygeoapi CI on GitHub we experience suddenly an error in the OGR Provider that connects via WFS to the MapServer demo server. The problem has to do with HTTP/2 on a Ubuntu 20.04 system. Error is like: "Failure, Msg: HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)" I can trigger the same error with curl on a Ubuntu 20.04 LTS (used by the GH CI) curl -v https://demo.mapserver.org/cgi-bin/wfs * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4): * old SSL session ID is stale, removing * Connection state changed (MAX_CONCURRENT_STREAMS == 128)! * http2 error: Invalid HTTP header field was received: frame type: 1, stream: 1, name: [upgrade], value: [h2,h2c] * HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1) * stopped the pause stream! * Connection #0 to host demo.mapserver.org left intact curl: (92) HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1) Forcing HTTP 1.1 gets rid of the error: curl -v --http1.1 https://demo.mapserver.org/cgi-bin/wfs So it doesn't seem pygeoapi nor GDAL-related. Looks more like this (Apache) problem: https://serverfault.com/questions/937253/https-doesnt-work-with-safari Best, --Just Just van den Broecke ___ MapServer-users mailing list MapServer-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users ___ MapServer-users mailing list MapServer-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [MapServer-users] HTTP/2 Protocol Error MS Demo server
Sorry for posting twice. Thought I used the wrong email address initially, but someone let me through. Responding from the adress I have subscribed. I found a workaround at the pygeoapi OGR Provider side (which functions as a WFS client and accepts GDAL config settings): 'GDAL_HTTP_VERSION': '1.1' forcing the curl-lib in GDAL/OGR to use HTTP 1.1 (i.s.o. 2). Basically the same as "curl --http1.1 ", as below. Still, I think a (config) fix is needed on the MS demo server frontend, which runs nginx AFAICS. Best, Just van den Broecke On 29/03/2023 12:35, Just van den Broecke wrote: Hi, In the pygeoapi CI on GitHub we experience suddenly an error in the OGR Provider that connects via WFS to the MapServer demo server. The problem has to do with HTTP/2 on a Ubuntu 20.04 system. Error is like: "Failure, Msg: HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)" I can trigger the same error with curl on a Ubuntu 20.04 LTS (used by the GH CI) curl -v https://demo.mapserver.org/cgi-bin/wfs * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4): * old SSL session ID is stale, removing * Connection state changed (MAX_CONCURRENT_STREAMS == 128)! * http2 error: Invalid HTTP header field was received: frame type: 1, stream: 1, name: [upgrade], value: [h2,h2c] * HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1) * stopped the pause stream! * Connection #0 to host demo.mapserver.org left intact curl: (92) HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1) Forcing HTTP 1.1 gets rid of the error: curl -v --http1.1 https://demo.mapserver.org/cgi-bin/wfs So it doesn't seem pygeoapi nor GDAL-related. Looks more like this (Apache) problem: https://serverfault.com/questions/937253/https-doesnt-work-with-safari Best, --Just Just van den Broecke ___ MapServer-users mailing list MapServer-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users ___ MapServer-users mailing list MapServer-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users