I'm currently following a course on IT .

One of the things i learn is about squid.
My task here is to set up a proxy and let it redirect all requests to a parent proxy. He may not solve things directly.
i run into a problem with it that i can not find a solution for.

i start my service/proxy and for a brief period i can connect to the internet with Iceweasel. After that i keep getting a :
the requested Url can not be retrieved.
...
unable to forward this request at this time.
this request could not be forwarded to the origin server or to any parent caches.
...


I use debian 6 with squid 2.7stable9.
I need info on what is causing this and how to remediate this, as i'm already working on it for 2 days. The internet does not provide me with any clue.

The parent proxy is said to be located at 172.16.0.30:8080 but is not servicable by me. i'm using a student pc. debian s running in VM ware (virtual) with a bridged networkcard.


the configuration in work file so not yet cleaned)

visible_hostname debian-apache

http_port 3128
#http_port 8080
icp_port 3130

# logfiles
#=============
cache_dir ufs /var/spool/squid 100 16 256

# parent proxy definieren
#=====================
#access_log /var/logs/access.log squid
##logt zonder dat deze is geactiveert waarschijnlijk default instellingen
## locatie /var/log/squid/
##met deze regel actief werky het niet

#cache_peer 172.16.0.30 parent 3128 3130 proxy-only
cache_peer 172.16.0.30 parent 8080 3130 proxy-only
#no-query

##setting toegang range
#====================
#acl all dstdomain .be .com .org .nl
#acl all src 0.0.0.0/0
acl all src 172.16.0.0/16
acl allsites dst 0.0.0.0/0.0.0.0

##doorgang verlenen
#====================
never_direct allow all
http_access allow allsites
#all

minimum_icp_query_timeout 3000



the cache.log

