6

when i type chrome://help/ in Chrome's address bar, i get

Version 41.0.2272.101 m Google Chrome is up to date.

but when i try to go to https://twitter.com i get on win8.1:

This web page is not available Hide details The web page at https://twitter.com/ might be temporarily down or it may have moved permanently to a new web address. Error code: ERR_INVALID_CHUNKED_ENCODING

Please note that when i use another computer on my home network, i am able to log on to twitter.

on the win8.1 PC, using internet explorer,
i get a different error for https://twitter.com :

https://twitter.com/sessions This page can’t be displayed
•Make sure the web address https://twitter.com is correct. •Look for the page with your search engine. •Refresh the page in a few minutes.

CharlieRB
  • 23,021
  • 6
  • 60
  • 107

5 Answers5

4

For the Chrome error ERR_INVALID_CHUNKED_ENCODING, it can be because of many reasons. For example, if this helps diagnose the problem, I was once sending 0xDE\r\n instead of DE\r\n for the chunk length with chunked encoding. It worked flawlessly with Python's urllib.request and wget. Soon as I used Chrome it with ERR_INVALID_CHUNKED_ENCODING.

The point being that if any specific part of the response is modified by the proxy even when other applications work fine then it is possible you will get this error. It could be an incorrect chunk length or incorrect \r\n delimiters.

The minimal response that works with Chrome currently is:

HTTP/1.1 200 OK\r\n
Transfer-Encoding: chunked\r\n
Connection: <what-is-going-to-happen-to-connection\r\n
\r\n
a\r\n
1234567890\r\n
0\r\n
\r\n

This should help with diagnosing faults for Chrome with invalid chunked encoding errors.

kmcguire
  • 141
4

Follow These Steps

1) First go to control panel > internet options > Connections > LAN Settings.

2) Then Deselect Use Proxy For Your LAN

ERR_INVALID_CHUNKED_ENCODING

Ramhound
  • 44,080
1

My system showed nothing in the Proxy setting, but uninstalling BitDefender Total Security fixed this for me

1

If you are using bit defender go to bit defender settings-> web protection, then off all the security parameters.

ADKD
  • 11
0

It is about server side problem. The user has running web service does not right access to web server cache folder.

  1. Make sure nginx user can write to /var/lib/nginx (or /var/cache/nginx in some distros).
  2. Make sure nginx user can write to the folder (find the nginx user form nginx configuration file is located usually in /etc/nginx/nginx.conf)
  3. Give the right access (chown -R nginx:nginx /var/lib/nginx/) Reload the service(-service nginx reload -in centos)
ganji
  • 101