使用squid代理时出现 The requested URL could not be retrieved
2019-04-26 10:20
2671 查看
问题:
当使用代理访问网站时出现以下错误:
========================================
The requested URL could not be retrieved
While trying to retrieve the URL: http://linkhelp.clients.google.com/tbproxy/lh/fixurl?
The following error was encountered:
Unable to determine IP address from host name for linkhelp.clients.google.com
The dnsserver returned:
Timeout
This means that:
The cache was not able to resolve the hostname presented in the URL.
Check if the address is correct.
Your cache administrator is root.
========================================
解决方法:
这是由于代理服务器机器的DNS配置问题,代理服务器机器不能找到指定url的ip地址导致。检查/etc/resolv.conf文件配置是否正确,如不正确添加正确的配置信息,比如说:
nameserver ###.###.###.###
nameserver ###.###.###.###
可以配置多个DNS server。
重新启动squid服务。
相关文章推荐
- 使用squid代理时出现“The requested URL could not be retrieved”
- 使用squid代理时出现“The requested URL could not be retrieved”
- nginx+Apache+squid出现error the requested URL could not be retrieved
- ERROR The requested URL could not be retrieved
- apache The requested URL could not be retrieved
- 【原创】ERROR The requested URL could not be retrieved
- ERROR:The requested URL could not be retrieved解决方法
- The requested URL could not be retrieved
- The requested URL could not be retrieved/ TCP_DENIED/403
- elasticsearch查询报错411状态码 The requested URL could not be retrieved
- The requested URL could not be retrieved
- 关于在xcode中使用Versions时,比较文件出现The File Merge application could not be located. 解决方法
- cocos2d-js 使用http时 出现 Response failed, error buffer: The resource could not be loaded because the Ap
- Visual Studio使用"go to definition"出现"A definition for the symbol '<symbolName>' could not be located
- Select标签出现了The requested list key 'noticeType' could not be resolved as a collection/array/map/enume
- 解决node-ffi在Windows XP上使用出现“Error: The specified procedure could not be found”的错误
- 关于在xcode中使用Versions时,比较文件出现The File Merge application could not be located. 解决方法
- .net4 wpf App 使用log4net 错误:The type or namespace name 'log4net' could not be found (are you missing a using directive or an assembly reference?)
- IIS出现The specified module could not be found解决方法
- qtopia_opensource-4.2.4配置时出现The system byte order could not be detected!