Google chrome 零大小回复:Squid未收到此请求的任何数据
我明白了:-Google chrome 零大小回复:Squid未收到此请求的任何数据,google-chrome,localhost,squid,Google Chrome,Localhost,Squid,我明白了:- The requested URL could not be retrieved While trying to retrieve the URL: http://localhost:8080/? The following error was encountered: Zero Sized Reply Squid did not receive any d
The requested URL could not be retrieved
While trying to retrieve the URL: http://localhost:8080/?
The following error was encountered:
Zero Sized Reply
Squid did not receive any data for this request.
Your cache administrator is internet.
Generated Thu, 12 Jun 2014 06:35:51 GMT by Uranus_BLR (squid)
我正在尝试使用EclipseIDE运行web应用程序。只有chrome(im使用34.0.1825.4版)显示此错误其他浏览器正常,工作正常。
我ping了localhost
以下是ping命令的控制台日志:-
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Ping statistics for 127.0.0.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
回复127.0.0.1:bytes=32次这可以通过创建主机条目并取消选中自动检测设置来解决:
remove ipv6 localhost entry ::1 with ipv4 127.0.0.1
e.g >> 127.0.0.1 localhost
[ path to host file is :: C:\Windows\System32\drivers\etc]
Goto internet options > connection > LAN settings and uncheck the automatically detect settings.
尝试向squid.conf添加一个选项:
server_http11 on
重新启动鱿鱼。它为我解决了麻烦。用户报告他们得到了零字节回复。用户试图通过与443不同的端口使用https地址,即
我将端口(即4433)添加到squid.conf文件中的acl-Safe_-Ports和acl-SSL_-Ports指令中,运行squid-k reconfigure,瞧,它成功了
在您尝试在8080上访问http的场景中,只需将行“acl Safe_Ports port 8080”添加到squid.conf文件中
您只需确保您打开的端口不会危及您的安全。此外,对于一些用户,我的网络中也存在同样的问题。幸运的是,该网站是在本地网络上托管的,我只是将该网站设置为代理例外。它解决了我的问题。希望它对你有帮助 为什么要删除所有连接的代理设置?难道不应该解释一下这个指令的含义吗?这个指令已经过时了。