Unsupported HTTP method: PRI
Illegal request, responding with status '501 Not Implemented': Unsupported HTTP method: PRI
This indicates that an HTTP/2 request was received, but the server was not correctly set up to handle those. You may have to:
- Make sure the
pekko.http.server.preview.enable-http2
option is enabled - Make sure you are running at least JDK version 8u252
- Make sure you are not using
Http().bindAndHandle()
Http().bindAndHandle()
orHttp().newServerAt().bindFlow()
Http().newServerAt().bindFlow()
, butHttp().newServerAt().bind()
Http().newServerAt().bind()
.
1.0.1