further occurrences of HTTP header parsing errors will be logged at DEBUG level.错误
来源:互联网 发布:jquery post 返回json 编辑:程序博客网 时间:2024/05/22 07:01
今天进行项目测试的时候出现了further occurrences of HTTP header parsing errors will be logged at DEBUG level.错误,查了半天资料,稍微总结一下:
1、错误报文:
信息: Error parsing HTTP request header
Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.
2、网上查询出来这个错误的相关原因
Tomcat的header缓冲区大小不够,需要在server.xml中增加maxHttpHeaderSize字段,这个server.xml文件在tomcat安装目录下的config目录下
在相应的位置添加 maxHttpHeaderSize属性并赋值 如:maxHttpHeaderSize=4096
<Connector URIEncoding="UTF-8" port="8080" protocol="org.apache.coyote.http11.Http11NioProtocol" useBodyEncodingForURI="false" enableLookups="false" connectionTimeout="20000" redirectPort="8443" maxHttpHeaderSize="你想要的大小"/>
然后重启tomcat,实验了一下不好使
3、最后我的错误
然后我仔细分析一下我的错误报文: further occurrences of HTTP header parsing errors will be logged at DEBUG level
http的头解析错误,将会在调试的时候记录,
如果不是缓冲区不够的话,那么会不会是报文的head中的信息有误,这就然我很自然的的想法http和https两个头部的不同,我看了一下我的url,发现使用的是https,当我把https改成http然后故障消除。
阅读全文
0 0
- Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.错误解决办法
- further occurrences of HTTP header parsing errors will be logged at DEBUG level.错误
- 报错Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.
- tomcat further occurrences of HTTP header parsing errors will be logged at DEBUG level.
- 解决 Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level问题
- bug--Note: further occurrences of Cookie errors will be logged at DEBUG level.
- tom8 报错 Http header parsing errors will be logged at DEBUG level
- [Java Web]Error parsing HTTP request header Note: further occurrences of HTTP header parsing errors
- Error parsing HTTP request header Note: further occurrences of HTTP header parsing errors
- [Java Web]Error parsing HTTP request header Note: further occurrences of HTTP header parsing errors
- [Java Web]Error parsing HTTP request header Note: further occurrences of HTTP header parsing errors
- tomcat报错 error parsing HTTP request header Note: further occurrences of HTTP header parsing errors
- Error parsing HTTP request header Note: further occurrences of HTTP header parsing errors
- Error parsing HTTP request header Note: further occurrences of HTTP header parsing errors
- 使用IE浏览器访问项目,后台报错Error parsing HTTP request headerNote: further occurrences of HTTP header parsing er
- dojo/request 出现tomcat报错 error parsing HTTP request header Note: further occurrences of HTTP header..
- tomcat header parsing errors
- Xcode 5 layout errors - Misplaced View Frame for Label will be different at runtime
- MySql基础命令
- 欧拉函数 打表
- selenium账号密码验证并退出
- HashTable vs HashMap
- Struts :Exception starting filter struts2
- further occurrences of HTTP header parsing errors will be logged at DEBUG level.错误
- 洛谷P2831 [Noip2016]愤怒的小鸟
- Python报错TypeError: 'str' object is not callable
- OpenCV实现膨胀与腐蚀
- python:logistic,softmax函数
- AC自动机
- 浏览器缓存详解:expires,cache-control,last-modified,etag详细说明
- 【剑指offer】面试题61:扑克牌中的顺子
- 使用Oracle VM VirtualBox安装Ubuntu14.04.5并安装jdk,tomcat