2011/04/01 08:01:59| logfileClose: closing log /var/log/squid/store.log
2011/04/01 08:01:59| Squid Cache (Version 2.7.STABLE9): Exiting normally.
2011/04/01 08:02:02| Starting Squid Cache version 2.7.STABLE9 for i386-debian-linux-gnu...
2011/04/01 08:02:02| Process ID 2528
2011/04/01 08:02:02| With 1024 file descriptors available
2011/04/01 08:02:02| Using epoll for the IO loop
2011/04/01 08:02:02| DNS Socket created at 0.0.0.0, port 56053, FD 6
2011/04/01 08:02:02| Adding domain ateno.intra from /etc/resolv.conf
2011/04/01 08:02:02| Adding domain ateno.intra from /etc/resolv.conf
2011/04/01 08:02:02| Adding nameserver 172.16.0.10 from /etc/resolv.conf
2011/04/01 08:02:02| User-Agent logging is disabled.
2011/04/01 08:02:02| Referer logging is disabled.
2011/04/01 08:02:02| Unlinkd pipe opened on FD 10
2011/04/01 08:02:02| Swap maxSize 102400 + 8192 KB, estimated 8507 objects
2011/04/01 08:02:02| Target number of buckets: 425
2011/04/01 08:02:02| Using 8192 Store buckets
2011/04/01 08:02:02| Max Mem size: 8192 KB
2011/04/01 08:02:02| Max Swap size: 102400 KB
2011/04/01 08:02:02| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2011/04/01 08:02:02| logfileOpen: opening log /var/log/squid/store.log
2011/04/01 08:02:02| Rebuilding storage in /var/spool/squid (CLEAN)
2011/04/01 08:02:02| Using Least Load store dir selection
2011/04/01 08:02:02| Current Directory is /
2011/04/01 08:02:02| Loaded Icons.
2011/04/01 08:02:03| Accepting proxy webding connections at 0.0.0.0, port 3128, FD 12.
2011/04/01 08:02:03| Accepting ICP messages at 0.0.0.0, port 3130, FD 13.
2011/04/01 08:02:03| HTCP Disabled.
2011/04/01 08:02:03| WCCP Disabled.
2011/04/01 08:02:03| Configuring 172.16.0.30 Parent 172.16.0.30/8080/3130
2011/04/01 08:02:03| Ready to serve requests.
2011/04/01 08:02:03| Done reading /var/spool/squid swaplog (1796 entries)
2011/04/01 08:02:03| Finished rebuilding storage from disk.
2011/04/01 08:02:03| 1796 Entries scanned
2011/04/01 08:02:03| 0 Invalid entries.
2011/04/01 08:02:03| 0 With invalid flags.
2011/04/01 08:02:03| 1796 Objects loaded.
2011/04/01 08:02:03| 0 Objects expired.
2011/04/01 08:02:03| 0 Objects cancelled.
2011/04/01 08:02:03| 0 Duplicate URLs purged.
2011/04/01 08:02:03| 0 Swapfile clashes avoided.
2011/04/01 08:02:03| Took 0.3 seconds (6318.6 objects/sec).
2011/04/01 08:02:03| Beginning Validation Procedure
2011/04/01 08:02:03| Completed Validation Procedure
2011/04/01 08:02:03| Validated 1796 Entries
2011/04/01 08:02:03| store_swap_size = 33620k
2011/04/01 08:02:03| storeLateRelease: released 0 objects
2011/04/01 08:08:29| temporary disabling (Bad Gateway) digest from 172.16.0.30
2011/04/01 08:09:12| Detected DEAD Parent: 172.16.0.30
2011/04/01 08:10:24| Reconfiguring Squid Cache (version 2.7.STABLE9)...
2011/04/01 08:10:24| FD 12 Closing webding connection
2011/04/01 08:10:24| FD 13 Closing ICP connection
2011/04/01 08:10:24| Closing unlinkd pipe on FD 10
2011/04/01 08:10:24| logfileClose: closing log /var/log/squid/store.log
2011/04/01 08:10:24| Including Configuration File: /etc/squid/squid.conf (depth 0)
2011/04/01 08:10:24| Cache dir '/var/spool/squid' size remains unchanged at 102400 KB
2011/04/01 08:10:24| logfileOpen: opening log /var/log/squid/store.log
2011/04/01 08:10:24| User-Agent logging is disabled.
2011/04/01 08:10:24| Referer logging is disabled.
2011/04/01 08:10:24| DNS Socket created at 0.0.0.0, port 57693, FD 7
2011/04/01 08:10:24| Adding domain ateno.intra from /etc/resolv.conf
2011/04/01 08:10:24| Adding domain ateno.intra from /etc/resolv.conf
2011/04/01 08:10:24| Adding nameserver 172.16.0.10 from /etc/resolv.conf
2011/04/01 08:10:24| Unlinkd pipe opened on FD 12
2011/04/01 08:10:24| Accepting proxy webding connections at 0.0.0.0, port 3128, FD 9.
2011/04/01 08:10:24| Accepting ICP messages at 0.0.0.0, port 3130, FD 10.
2011/04/01 08:10:24| HTCP Disabled.
2011/04/01 08:10:24| WCCP Disabled.
2011/04/01 08:10:24| Configuring 172.16.0.30 Parent 172.16.0.30/8080/3130
2011/04/01 08:10:24| Loaded Icons.
2011/04/01 08:10:24| Ready to serve requests.
2011/04/01 08:10:44| temporary disabling (Bad Gateway) digest from 172.16.0.30
2011/04/01 08:10:57| Failed to select source for 'webding:'
2011/04/01 08:10:57| always_direct = 0
2011/04/01 08:10:57| never_direct = 1
2011/04/01 08:10:57| timedout = 1
^C
root@debian-apache:/var/log/squid# tail -f cache.log
2011/04/01 08:16:51| never_direct = 1
2011/04/01 08:16:51| timedout = 0
2011/04/01 08:16:51| Failed to select source for ====================
2011/04/01 08:16:51| always_direct = 0
2011/04/01 08:16:51| never_direct = 1
2011/04/01 08:16:51| timedout = 0
2011/04/01 08:16:51| Failed to select source for ======================
2011/04/01 08:16:51| always_direct = 0
2011/04/01 08:16:51| never_direct = 1
2011/04/01 08:16:51| timedout = 0
2011/04/01 08:25:44| temporary disabling (Bad Gateway) digest from 172.16.0.30
2011/04/01 08:36:41| Failed to select source for =====================2011/04/01 08:36:41| always_direct = 0
2011/04/01 08:36:41| never_direct = 1
2011/04/01 08:36:41| timedout = 0
2011/04/01 08:45:44| temporary disabling (Bad Gateway) digest from 172.16.0.30
2011/04/01 09:25:44| temporary disabling (Bad Gateway) digest from 172.16.0.30
2011/04/01 09:31:51| Failed to select source for 'webding:/'
2011/04/01 09:31:51| always_direct = 0
2011/04/01 09:31:51| never_direct = 1
2011/04/01 09:31:51| timedout = 0
2011/04/01 09:31:51| Failed to select source for ============
2011/04/01 09:31:51| always_direct = 0
2011/04/01 09:31:51| never_direct = 1
2011/04/01 09:31:51| timedout = 0
2011/04/01 09:31:51| Failed to select source for ============
2011/04/01 09:31:51| always_direct = 0
2011/04/01 09:31:51| never_direct = 1
2011/04/01 09:31:51| timedout = 0
2011/04/01 09:31:51| Failed to select source for ================2011/04/01 09:31:51| always_direct = 0
2011/04/01 09:31:51| never_direct = 1
2011/04/01 09:31:51| timedout = 0

