NutzCN Logo
问答 用的阿里服务器,经常会报这个错,然后服务器就挂了
发布于 2659天前 作者 海边的小男孩 1708 次浏览 复制 上一个帖子 下一个帖子
标签:

日志报错如下,请大神解惑

10, 2017 7:45:56 上午 org.apache.coyote.http11.AbstractHttp11Processor process
信息: Error parsing HTTP request header
 Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.
java.lang.IllegalArgumentException: Invalid character (CR or LF) found in method name
	at org.apache.coyote.http11.InternalAprInputBuffer.parseRequestLine(InternalAprInputBuffer.java:177)
	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.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2517)
	at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2506)
	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)

而且,经常会有人很奇怪的访问服务器,localhost_access_log日志如下

140.205.225.189 - - [11/Aug/2017:13:38:22 +0800] "GET /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:38:22 +0800] "POST /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:38:22 +0800] "GET /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:38:22 +0800] "POST /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:38:22 +0800] "GET /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:38:22 +0800] "POST /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:38:22 +0800] "GET /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:38:22 +0800] "POST /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:38:22 +0800] "GET /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:38:23 +0800] "POST /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:38:23 +0800] "GET /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:38:23 +0800] "POST /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:38:23 +0800] "GET /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:38:23 +0800] "POST /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:38:23 +0800] "GET /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:38:23 +0800] "POST /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:38:23 +0800] "GET /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:38:23 +0800] "POST /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:38:23 +0800] "GET /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:38:23 +0800] "POST /phpmyadmin/ HTTP/1.1" 404 973
140.205.225.189 - - [11/Aug/2017:13:49:09 +0800] "GET /rs-status HTTP/1.1" 404 969
140.205.225.189 - - [11/Aug/2017:13:49:19 +0800] "POST /beripxlykvuh HTTP/1.1" 404 975
140.205.225.189 - - [11/Aug/2017:13:49:19 +0800] "GET /beripxlykvuh HTTP/1.1" 404 975
140.205.225.189 - - [11/Aug/2017:13:49:19 +0800] "DELETE /beripxlykvuh HTTP/1.1" 403 961
140.205.225.189 - - [11/Aug/2017:13:52:00 +0800] "GET /ganglia/index.php HTTP/1.1" 404 985
3 回复

被扫描了,前面放个nginx拦截一下完事

java.lang.IllegalArgumentException: Invalid character (CR or LF) found in method name,这个错误是什么意思呢?怎么会直接把服务器搞挂掉?

只是报一下异常,不会挂的

添加回复
请先登陆
回到顶部