admin管理员组文章数量:1414921
Today I am facing a incomplete chunked encoding error in google chrome http request, this is my request:
curl 'http://192.168.116.89:30880/kapis/iam.kubesphere.io/v1alpha2/workspaces/youxue-dev/workspacemembers/jiangxiaoqiang/workspaceroles' \
-H 'Accept: */*' \
-H 'Accept-Language: zh-CN,zh;q=0.9' \
-H 'Connection: keep-alive' \
-b 'device=desktop; theme=default; keepLogin=on; hideMenu=false; executionTaskOrder=status%2Cid_desc; za=jiangxiaoqiang; preProductID=2; preBranch=0; preExecutionID=30; vision=rnd; lastProject=3; lastDocModule=226; zp=b168e5b119bd197f353d6f67f7049e775bbfe5bc; tab=my; lang=zh; oAuthLoginInfo=; token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJrdWJlc3BoZXJlIiwic3ViIjoiamlhbmd4aWFvcWlhbmciLCJleHAiOjE3NDAxMDgwMTUsImlhdCI6MTc0MDEwMDgxNSwidG9rZW5fdHlwZSI6ImFjY2Vzc190b2tlbiIsInVzZXJuYW1lIjoiamlhbmd4aWFvcWlhbmcifQ.ysdfF15WzDApGhFVkEs5kt1nQeueEJOkgXyEsa7SWUM; expire=1740108015035; refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJrdWJlc3BoZXJlIiwic3ViIjoiamlhbmd4aWFvcWlhbmciLCJleHAiOjE3NDAxMTUyMTUsImlhdCI6MTc0MDEwMDgxNSwidG9rZW5fdHlwZSI6InJlZnJlc2hfdG9rZW4iLCJ1c2VybmFtZSI6ImppYW5neGlhb3FpYW5nIn0.DqpkCgG2ySTsFz08cCWy-q1bebjzC_rTwWCaRyTeLkA' \
-H 'Referer: http://192.168.116.89:30880/workspaces/youxue-dev' \
-H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36' \
-H 'content-type: application/json' \
--insecure
and this is the request header:
GET /kapis/iam.kubesphere.io/v1alpha2/workspaces/youxue-dev/workspacemembers/jiangxiaoqiang/workspaceroles HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9
Connection: keep-alive
Cookie: device=desktop; theme=default; keepLogin=on; hideMenu=false; executionTaskOrder=status%2Cid_desc; za=jiangxiaoqiang; preProductID=2; preBranch=0; preExecutionID=30; vision=rnd; lastProject=3; lastDocModule=226; zp=b168e5b119bd197f353d6f67f7049e775bbfe5bc; tab=my; lang=zh; oAuthLoginInfo=; token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJrdWJlc3BoZXJlIiwic3ViIjoiamlhbmd4aWFvcWlhbmciLCJleHAiOjE3NDAxMDgwMTUsImlhdCI6MTc0MDEwMDgxNSwidG9rZW5fdHlwZSI6ImFjY2Vzc190b2tlbiIsInVzZXJuYW1lIjoiamlhbmd4aWFvcWlhbmcifQ.ysdfF15WzDApGhFVkEs5kt1nQeueEJOkgXyEsa7SWUM; expire=1740108015035; refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJrdWJlc3BoZXJlIiwic3ViIjoiamlhbmd4aWFvcWlhbmciLCJleHAiOjE3NDAxMTUyMTUsImlhdCI6MTc0MDEwMDgxNSwidG9rZW5fdHlwZSI6InJlZnJlc2hfdG9rZW4iLCJ1c2VybmFtZSI6ImppYW5neGlhb3FpYW5nIn0.DqpkCgG2ySTsFz08cCWy-q1bebjzC_rTwWCaRyTeLkA
Host: 192.168.116.89:30880
Referer: http://192.168.116.89:30880/workspaces/youxue-dev
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
content-type: application/json
this is the response header:
HTTP/1.1 200 OK
Vary: Accept-Encoding
content-type: application/json
date: Fri, 21 Feb 2025 01:50:31 GMT
connection: close
transfer-encoding: chunked
I have already test with google chrome browser, it shows incomplete chunked encoding error net::ERR_INCOMPLETE_CHUNKED_ENCODING
error, the version is 133.0.6943.99. the google chrome with private access it works. change the browser to firefox, it works. how can I found where is going wrong? I use the chromium 135.0.7028.0, did not work. Seems the new version issue.
Today I am facing a incomplete chunked encoding error in google chrome http request, this is my request:
curl 'http://192.168.116.89:30880/kapis/iam.kubesphere.io/v1alpha2/workspaces/youxue-dev/workspacemembers/jiangxiaoqiang/workspaceroles' \
-H 'Accept: */*' \
-H 'Accept-Language: zh-CN,zh;q=0.9' \
-H 'Connection: keep-alive' \
-b 'device=desktop; theme=default; keepLogin=on; hideMenu=false; executionTaskOrder=status%2Cid_desc; za=jiangxiaoqiang; preProductID=2; preBranch=0; preExecutionID=30; vision=rnd; lastProject=3; lastDocModule=226; zp=b168e5b119bd197f353d6f67f7049e775bbfe5bc; tab=my; lang=zh; oAuthLoginInfo=; token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJrdWJlc3BoZXJlIiwic3ViIjoiamlhbmd4aWFvcWlhbmciLCJleHAiOjE3NDAxMDgwMTUsImlhdCI6MTc0MDEwMDgxNSwidG9rZW5fdHlwZSI6ImFjY2Vzc190b2tlbiIsInVzZXJuYW1lIjoiamlhbmd4aWFvcWlhbmcifQ.ysdfF15WzDApGhFVkEs5kt1nQeueEJOkgXyEsa7SWUM; expire=1740108015035; refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJrdWJlc3BoZXJlIiwic3ViIjoiamlhbmd4aWFvcWlhbmciLCJleHAiOjE3NDAxMTUyMTUsImlhdCI6MTc0MDEwMDgxNSwidG9rZW5fdHlwZSI6InJlZnJlc2hfdG9rZW4iLCJ1c2VybmFtZSI6ImppYW5neGlhb3FpYW5nIn0.DqpkCgG2ySTsFz08cCWy-q1bebjzC_rTwWCaRyTeLkA' \
-H 'Referer: http://192.168.116.89:30880/workspaces/youxue-dev' \
-H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36' \
-H 'content-type: application/json' \
--insecure
and this is the request header:
GET /kapis/iam.kubesphere.io/v1alpha2/workspaces/youxue-dev/workspacemembers/jiangxiaoqiang/workspaceroles HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9
Connection: keep-alive
Cookie: device=desktop; theme=default; keepLogin=on; hideMenu=false; executionTaskOrder=status%2Cid_desc; za=jiangxiaoqiang; preProductID=2; preBranch=0; preExecutionID=30; vision=rnd; lastProject=3; lastDocModule=226; zp=b168e5b119bd197f353d6f67f7049e775bbfe5bc; tab=my; lang=zh; oAuthLoginInfo=; token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJrdWJlc3BoZXJlIiwic3ViIjoiamlhbmd4aWFvcWlhbmciLCJleHAiOjE3NDAxMDgwMTUsImlhdCI6MTc0MDEwMDgxNSwidG9rZW5fdHlwZSI6ImFjY2Vzc190b2tlbiIsInVzZXJuYW1lIjoiamlhbmd4aWFvcWlhbmcifQ.ysdfF15WzDApGhFVkEs5kt1nQeueEJOkgXyEsa7SWUM; expire=1740108015035; refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJrdWJlc3BoZXJlIiwic3ViIjoiamlhbmd4aWFvcWlhbmciLCJleHAiOjE3NDAxMTUyMTUsImlhdCI6MTc0MDEwMDgxNSwidG9rZW5fdHlwZSI6InJlZnJlc2hfdG9rZW4iLCJ1c2VybmFtZSI6ImppYW5neGlhb3FpYW5nIn0.DqpkCgG2ySTsFz08cCWy-q1bebjzC_rTwWCaRyTeLkA
Host: 192.168.116.89:30880
Referer: http://192.168.116.89:30880/workspaces/youxue-dev
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
content-type: application/json
this is the response header:
HTTP/1.1 200 OK
Vary: Accept-Encoding
content-type: application/json
date: Fri, 21 Feb 2025 01:50:31 GMT
connection: close
transfer-encoding: chunked
I have already test with google chrome browser, it shows incomplete chunked encoding error net::ERR_INCOMPLETE_CHUNKED_ENCODING
error, the version is 133.0.6943.99. the google chrome with private access it works. change the browser to firefox, it works. how can I found where is going wrong? I use the chromium 135.0.7028.0, did not work. Seems the new version issue.
- I am getting the same issue when I updated the Chrome today! – Ben Dev Commented Feb 21 at 9:36
- but the google chrome private model seems did not have this issue. – Dolphin Commented Feb 21 at 11:10
1 Answer
Reset to default 2I started to have the same issue this morning after updating Chrome to 133.0.6943.127. Since the update, chunked encoding seems to work when wrapped inside a TLS tunnel but fails intermittently with this error when using plain-text HTTP.
Other HTTP clients like CURL and Firefox work, and I can't see anything wrong with the raw packets in Wireshark, so it does appear to be a bug in Chrome.
EDIT: I tested another HTTP server that was NOT using the "Connection: close" response header and the problem did not occur. This problem may require both response headers.
本文标签: incomplete chunked encoding with http requestStack Overflow
版权声明:本文标题:incomplete chunked encoding with http request - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745170723a2645956.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论