Re: [squid-users] The requested URL could not be retrieved: invalid url

From: Dave Coventry <dgcoventry@dont-contact.us>
Date: Fri, 8 Feb 2008 10:32:53 +0200

On Feb 7, 2008 5:20 PM, Alexandre Correa <alexandre@sabbath.com.br> wrote:
> your squid.conf has two http_port using same port..
>
> try to remove http_port 3128 or change the port number for last http_port
>
>

Many thanks for your response.

Yes, I spotted that after posting.

However, removing the second reference did not remedy the situation.

It seems that the server name is removed.

For example, if the URL requested is
"http://news.bbc.co.uk/2/hi/africa/default.stm" then squid appears to
remove the primary DNS request (in this case "http://news.bbc.co.uk")
and then generate the error based on the directory and file name of
the requested URL (in this case "2/hi/africa/default.stm").

Additionally (I didn't post this in my original RFH as I hadn't
spotted it) my cache.log comprises the following:
========================================
2008/02/08 10:08:01| Starting Squid Cache version 3.0.STABLE1 for
i686-pc-linux-gnu...
2008/02/08 10:08:01| Process ID 4460
2008/02/08 10:08:01| With 1024 file descriptors available
2008/02/08 10:08:01| DNS Socket created at 0.0.0.0, port 32773, FD 7
2008/02/08 10:08:01| Adding nameserver 192.168.10.213 from /etc/resolv.conf
2008/02/08 10:08:01| Unlinkd pipe opened on FD 12
2008/02/08 10:08:01| Swap maxSize 102400 KB, estimated 7876 objects
2008/02/08 10:08:01| Target number of buckets: 393
2008/02/08 10:08:01| Using 8192 Store buckets
2008/02/08 10:08:01| Max Mem size: 8192 KB
2008/02/08 10:08:01| Max Swap size: 102400 KB
2008/02/08 10:08:02| Version 1 of swap file with LFS support detected...
2008/02/08 10:08:02| Rebuilding storage in /usr/local/squid/var/cache (CLEAN)
2008/02/08 10:08:02| Using Least Load store dir selection
2008/02/08 10:08:02| Set Current Directory to /usr/local/squid/var/cache
2008/02/08 10:08:02| Loaded Icons.
2008/02/08 10:08:02| Accepting transparently proxied HTTP connections
at 0.0.0.0, port 3128, FD 14.
2008/02/08 10:08:02| Accepting ICP messages at 0.0.0.0, port 3130, FD 15.
2008/02/08 10:08:02| HTCP Disabled.
2008/02/08 10:08:02| Ready to serve requests.
2008/02/08 10:08:02| Done reading /usr/local/squid/var/cache swaplog (0 entries)
2008/02/08 10:08:02| Finished rebuilding storage from disk.
2008/02/08 10:08:02| 0 Entries scanned
2008/02/08 10:08:02| 0 Invalid entries.
2008/02/08 10:08:02| 0 With invalid flags.
2008/02/08 10:08:02| 0 Objects loaded.
2008/02/08 10:08:02| 0 Objects expired.
2008/02/08 10:08:02| 0 Objects cancelled.
2008/02/08 10:08:02| 0 Duplicate URLs purged.
2008/02/08 10:08:02| 0 Swapfile clashes avoided.
2008/02/08 10:08:02| Took 0.07 seconds ( 0.00 objects/sec).
2008/02/08 10:08:02| Beginning Validation Procedure
2008/02/08 10:08:02| Completed Validation Procedure
2008/02/08 10:08:02| Validated 25 Entries
2008/02/08 10:08:02| store_swap_size = 0
2008/02/08 10:08:02| storeLateRelease: released 0 objects
2008/02/08 10:15:56| WARNING: transparent proxying not supported
========================================

Does Squid need to be compiled explicitly with transparent proxying enabled?
Received on Fri Feb 08 2008 - 01:32:59 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:05 MST