Open dyrnq opened 1 month ago
java.lang.IllegalArgumentException: The Unicode character [的] at code point [30,340] cannot be encoded as it is outside the permitted range of 0 to 255
at org.apache.tomcat.util.buf.MessageBytes.toBytesSimple(MessageBytes.java:310) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.tomcat.util.buf.MessageBytes.toBytes(MessageBytes.java:283) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.coyote.http11.Http11OutputBuffer.write(Http11OutputBuffer.java:400) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.coyote.http11.Http11OutputBuffer.sendHeader(Http11OutputBuffer.java:379) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.coyote.http11.Http11Processor.writeHeaders(Http11Processor.java:1048) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.coyote.http11.Http11Processor.prepareResponse(Http11Processor.java:1035) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.coyote.AbstractProcessor.action(AbstractProcessor.java:377) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.coyote.Response.action(Response.java:210) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.coyote.Response.commit(Response.java:464) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:285) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:244) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.catalina.connector.Response.finishResponse(Response.java:421) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:373) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:384) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) ~[tomcat-embed-core-10.1.30.jar!/:na]
at java.base/java.lang.Thread.run(Unknown Source) ~[na:na]
2024-09-28T14:10:04.069Z WARN 1 --- [nio-8080-exec-6] o.apache.coyote.http11.Http11Processor : The HTTP response header [Set-Cookie] with value [的的=的的; Path=/] has been removed from the response because it is invalid
java.lang.IllegalArgumentException: The Unicode character [的] at code point [30,340] cannot be encoded as it is outside the permitted range of 0 to 255
at org.apache.tomcat.util.buf.MessageBytes.toBytesSimple(MessageBytes.java:310) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.tomcat.util.buf.MessageBytes.toBytes(MessageBytes.java:283) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.coyote.http11.Http11OutputBuffer.write(Http11OutputBuffer.java:400) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.coyote.http11.Http11OutputBuffer.sendHeader(Http11OutputBuffer.java:379) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.coyote.http11.Http11Processor.writeHeaders(Http11Processor.java:1048) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.coyote.http11.Http11Processor.prepareResponse(Http11Processor.java:1035) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.coyote.AbstractProcessor.action(AbstractProcessor.java:377) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.coyote.Response.action(Response.java:210) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.coyote.Response.commit(Response.java:464) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:285) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:244) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.catalina.connector.Response.finishResponse(Response.java:421) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:373) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:384) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) ~[tomcat-embed-core-10.1.30.jar!/:na]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) ~[tomcat-embed-core-10.1.30.jar!/:na]
at java.base/java.lang.Thread.run(Unknown Source) ~[na:na]
xref https://github.com/renaesop/blog/issues/4