在WF 14中启用HTTP / 2的错误(与WF 10相同的应用程序正常工作)

时间:2019-01-21 13:21:35

标签: http ssl wildfly http2 undertow

我在Wildfly 14中遇到以下错误:

 19:21:02,947 ERROR [io.undertow] (default task-59) UT005085: 
Connection io.undertow.server.protocol.http2.Http2ServerConnection@d75cd9 for exchange HttpServerExchange{ GET /Consult/org.richfaces.resources/javax.faces.resource/org.richfaces/jquery.js request {accept=[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8], accept-language=[de,en-US;q=0.7,en;q=0.3], :authority=[zhsrv03:8443], accept-encoding=[gzip, deflate, br], :path=[/Consult/org.richfaces.resources/javax.faces.resource/org.richfaces/jquery.js], user-agent=[Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Firefox/60.0], :scheme=[https], cookie=[JSESSIONID=uZsgWtyluXOMR2sKjzveOgAkveOE4PsXLQbMf], :method=[GET], Referer=[https://zhsrv03:8443/Consult/pages/main.jsf], upgrade-insecure-requests=[1], Host=[zhsrv03:8443]} response {Expires=[Wed, 23 Jan 2019 18:21:02 GMT], ETag=[W/"293650-1547662223817"], Last-Modified=[Wed, 16 Jan 2019 18:10:23 GMT], Set-Cookie=[JSESSIONID=uZsgWtyluXOcMKBjzvgAkveOE4PsXLQbMf.zhsrv03; path=/Consult], Content-Type=[application/javascript], Date=[Wed, 16 Jan 2019 18:21:02 GMT], :status=[200]}} 
was not closed cleanly, forcibly closing connection

像这样将standalone.xml中的enable-http2属性从true更改为false后,它会起作用:

<https-listener name="https" socket-binding="https" security-realm="SslRealm" enable-http2="false"/>

另请参阅:

https://developer.jboss.org/message/984394?et=watches.email.thread#984394

在Wildfly 10中,同一应用程序使用enable-http2 =“ true”设置。

Wildfly 14出现错误的原因是什么?我不能再在Wildfly 14中使用HTTP / 2还是解决该问题?

0 个答案:

没有答案