Note: further occurrences of HTTP request parsing errors will be logged at DEBUG level.

错误场景:在不同的网站做跨域测试。

错误原因:自己的是http的请求方式,但是被测试的网站是https的请求方式

Note: further occurrences of HTTP request parsing errors will be logged at DEBUG level.

java.lang.IllegalArgumentException: Invalid character found in method name [https0xd50x010x000x000xc80x010x000x00f0x000x000x00"0x0a0x000x000x000x000x000x00ThinkPad-PC0x000x000x000x000x000x000x000x000x000x000x000x000x000x900x1f0x000x000x000x000x000x000x8020xe00x010x000x000x000x000xb6e0x8ew0x000x000x000x000x000x000x000x000x000x000x000x00P00x9f0x010x000x000x000x0000xbd,0x030x000x000x000x00@00x9f0x010x000x000x000x000x8020xe00x010x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00]. HTTP method names must be tokens
	at org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:417) ~[tomcat-embed-core-9.0.41.jar:9.0.41]
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:261) ~[tomcat-embed-core-9.0.41.jar:9.0.41]
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-embed-core-9.0.41.jar:9.0.41]
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:888) [tomcat-embed-core-9.0.41.jar:9.0.41]
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1597) [tomcat-embed-core-9.0.41.jar:9.0.41]
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.41.jar:9.0.41]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_151]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_151]
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.41.jar:9.0.41]
	at java.lang.Thread.run(Thread.java:748) [na:1.8.0_151]

Note: further occurrences of HTTP request parsing errors will be logged at DEBUG level._第1张图片

你可能感兴趣的:(Note: further occurrences of HTTP request parsing errors will be logged at DEBUG level.)