酷代码 AI
菜单
全部AI  /  热门  /  AI写代码神器
服务商

[org.eclipse.jetty.http.httpparser$illegalcharacterexception.<init>()]: illegal character 0x16 in state=start for buffer heapbytebuffer@33f9a5b6[p=1,l=517,c=8192,r=516]={\x16<<<\x03\x01\x02\x00\x01\x00\x01\xfc\x03\x03\x9c\xe0\xce\xe4cl\xe8...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00>>>\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00}

This error message is related to the Eclipse Jetty HTTP parser, which is a Java-based web server and servlet container. The error indicates that an illegal character (0x16) was encountered in the state "start" of the HTTP request. The byte sequence starting with 0x16 appears to be a TLS/SSL record, which suggests that the client is attempting to establish a secure connection using HTTPS instead of HTTP. However, the Jetty HTTP parser is not configured to handle HTTPS requests by default. To resolve this issue, you can either configure Jetty to support HTTPS or ensure that the client is making HTTP requests instead of HTTPS. If you need to enable HTTPS support in Jetty, you can follow the instructions provided in the Jetty documentation for configuring SSL/TLS. [2023-12-12 23:48:51 | AI写代码神器 | 159点数解答]

相关提问