This is a discussion on squid/2.5.STABLE3 Error within the Linux software forums, part of the Linux Getting Started category; Hey Pals! I am having problem with my squid/2.5.STABLE3 when i visit a website without squid everything is fine but ...
|
|||||||
| Register | FAQ | Members List | Calendar | Forgotten your password? | Mark Forums Read |
|
|||
|
Hey Pals!
I am having problem with my squid/2.5.STABLE3 when i visit a website without squid everything is fine but when i use my quid proxy it returns with the error The following error was encountered: Invalid Response The HTTP Response message received from the contacted server could not be understood or was otherwise malformed. Please contact the site operator. Your cache administrator may be able to provide you with more details about the exact nature of the problem if needed. Your cache administrator is root. when i check with the web admin of the target site, he asked me to exclude his website from my squid.conf. i use following configuration to exclude the target website excluding from squid. acl web1 dstdomain <target WebsiteURL> always_direct deny web1 no_cache deny web1 can you help me where i am doing mistake coz i am stuck to it .. hope you gurus can help me |
| Sponsored Links | ||
|
|
|
|||
|
Hi Pal,
Firsth thanks for considering me. i really appritiate your help. well i am still having same. i cant browse the site which i wana exclude from my squid. and still i am having same invalid response eroor for that particular link. i am sending you detailed description of my squid.conf. please check where i am really missing. and i am new in linux world so can you guide me how can i check logs and what part of log you wana see. Cheers! ishu My squid.conf acl all src 0.0.0.0/0.0.0.0 acl manager proto cache_object acl localhost src 127.0.0.1/255.255.255.255 acl to_localhost dst 127.0.0.0/8 acl Direct dstdomain .cyberciti.biz always_direct allow Direct http_access deny xuser !okurls http_access allow exemptusers http_access deny domainusers restrictdomains http_access allow domainusers http_access allow manager localhost http_access deny manager http_access deny !Safe_ports http_access deny CONNECT !SSL_ports http_access deny to_localhost http_access deny all http_access allow manager localhost http_access deny manager http_access deny !Safe_ports http_access deny CONNECT !SSL_ports acl our_networks src 192.168.10.0/24 192.168.30.0/24 192.168.50.0/24 192.168.60.0/24 192.168.70.0/24 http_access allow our_networks http_access allow localhost http_access deny all http_reply_access allow all |
|
||||
|
ishu,
did you replace domain .cyberciti.biz with actual domain name? Code:
acl Direct dstdomain .cyberciti.biz
__________________
Rocky Jr. You may have my body & soul, but you will never touch my pride! If you have knowledge, let others light their candles at it. Certified to work on HP-UX / Sun Solaris / RedHat |
|
|||
|
When i visit the particular link it enters the folowing stuff in Access.log
Code:
1153272327.807 4101 192.168.10.88 TCP_MISS/200 13302 CONNECT asp.tramada.com.au:443 imasood DIRECT/210.9.155.197 - 1153272334.885 3 192.168.10.43 TCP_DENIED/407 1713 OPTIONS http://idisk.mac.com/bly3/ - NONE/- text/html 1153272335.097 303 192.168.10.88 TCP_MISS/502 1983 GET http://webres.tramada.com.au/cgi-bin/WebObjects.dll/webres.woa/wa/travelarrangerCustomerSearch? imasood DIRECT/210.193.216.7 text/html 1153272335.301 398 192.168.10.43 TCP_MISS/503 968 OPTIONS http://idisk.mac.com/bly3/ bly DIRECT/17.250.248.77 text/html 1153272335.302 2776 192.168.10.88 TCP_MISS/200 2504 CONNECT asp.tramada.com.au:443 imasood DIRECT/203.63.44.98 - 1153272336.895 1 192.168.10.43 TCP_DENIED/407 1713 OPTIONS http://idisk.mac.com/bly3/ - NONE/- text/html 1153272337.284 389 192.168.10.43 TCP_MISS/503 968 OPTIONS http://idisk.mac.com/bly3/ bly DIRECT/17.250.248.77 text/html Code:
1153272451.675 216 192.168.10.88 TCP_MISS/502 1983 GET http://webres.tramada.com.au/cgi-bin/WebObjects.dll/webres.woa/wa/travelarrangerCustomerSearch? imasood DIRECT/210.193.216.7 text/html |
|
||||
|
Hi isue.,
Your proxy is configured properly to direct access for webres.tramada.com.au. From your log i can tell this is webserver problem and not your proxy server problem. I am here using following three lines only for domain .cyberciti.biz: Code:
acl web1 dstdomain .cyberciti.biz always_direct allow web1 no_cache deny web1 153331536.598 5599 127.0.0.1 TCP_MISS/200 49018 GET http://www.cyberciti.biz/images/misc/logo.jpg - DIRECT/68.142.234.44 image/jpeg And command netstat -vat returns direct connection to www.cyberciti.biz (not from proxy port 312 Code:
proxy:18730 p5w6.geo.re2.yahoo.com.:www Also you need to see cache.log to see this error, if possible paste back cache.log HTH |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Squid Error | zakaferoz | Mail Servers | 1 | 02-12-2008 05:05 AM |
| squid service error loading on startup | asim.mcp | Linux software | 5 | 07-27-2006 03:29 PM |
| Invalid ICMP type 3 code 3 error to a broadcast -samba error | raj | Linux software | 0 | 07-09-2006 05:38 AM |
| Squid Error | rajuk | Linux software | 4 | 11-11-2005 04:05 PM |