View previous topic :: View next topic |
Author |
Message |
mariourk l33t
Joined: 11 Jul 2003 Posts: 807 Location: Urk, Netherlands
|
Posted: Wed Jul 25, 2007 7:37 am Post subject: Strage Squid/DNS problems [solved] |
|
|
I'm having a weird problem I can't really understand. I'm using Squid as a tranparant proxy.
But some websites give trouble. When people try to visit them, they'll get this error in their browser:
Code: |
This page cannot be loaded because of a problem with the Web site.
the server "www.website.com" is redirecting in a way that will never complete.
|
When I bypass Squid, the page does not give any trouble at all. So I figure the problem is in Squid.
Does someone know what might be the problem? _________________ If there is one thing to learn from history, it's that we usualy don't learn anything from it, at all.
Last edited by mariourk on Thu Jul 26, 2007 8:11 am; edited 1 time in total |
|
Back to top |
|
|
di1bert l33t
Joined: 16 May 2002 Posts: 963 Location: Oslo, Norway
|
Posted: Wed Jul 25, 2007 8:22 am Post subject: |
|
|
Any chance you could paste the offending lines from your access logs ?
That might help with finding the problem....
-m |
|
Back to top |
|
|
mariourk l33t
Joined: 11 Jul 2003 Posts: 807 Location: Urk, Netherlands
|
Posted: Wed Jul 25, 2007 9:03 am Post subject: |
|
|
Sure, this is what access_log says:
Code: |
1185353965.468 82 192.168.1.14 TCP_REFRESH_HIT/200 51220 GET http://www.nrc.nl/nrc.nl/js/overlib.js - DIRECT/145.222.43.130 application/x-javascript
1185353965.506 288 192.168.1.14 TCP_MISS/200 94279 GET http://www.nrc.nl/ - DIRECT/145.222.43.130 text/html
1185353965.551 44 192.168.1.14 TCP_REFRESH_HIT/200 2252 GET http://www.nrc.nl/nrc.nl/js/up_print_mail.js - DIRECT/145.222.43.130 application/x-javascript
1185353965.596 45 192.168.1.14 TCP_REFRESH_HIT/200 6866 GET http://www.nrc.nl/nrc.nl/js/functions.js - DIRECT/145.222.43.130 application/x-javascript
1185353965.644 47 192.168.1.14 TCP_REFRESH_HIT/200 5432 GET http://www.nrc.nl/nrc.nl/js/poll_scripts.js - DIRECT/145.222.43.130 application/x-javascript
1185353965.688 44 192.168.1.14 TCP_REFRESH_HIT/200 1417 GET http://www.nrc.nl/nrc.nl/js/style_window.js - DIRECT/145.222.43.130 application/x-javascript
1185353965.731 42 192.168.1.14 TCP_REFRESH_HIT/200 1473 GET http://www.nrc.nl/nrc.nl/js/tabs.js - DIRECT/145.222.43.130 application/x-javascript
1185353965.771 40 192.168.1.14 TCP_REFRESH_HIT/200 1538 GET http://www.nrc.nl/nrc.nl/js/anp_nrchandelsblad_popup.js - DIRECT/145.222.43.130 application/x-javascript
1185353966.061 290 192.168.1.14 TCP_REFRESH_HIT/200 21586 GET http://www.nrc.nl/nrc.nl/js/slideshow.js - DIRECT/145.222.43.130 application/x-javascript
1185353966.110 49 192.168.1.14 TCP_REFRESH_HIT/200 6440 GET http://www.nrc.nl/nrc.nl/js/swfobject.js - DIRECT/145.222.43.130 application/x-javascript
1185353966.199 88 192.168.1.14 TCP_REFRESH_HIT/200 3343 GET http://www.nrc.nl/nrc.nl/js/eqCols.js - DIRECT/145.222.43.130 application/x-javascript
1185353966.303 104 192.168.1.14 TCP_REFRESH_HIT/200 5994 GET http://www.nrc.nl/nrc.nl/sitetrek/sitetrek.js - DIRECT/145.222.43.130 application/x-javascript
1185353966.357 54 192.168.1.14 TCP_REFRESH_HIT/200 33146 GET http://www.nrc.nl/nrc.nl/style/NRCstylesNew.css - DIRECT/145.222.43.130 text/css
1185353966.454 96 192.168.1.14 TCP_MISS/200 483 GET http://ad.uk.doubleclick.net/adj/nrc.nieuws.nl/voorpagina;dcopt=ist;sz=728x90;tile=1;ord=7840081573844783? - DIRECT/209.62.178.57 application/x-javascript
1185353966.455 1 192.168.1.14 TCP_HIT/200 415 GET http://m.uk.2mdn.net/viewad/817-grey.gif - NONE/- image/gif
1185353966.497 41 192.168.1.14 TCP_REFRESH_HIT/200 10476 GET http://www.nrc.nl/nrc.nl/style/masthead_new.css - DIRECT/145.222.43.130 text/css
1185353966.543 45 192.168.1.14 TCP_REFRESH_HIT/200 2313 GET http://www.nrc.nl/nrc.nl/js/userbalk.js - DIRECT/145.222.43.130 application/x-javascript
1185353966.592 48 192.168.1.14 TCP_MISS/200 3111 GET http://www.nrc.nl/nrc.nl/style/mastHead_abonnee.css - DIRECT/145.222.43.130 text/css
1185353966.634 41 192.168.1.14 TCP_REFRESH_HIT/200 6869 GET http://www.nrc.nl/nrc.nl/images/NRC_Handelsblad.gif - DIRECT/145.222.43.130 image/gif
1185353966.645 48 192.168.1.14 TCP_MISS/200 1604 GET http://ad.uk.doubleclick.net/adj/nrc.nieuws.nl/voorpagina;dcopt=ist;sz=468x60;tile=2;ord=7840081573844783? - DIRECT/209.62.178.57 application/x-javascript
1185353966.662 17 192.168.1.14 TCP_HIT/200 1188 GET http://m.uk.2mdn.net/879366/flashwrite_1_2.js - NONE/- application/x-javascript
1185353966.762 99 192.168.1.14 TCP_REFRESH_HIT/200 533 GET http://www.nrc.nl/nrc.nl/images/balkrood.gif - DIRECT/145.222.43.130 image/gif
1185353966.771 48 192.168.1.14 TCP_REFRESH_HIT/200 1286 GET http://www.nrc.nl/nrc.nl/images/balkgrijs.gif - DIRECT/145.222.43.130 image/gif
1185353966.782 51 192.168.1.14 TCP_MISS/200 1603 GET http://ad.uk.doubleclick.net/adj/nrc.nieuws.nl/voorpagina;dcopt=ist;sz=120x600;tile=3;ord=7840081573844783? - DIRECT/209.62.178.57 application/x-javascript
1185353967.035 48 192.168.1.14 TCP_REFRESH_HIT/200 509 GET http://www.nrc.nl/nrc.nl/images/spacer.gif - DIRECT/145.222.43.130 image/gif
1185353967.044 47 192.168.1.14 TCP_REFRESH_HIT/200 10860 GET http://www.nrc.nl/multimedia/archive/00182/vinokoerov_182185g.jpg - DIRECT/145.222.43.130 image/jpeg
1185353967.055 54 192.168.1.14 TCP_MISS/200 1644 GET http://www.nrc.nl/multimedia/archive/00181/abn_amro_ap_181901b.jpg - DIRECT/145.222.43.130 image/jpeg
1185353967.084 48 192.168.1.14 TCP_REFRESH_HIT/200 1911 GET http://www.nrc.nl/multimedia/archive/00182/pakistan_182187b.jpg - DIRECT/145.222.43.130 image/jpeg
1185353967.094 48 192.168.1.14 TCP_REFRESH_HIT/200 1927 GET http://www.nrc.nl/multimedia/archive/00182/bulgaren_1__vrijlat_182029b.jpg - DIRECT/145.222.43.130 image/jpeg
1185353967.121 64 192.168.1.14 TCP_MISS/200 719 GET http://www.google.com/coop/cse/brand? - DIRECT/64.233.183.103 text/html
1185353967.134 50 192.168.1.14 TCP_REFRESH_HIT/200 1659 GET http://www.nrc.nl/multimedia/archive/00182/myspace_182184b.jpg - DIRECT/145.222.43.130 image/jpeg
1185353967.141 359 192.168.1.14 TCP_MISS/200 25720 GET http://m.uk.2mdn.net/1146352/468x60_FamilieberichtenOnline_070307.swf? - DIRECT/216.73.84.107 application/octet-stream
1185353967.149 54 192.168.1.14 TCP_REFRESH_HIT/200 51925 GET http://www.nrc.nl/multimedia/archive/00182/button_joris_recens_182123a.jpg - DIRECT/145.222.43.130 image/jpeg
1185353967.173 52 192.168.1.14 TCP_REFRESH_HIT/200 10700 GET http://www.nrc.nl/multimedia/archive/00182/2407AP1_FOKSUKtease_182105a.gif - DIRECT/145.222.43.130 image/gif
1185353967.183 48 192.168.1.14 TCP_REFRESH_HIT/200 523 GET http://www.nrc.nl/nrc.nl/images/readmorearrow.gif - DIRECT/145.222.43.130 image/gif
1185353967.193 51 192.168.1.14 TCP_REFRESH_HIT/200 545 GET http://www.nrc.nl/nrc.nl/images/bg-roze-grijs-stippel-468.gif - DIRECT/145.222.43.130 image/gif
1185353967.238 2 192.168.1.14 TCP_MEM_HIT/200 1453 GET http://weblogs.nrc.nl/weblog/vignettes/rss_small/nextlog.jpg - NONE/- image/jpeg
1185353967.240 1 192.168.1.14 TCP_MEM_HIT/200 1851 GET http://weblogs.nrc.nl/weblog/vignettes/rss_small/aaf.jpg - NONE/- image/jpeg
1185353967.243 1 192.168.1.14 TCP_MEM_HIT/200 1261 GET http://weblogs.nrc.nl/weblog/vignettes/rss_small/kokenetc.jpg - NONE/- image/jpeg
1185353967.275 57 192.168.1.14 TCP_REFRESH_HIT/200 3354 GET http://www.nrc.nl/multimedia/archive/00019/nrc_next_vignet_145p_19589a.gif - DIRECT/145.222.43.130 image/gif
1185353967.328 52 192.168.1.14 TCP_MISS/200 1612 GET http://ad.uk.doubleclick.net/adj/nrc.nieuws.nl/voorpagina;dcopt=ist;sz=336x280;tile=4;ord=7840081573844783? - DIRECT/209.62.178.57 application/x-javascript
1185353968.374 1134 192.168.1.14 TCP_MISS/200 1596 GET http://weblogs.nrc.nl/weblog/rss/content/rss_item_images/img8204.jpg - DIRECT/213.206.88.38 image/jpeg
1185353968.378 1134 192.168.1.14 TCP_REFRESH_MISS/200 1875 GET http://weblogs.nrc.nl/weblog/rss/content/rss_item_images/img7836.jpg - DIRECT/213.206.88.38 image/jpeg
1185353968.393 1149 192.168.1.14 TCP_REFRESH_MISS/200 1568 GET http://weblogs.nrc.nl/weblog/rss/content/rss_item_images/img8202.jpg - DIRECT/213.206.88.38 image/jpeg
1185353968.395 1 192.168.1.14 TCP_MEM_HIT/200 1623 GET http://selectie.nrc.nl/files/admin/products/268fd.jpg - NONE/- image/jpeg
1185353968.430 1101 192.168.1.14 TCP_REFRESH_MISS/200 1457 GET http://weblogs.nrc.nl/weblog/rss/content/rss_item_images/img7492.jpg - DIRECT/213.206.88.38 image/jpeg
1185353968.434 39 192.168.1.14 TCP_REFRESH_HIT/200 4176 GET http://www.nrc.nl/multimedia/archive/00179/independent_minds_179289a.png - DIRECT/145.222.43.130 image/png
1185353968.484 53 192.168.1.14 TCP_REFRESH_HIT/200 8478 GET http://www.nrc.nl/multimedia/archive/00045/masthead_nrc_handels_45911a.jpg - DIRECT/145.222.43.130 image/jpeg
1185353968.489 54 192.168.1.14 TCP_REFRESH_HIT/200 3367 GET http://www.nrc.nl/digitaleeditie/today.jpg - DIRECT/145.222.43.130 image/jpeg
1185353968.511 132 192.168.1.14 TCP_MISS/200 11514 GET http://m.uk.2mdn.net/1170292/PCM-Shopper.swf? - DIRECT/216.73.84.107 application/octet-stream
1185353968.512 0 192.168.1.14 TCP_MEM_HIT/200 3334 GET http://selectie.nrc.nl/files/admin/products/361fd.gif - NONE/- image/gif
1185353968.541 56 192.168.1.14 TCP_REFRESH_HIT/200 1741 GET http://www.nrc.nl/multimedia/archive/00159/robeco_159701a.png - DIRECT/145.222.43.130 image/png
1185353968.546 56 192.168.1.14 TCP_REFRESH_HIT/200 5102 GET http://www.nrc.nl/multimedia/archive/00121/vp_ae_121659a.jpg - DIRECT/145.222.43.130 image/jpeg
1185353968.559 171 192.168.1.14 TCP_MISS/200 22478 GET http://m.uk.2mdn.net/1337287/336x280_Vrijnederland_240707.swf? - DIRECT/216.73.84.107 application/octet-stream
1185353968.598 56 192.168.1.14 TCP_REFRESH_HIT/200 18750 GET http://www.nrc.nl/multimedia/archive/00179/banner_F_S_336x97_179290a.jpg - DIRECT/145.222.43.130 image/jpeg
1185353969.162 38 192.168.1.14 TCP_REFRESH_HIT/200 514 GET http://www.nrc.nl/nrc.nl/images/right-tab-hover.gif - DIRECT/145.222.43.130 image/gif
1185353969.172 47 192.168.1.14 TCP_REFRESH_HIT/200 514 GET http://www.nrc.nl/nrc.nl/images/left-tab-hover.gif - DIRECT/145.222.43.130 image/gif
1185353969.184 59 192.168.1.14 TCP_REFRESH_HIT/200 513 GET http://www.nrc.nl/nrc.nl/images/left-tab.gif - DIRECT/145.222.43.130 image/gif
1185353969.195 62 192.168.1.14 TCP_MISS/302 848 GET http://www.nrc.nl/digitaleeditie/today.html - DIRECT/145.222.43.130 text/html
1185353969.215 52 192.168.1.14 TCP_REFRESH_HIT/200 514 GET http://www.nrc.nl/nrc.nl/images/right-tab.gif - DIRECT/145.222.43.130 image/gif
1185353969.492 297 192.168.1.14 TCP_MISS/302 1394 GET http://www.nrc.nl/action? - DIRECT/145.222.43.130 text/plain
1185353969.496 3 192.168.1.14 TCP_MEM_HIT/302 846 GET http://www.nrc.nl/digitaleeditie/today.html - NONE/- text/html
1185353969.506 995 192.168.1.14 TCP_REFRESH_MISS/200 1642 GET http://weblogs.nrc.nl/weblog/rss/content/rss_item_images/img8195.jpg - DIRECT/213.206.88.38 image/jpeg
1185353969.516 971 192.168.1.14 TCP_REFRESH_MISS/200 1798 GET http://weblogs.nrc.nl/weblog/rss/content/rss_item_images/img8183.jpg - DIRECT/213.206.88.38 image/jpeg
1185353969.520 962 192.168.1.14 TCP_REFRESH_MISS/200 1492 GET http://weblogs.nrc.nl/weblog/rss/content/rss_item_images/img8198.jpg - DIRECT/213.206.88.38 image/jpeg
1185353969.526 929 192.168.1.14 TCP_REFRESH_MISS/200 1794 GET http://weblogs.nrc.nl/weblog/rss/content/rss_item_images/img8196.jpg - DIRECT/213.206.88.38 image/jpeg
1185353969.560 64 192.168.1.14 TCP_MISS/302 1329 GET http://www.nrc.nl/action? - DIRECT/145.222.43.130 text/plain
1185353969.564 4 192.168.1.14 TCP_MEM_HIT/302 846 GET http://www.nrc.nl/digitaleeditie/today.html - NONE/- text/html
1185353969.622 57 192.168.1.14 TCP_MISS/302 1329 GET http://www.nrc.nl/action? - DIRECT/145.222.43.130 text/plain
1185353969.625 2 192.168.1.14 TCP_MEM_HIT/302 846 GET http://www.nrc.nl/digitaleeditie/today.html - NONE/- text/html
1185353969.683 58 192.168.1.14 TCP_MISS/302 1329 GET http://www.nrc.nl/action? - DIRECT/145.222.43.130 text/plain
1185353969.687 3 192.168.1.14 TCP_MEM_HIT/302 846 GET http://www.nrc.nl/digitaleeditie/today.html - NONE/- text/html
1185353969.747 60 192.168.1.14 TCP_MISS/302 1329 GET http://www.nrc.nl/action? - DIRECT/145.222.43.130 text/plain
1185353969.750 2 192.168.1.14 TCP_MEM_HIT/302 846 GET http://www.nrc.nl/digitaleeditie/today.html - NONE/- text/html
1185353969.835 85 192.168.1.14 TCP_MISS/302 1329 GET http://www.nrc.nl/action? - DIRECT/145.222.43.130 text/plain
1185353969.839 3 192.168.1.14 TCP_MEM_HIT/302 846 GET http://www.nrc.nl/digitaleeditie/today.html - NONE/- text/html
1185353969.901 62 192.168.1.14 TCP_MISS/302 1329 GET http://www.nrc.nl/action? - DIRECT/145.222.43.130 text/plain
1185353969.928 26 192.168.1.14 TCP_MEM_HIT/302 846 GET http://www.nrc.nl/digitaleeditie/today.html - NONE/- text/html
1185353969.989 61 192.168.1.14 TCP_MISS/302 1329 GET http://www.nrc.nl/action? - DIRECT/145.222.43.130 text/plain
1185353969.993 3 192.168.1.14 TCP_MEM_HIT/302 846 GET http://www.nrc.nl/digitaleeditie/today.html - NONE/- text/html
1185353970.054 62 192.168.1.14 TCP_MISS/302 1329 GET http://www.nrc.nl/action? - DIRECT/145.222.43.130 text/plain
1185353970.057 3 192.168.1.14 TCP_MEM_HIT/302 854 GET http://www.nrc.nl/digitaleeditie/today.html - NONE/- text/html
1185353970.117 59 192.168.1.14 TCP_MISS/302 1329 GET http://www.nrc.nl/action? - DIRECT/145.222.43.130 text/plain
1185353970.123 5 192.168.1.14 TCP_MEM_HIT/302 854 GET http://www.nrc.nl/digitaleeditie/today.html - NONE/- text/html
|
_________________ If there is one thing to learn from history, it's that we usualy don't learn anything from it, at all. |
|
Back to top |
|
|
di1bert l33t
Joined: 16 May 2002 Posts: 963 Location: Oslo, Norway
|
Posted: Wed Jul 25, 2007 9:21 am Post subject: |
|
|
Perhaps highlight the issue in the log for us as just pasting the log file
isn't going to help us at all.
-m |
|
Back to top |
|
|
mariourk l33t
Joined: 11 Jul 2003 Posts: 807 Location: Urk, Netherlands
|
Posted: Wed Jul 25, 2007 9:55 am Post subject: |
|
|
Well, that's the thing. I can't really see anything strange in the logs.
That's why I can't figure out why I get this error in my browser and I ask for help... _________________ If there is one thing to learn from history, it's that we usualy don't learn anything from it, at all. |
|
Back to top |
|
|
Rob1n l33t
Joined: 29 Nov 2003 Posts: 714 Location: Cambridge, UK
|
Posted: Wed Jul 25, 2007 10:06 am Post subject: |
|
|
It looks to me like the browser's making a request for "http://www.nrc.nl/digitaleeditie/today.html", receiving a redirect to "http://www.nrc.nl/action?", which in turn is redirecting back to "http://www.nrc.nl/digitaleeditie/today.html", and so on ad infinitum. It may be that "http://www.nrc.nl/digitaleeditie/today.html" should actually be returning something different at the second access, but squid seems to be caching the 302 (I'm not sure it should be doing this as 302 is only a temporary redirect - is this specifically set in the config?) so never refetching the page. |
|
Back to top |
|
|
mariourk l33t
Joined: 11 Jul 2003 Posts: 807 Location: Urk, Netherlands
|
Posted: Thu Jul 26, 2007 8:11 am Post subject: |
|
|
I did a little test to see if you are right. And it seems you are!
I disabled the caching of Squid. After that the site would load without any trouble.
squid.conf
Code: |
acl all src 0.0.0.0/0
cache deny all
|
Thank you for getting me on the right track _________________ If there is one thing to learn from history, it's that we usualy don't learn anything from it, at all. |
|
Back to top |
|
|
|