[MapServer-users] HTTP/2 Protocol Error MS Demo server

Jeff McKenna jmckenna at gatewaygeomatics.com
Wed Mar 29 06:49:38 PDT 2023


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 at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
> 



More information about the MapServer-users mailing list