开发者社区> 问答> 正文

阿里云上的tomcat每天收到错误:java.lang.IllegalArgumentException: Invalid character (CR or LF) found in method name

服务器每天收到错误:java.lang.IllegalArgumentException: Invalid character (CR or LF) found in method name

at org.apache.coyote.http11.InternalInputBuffer.parseRequestLine(InternalInputBuffer.java:131)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:992)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)

暂时没有导致服务器挂掉。
140.205.201.47 - - [16/Oct/2017:03:19:17 +0800] "GET / HTTP/1.1" 200 2738
140.205.201.47 - - [16/Oct/2017:03:19:17 +0800] "GET /wp-json/wp/v2/posts HTTP/1.1" 404 1144
140.205.201.47 - - [16/Oct/2017:03:19:17 +0800] "-" 400 -
140.205.201.47 - - [16/Oct/2017:03:19:18 +0800] "-" 400 -
查询log日志,该请求均来自阿里云网络,网络上搜索不到相关解决方案。请大神们帮忙诊断一下!

展开
收起
shimao 2016-06-13 14:30:02 9149 0
0 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
从《阿里巴巴Java开发手册》编写推广谈技术成长 立即下载
如何通过 Serverless 提高 Java 微服务治理效 立即下载
Spring Cloud Alibaba - 重新定义 Java Cloud-Native 立即下载