1
回答
net::ERR_INCOMPLETE_CHUNKED_ENCODING(failed)
开发十年,就只剩下这套Java开发体系了   

用flash请求一个http请求,返回 json结构的数据,用火狐访问没问题,用谷歌浏览器内核的访问就报net::ERR_INCOMPLETE_CHUNKED_ENCODING(failed),请问大神这是什么问题呀?服务器用了代理nginx。主网站用的JAVA语言,spring 的mvc
用Wireshark截取的tcp数据流,也没发现有什么异常。
谷歌内核的数据流如下

GET /flash_data.do?t=0%2E5859917909838259 HTTP/1.1
Host: 隐藏,,不显示
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36
Accept-Encoding: gzip, deflate, sdch
Accept-Language: zh-CN,zh;q=0.8
Cookie: JSESSIONID=936704B6BDD3E3E8ADFDC568F869A5D4; _ga=GA1.2.1200210736.1489049029
 
HTTP/1.1 200 OK
Server: Tengine/2.1.2
Date: Fri, 24 Mar 2017 07:20:33 GMT
Content-Type: application/json;charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Vary: Accept-Encoding
 
e9
{"next":.......数据内容省略.....

火狐浏览器的TCP数据流

GET /flash_data.do?t=0%2E5859917909838259 HTTP/1.1
Host: 隐藏,,不显示
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Cookie: _ga=GA1.2.834559415.1490249495
Connection: keep-alive
Upgrade-Insecure-Requests: 1
Cache-Control: max-age=0
 
HTTP/1.1 200 OK
Server: Tengine/2.1.2
Date: Fri, 24 Mar 2017 07:20:35 GMT
Content-Type: application/json;charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Vary: Accept-Encoding
 
e9
{"next":.......数据内容省略.....

项目上其他请求都是正常使用的,不分火狐,谷歌,还是IE,都能正常使用的,唯独flash请求数据用的两个接口,会出现这种情况,而且也不是百分之分的出现,我同事的电脑,谷歌内核的测试就没有问题,我的电脑,还有一部分客户的电脑,都出现这种错误信息。。。。

举报
行者爷爷
发帖于2年前 1回/7K+阅
顶部