Re: [squid-users] [ Squid Cache: Version 3.0-PRE2-20030806 ] [ SSL ]

From: Imad Soltani <imad@dont-contact.us>
Date: 09 Aug 2003 21:18:19 +0200

Hello ,

i continu in the same problem ,

-- Error message :

The requested URL could not be retrieved

--------------------------------------------------------------------------------

While trying to retrieve the URL:
https://rev.host-160.201.tiscali-business.fr/

The following error was encountered:

Unable to determine IP address from host name for
rev.host-160.201.tiscali-business.fr
The dnsserver returned:

Name Error: The domain name does not exist.
This means that:

 The cache was not able to resolve the hostname presented in the URL.
 Check if the address is correct.
Your cache administrator is webmaster.

--------------------------------------------------------------------------------

Generated Sat, 09 Aug 2003 19:36:01 GMT by
rev.host-160.201.tiscali-business.fr (squid/3.0-PRE2-20030806)

-- Some logs :

more /data/imad/squid/var/logs/access.log

1060457682.695 4 195.20.105.162 TCP_MISS/503 2527 GET
https://rev.host-160.201.tiscali-business.fr/ - NONE/- text/html

more /data/imad/squid/var/logs/store.log

1060457682.695 RELEASE -1 FFFFFFFF DA052B87D8ADB375C38C39CB692B9844 503
1060457682 0 1060457682 text/html 2130/2130 GET
https://rev.host-160.201.tiscali-business.fr/
1060457761.698 RELEASE -1 FFFFFFFF DA052B87D8ADB375C38C39CB692B9844 503
1060457761 0 1060457761 text/html 2130/2130 GET
https://rev.host-160.201.tiscali-business.fr/

-- On load i got :

[root@PROXY02 etc]# /data/imad/squid/sbin/squid -D -d 9 -f test3.conf
[root@PROXY02 etc]# 2003/08/09 18:35:36| Starting Squid Cache version
3.0-PRE2-20030806 for i686-pc-linux-gnu...
2003/08/09 18:35:36| Process ID 19863
2003/08/09 18:35:36| With 1024 file descriptors available
2003/08/09 18:35:36| DNS Socket created at 0.0.0.0, port 32834, FD 4
2003/08/09 18:35:36| Adding nameserver 212.83.150.60 from
/etc/resolv.conf
2003/08/09 18:35:36| Adding nameserver 213.36.101.242 from
/etc/resolv.conf
2003/08/09 18:35:36| Unlinkd pipe opened on FD 9
2003/08/09 18:35:36| Swap maxSize 102400 KB, estimated 7876 objects
2003/08/09 18:35:36| Target number of buckets: 393
2003/08/09 18:35:36| Using 8192 Store buckets
2003/08/09 18:35:36| Max Mem size: 8192 KB
2003/08/09 18:35:36| Max Swap size: 102400 KB
2003/08/09 18:35:36| Rebuilding storage in /data/imad/squid/var/cache
(DIRTY)
2003/08/09 18:35:36| Using Least Load store dir selection
2003/08/09 18:35:36| Current Directory is /data/imad/squid/etc
2003/08/09 18:35:36| Loaded Icons.
2003/08/09 18:35:36| Accepting accelerated HTTP connections at
212.83.160.199, port 80, FD 10.
2003/08/09 18:35:36| Accepting HTTPS connections at 212.83.160.199, port
443, FD 11.
2003/08/09 18:35:36| WCCP Disabled.
2003/08/09 18:35:36| Configuring Parent 212.83.160.201/80/0
2003/08/09 18:35:36| Configuring Parent 212.83.160.201/443/0
2003/08/09 18:35:36| Ready to serve requests.
2003/08/09 18:35:36| Done scanning /data/imad/squid/var/cache swaplog (0
entries)
2003/08/09 18:35:36| Finished rebuilding storage from disk.
2003/08/09 18:35:36| 0 Entries scanned
2003/08/09 18:35:36| 0 Invalid entries.
2003/08/09 18:35:36| 0 With invalid flags.
2003/08/09 18:35:36| 0 Objects loaded.
2003/08/09 18:35:36| 0 Objects expired.
2003/08/09 18:35:36| 0 Objects cancelled.
2003/08/09 18:35:36| 0 Duplicate URLs purged.
2003/08/09 18:35:36| 0 Swapfile clashes avoided.
2003/08/09 18:35:36| Took 0.1 seconds ( 0.0 objects/sec).
2003/08/09 18:35:36| Beginning Validation Procedure
2003/08/09 18:35:36| Completed Validation Procedure
2003/08/09 18:35:36| Validated 0 Entries
2003/08/09 18:35:36| store_swap_size = 0k
2003/08/09 18:35:37| storeLateRelease: released 0 objects

-- my squid test.conf :

[root@PROXY02 etc]# more test3.conf
visible_hostname rev.host-160.201.tiscali-business.fr
http_port 212.83.160.199:80 accel
defaultsite=rev.host-160.201.tiscali-business.fr
https_port 212.83.160.199:443 accel cert=XXXX.crt
key=XXXX.key
defaultsite=rev.host-160.201.tiscali-business.fr
acl all src 0.0.0.0/0.0.0.0
acl http proto http
acl https proto https
cache_peer 212.83.160.201 parent 80 0 no-query originserver
name=http.rev.host-160.201.tiscali-business.fr
cache_peer 212.83.160.201 parent 443 0 no-query originserver ssl
name=https.rev.host-160.201.tiscali-business.fr
cache_peer_access https.rev.host-160.201.tiscali-business.fr allow https
cache_peer_access http.rev.host-160.201.tiscali-business.fr allow http
http_access allow all
never_direct allow all
[root@PROXY02 etc]#

i test with

check_hostnames off
hosts_file /etc/hosts

No way

thx for your help

Imad Soltani

On Sat, 2003-08-09 at 19:30, Henrik Nordstrom wrote:
> On Saturday 09 August 2003 18.15, Imad Soltani wrote:
>
> > And same error
> > my squid.conf is not correct anyway ?
>
> You also need to "http_access allow" the request. If not Squid will
> not allow the request to take place.
Received on Sat Aug 09 2003 - 13:16:03 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:18:48 MST