the store.log
1.301.641.754.065 RELEASE 0 575 C1B6E10AD2F3BEA613D04EDCB5854A2A 200 1301576460 1287640578 1301662860 text/javascript 0,00203252 GET weblink
1.301.641.754.164 RELEASE -1 FFFFFFFF FAB075768F7966DC5DFF21C6E9ED5EED 200 1301641780 -1 -1 text/html -9,71534E-05 GET weblink
1.301.641.844.552 RELEASE -1 FFFFFFFF 94BD33EA9C6A198A1E693006FCD8AB34 502 -1 -1 -1 text/html 4198/4198 GET weblink
1.301.641.847.574 RELEASE -1 FFFFFFFF A3F5834CBC704CAB86C05964AEAF39F8 302 1301641873 -1 -1 text/html 304/304 GET weblink
1.301.641.850.810 RELEASE -1 FFFFFFFF 5DA5A7064EB29A6549861E7362EA7897 200 1301641876 -1 -1 text/html 31621/31621 GET weblink
1.301.641.851.097 RELEASE -1 FFFFFFFF 2939F8EA8A11CF3D14AB770B7ACF65C5 304 1301492719 1300439180 -1 image/gif #DEEL/0! GET weblink
1.301.641.853.915 RELEASE -1 FFFFFFFF 61B7DBE5C7355B09A91FFC8EB8D37FAA 200 1301641879 1228295978 -1 image/gif 3226/3226 GET weblink
1.301.641.853.946 RELEASE -1 FFFFFFFF 767408EA59325FD6883996E9BBDDEF09 200 1301641880 1280750848 -1 image/gif 1798/1798 GET weblink
1.301.641.853.965 SWAPOUT 0 0000071B 81E1769AC73868189397887F0712BB9E 200 1301641880 1301481132 -1 image/gif 3232/3232 GET weblink
1.301.641.853.965 RELEASE 0 000000BF 04AF45D9FA49DA047287D34F576AB353 200 1301641880 1301481132 -1 image/gif 3232/-382 GET weblink
1.301.641.853.965 RELEASE -1 FFFFFFFF 69905097D5EF85A773A75160BF079DCA 304 1301641880 -1 -1 unknown #DEEL/0! GET weblink
1.301.641.854.015 SWAPOUT 0 0000071C 4ABB320BE9015F384AADFD3FB56D0B58 200 1301641880 1301410588 -1 image/gif 3137/3137 GET weblink
1.301.641.854.015 RELEASE 0 000000C0 79F60A683190FEA3CFFF42BA7BC73BC6 200 1301641880 1301410588 -1 image/gif 3137/-382 GET weblink
1.301.641.854.015 RELEASE -1 FFFFFFFF 6B0BB6417309BA695C027D266CA9AABC 304 1301641880 -1 -1 unknown #DEEL/0! GET weblink
1.301.641.854.053 RELEASE -1 FFFFFFFF C3515CA9A3D0C053FF1A142CA071649C 304 1301641880 -1 -1 unknown #DEEL/0! GET weblink
1.301.641.854.063 SWAPOUT 0 0000071D B6A246A8BA034A0591DCC6F6A72EDFD7 200 1301641880 1301385916 -1 image/gif 20857/20857 GET weblink
1.301.641.854.063 RELEASE 0 0000020C D6E7FEA08B8F0F05C8118A67E7651C97 200 1301641880 1301385916 -1 image/gif 20857/-384 GET weblink
1.301.641.854.172 RELEASE -1 FFFFFFFF F768CE87D739D68E5ED3D3549A818B18 200 -1 -1 1301641854 image/gif 43/43 GET weblink
1.301.641.854.204 RELEASE -1 FFFFFFFF 6A23119FAF7C93F5859ADFF3A3B01539 200 1301641879 -1 -1 unknown 0/0 GET weblink
1.301.641.854.357 SWAPOUT 0 0000071E 428859A5D6C5B02015B4BD08A6C0084F 200 1301641881 1287632581 1301645481 application/javascript 25/25 GET weblink
1.301.641.854.357 RELEASE 0 0000020D 3A96488194CBC78F44C79B4BC326DA53 200 1301641881 1287632581 1301645481 application/javascript 25/-454 GET weblink
1.301.641.854.357 RELEASE -1 FFFFFFFF AAD6AF8187228EC33A10D1AE0F8221ED 304 1301641881 1287632581 -1 unknown #DEEL/0! GET weblink
1.301.641.857.180 RELEASE -1 FFFFFFFF DB926973E145864D8CA195D7CCCAAFF9 504 1301641857 -1 -1 text/html 1346/1346 GET weblink
1.301.642.144.562 RELEASE -1 FFFFFFFF AAE7A30CF9D8490CC59C410874219465 502 -1 -1 -1 text/html 4198/4198 GET weblink
1.301.642.211.598 RELEASE -1 FFFFFFFF 45C0D28542F531400ECF6E55CFD7036F 504 1301642211 -1 -1 text/html 1402/1402 GET weblink
1.301.642.211.608 RELEASE -1 FFFFFFFF F03ABD46D85A8BBCFF6C87BFF25D28CE 504 1301642211 -1 -1 text/html 1390/1390 GET weblink
1.301.642.211.641 RELEASE -1 FFFFFFFF 378D68A2B5D217F30A4581BF93DB66E5 504 1301642211 -1 -1 text/html 1438/1438 GET weblink
1.301.642.211.656 RELEASE -1 FFFFFFFF 2F20F92651DDBE0FD570AE192E2913F1 504 1301642211 -1 -1 text/html 1368/1368 GET weblink
1.301.642.744.571 RELEASE -1 FFFFFFFF 40B8FDFFE513B83C127C5F37BF6ABD9A 502 -1 -1 -1 text/html 4198/4198 GET weblink
1.301.643.401.423 RELEASE -1 FFFFFFFF 65B8616E858A809793C41FFDDF5713D8 504 1301643401 -1 -1 text/html 1418/1418 POST weblink
1.301.643.944.578 RELEASE -1 FFFFFFFF 70AB13EF588E36B3E4E27B1DBA8911DD 502 -1 -1 -1 text/html 4198/4198 GET weblink
1.301.644.923.146 RELEASE -1 FFFFFFFF E6CF09559BF913DD6562FB49954DBA71 200 1301641323 1301641323 1301644923 application/cache-digest 1745/1745 GET weblink
1.301.646.344.590 RELEASE -1 FFFFFFFF 7672F6094B240388FD6365AF99B06D54 502 -1 -1 -1 text/html 4198/4198 GET weblink
1.301.646.711.632 RELEASE -1 FFFFFFFF 79429F957C247CF3563805539953F253 504 1301646711 -1 -1 text/html 1402/1402 GET weblink
1.301.646.711.647 RELEASE -1 FFFFFFFF 848349B5AFB6AB42605E11ADD62CD9D4 504 1301646711 -1 -1 text/html 1390/1390 GET weblink
1.301.646.711.658 RELEASE -1 FFFFFFFF 900ECD4EFC2EDEE79D519FC296060860 504 1301646711 -1 -1 text/html 1438/1438 GET weblink
1.301.646.711.668 RELEASE -1 FFFFFFFF B814603E1B5C427A658BA5DBC5702493 504 1301646711 -1 -1 text/html 1368/1368 GET weblink