本文主要是介绍大佬们,救救可怜的孩子吧,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
特发性震颤
本地post上传就没任何问题,部署到服务器后,前端post上传数据,小数据就没问题,数据一大点就报这个错
Java代码 ?
1个 2 3 4 5 6 7 8 9 10 11 12 13 14 | 2020 - 06 - 14 00 : 35 : 28.783 INFO 11996 --- [nio- 9090 -exec- 1 ] o.apache.coyote.http11.Http11Processor : Error parsing HTTP request header Note: further occurrences of HTTP request parsing errors will be logged at DEBUG level. java.lang.IllegalArgumentException: Invalid character found in method name. HTTP method names must be tokens at org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java: 416 ) ~[tomcat-embed-core- 9.0 . 31 .jar!/: 9.0 . 31 ] at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java: 260 ) ~[tomcat-embed-core- 9.0 . 31 .jar!/: 9.0 . 31 ] at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java: 65 ) [tomcat-embed-core- 9.0 . 31 .jar!/: 9.0 . 31 ] at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java: 868 ) [tomcat-embed-core- 9.0 . 31 .jar!/: 9.0 . 31 ] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java: 1639 ) [tomcat-embed-core- 9.0 . 31 .jar!/: 9.0 . 31 ] at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java: 49 ) [tomcat-embed-core- 9.0 . 31 .jar!/: 9.0 . 31 ] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java: 1149 ) [na: 1.8 .0_252] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java: 624 ) [na: 1.8 .0_252] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java: 61 ) [tomcat-embed-core- 9.0 . 31 .jar!/: 9.0 . 31 ] at java.lang.Thread.run(Thread.java: 748 ) [na: 1.8 .0_252] |
application.properties配置如下
Java代码 ?
1个 2 3 4 5 6 7 8 9 10 11 12 13 | spring.servlet.multipart.max-file-size = - 1 spring.servlet.multipart.max-request-size = - 1 server.tomcat.max-http-form-post-size = - 1 server.max-http-header-size = 10000000 #https端口号. server.port= 9090 #证书的路径. server.ssl.key-store=/root/springboot/jyc.jks #证书密码 server.ssl.key-store-password=gmk51ng94nh #秘钥库类型 server.ssl.keyStoreType = JKS |
这篇关于大佬们,救救可怜的孩子吧的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!