日期:2014-05-16  浏览次数:20745 次

使用squid代理不能访问scfai
这个网站xsc.scfai.edu.cn,我发现不能使用squid代理去访问。之前是squid2.7,我把squid升级成3.0后依然不能访问这个网站。现象是打开网址时浏览器长时间的出于等待的状态,最后是连接超时。浏览器的错误信息是While trying to retrieve the URL: http://xsc.scfai.edu.cn/Job/Show.asp?Typ=2&ID=263
The following error was encountered:

  * Read Error 

The system returned:

  (104) Connection reset by peer

An error condition occurred while reading data from the network. Please retry your request. 
在squid的access.log中能看到的是1256269954.948 853549 10.41.0.91 TCP_MISS/000 0 GET http://xsc.scfai.edu.cn/Job/Show.asp? - DIRECT/210.41.56.21 -

------解决方案--------------------
/etc/squid.conf配置文件拿出来看看。文件很大,只找几个关键自吧。
http_port
http_access
acl