1,拉取最新版本,仍然经常报下面的错误:
java.lang.IllegalArgumentException: The character [3] is not valid after a period in a domain name
2,详细异常信息如下:
org.apache.coyote.http11.Http11Processor.parseHost The host header [www. 域名.com:8080] failed validation with the error [The character [3] is not valid after a period in a domain name.]. Processing of the request will continue but Tomcat will reject these requests with a 400 response in a future release.
Note: further occurrences of HTTP request parsing errors will be logged at DEBUG level.
java.lang.IllegalArgumentException: The character [3] is not valid after a period in a domain name.
at org.apache.tomcat.util.http.parser.HttpParser$DomainParseState.next(HttpParser.java:725)
at org.apache.tomcat.util.http.parser.HttpParser.readHostDomainName(HttpParser.java:657)
at org.apache.tomcat.util.http.parser.Host.parse(Host.java:69)
at org.apache.tomcat.util.http.parser.Host.parse(Host.java:42)
at org.apache.coyote.http11.Http11Processor.parseHost(Http11Processor.java:1111)
at org.apache.coyote.http11.Http11Processor.prepareRequest(Http11Processor.java:855)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:476)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:754)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1376)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
欢迎来到这里!
我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。
注册 关于