My Squid server is working fine for http or https
connection without redirector. In a configuration with
a simple redirector, like this one, the https is not
working, but looking in the cache.log I discovered
that the connection is allowed:
--------------------------------------------------
#!/usr/bin/perl
$|=1;
while (<>) {
if (/^http:\/\/.*\.yahoo\..*/ ||
/^http:\/\/.*\.dynamex\..*/ ||
/^(https:\/\/.*\.dxnow\..*/ ||
/^http:\/\/.*\.yellowpages\..*/ ||
/^http:\/\/.*\.mapquest\..*/ ||
/^http:\/\/.*\.theweathernetwork\..*/ ||
/^http:\/\/.*\.sun\..*/) {
print;
} else {
print "http://10.10.10.23\n";
}
}
--------------------------------------------------
When I start a https session (to www.dxnow.com for
ex.) I receive an error on client computer:
************************************************************************************
The requested URL could not be retrieved
---------------------------------------------
While trying to retrieve the URL: http:443
The following error was encountered:
Unable to determine IP address from host name for http
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.
************************************************************************************
Here are my log files:
access.log
996375197.034 205 10.128.83.177 TCP_MISS/404 0
CONNECT www.dxnow.com:443 - DIRECT/- -
cache.log
2001/07/28 22:27:24| The request CONNECT
www.dxnow.com:443 is ALLOWED, because it matched
'SSL_ports'
2001/07/28 22:27:24| peerSelect: CONNECT
2001/07/28 22:27:24| cbdataAdd: 84035d8
2001/07/28 22:27:24| cbdataLock: 821b6a8
2001/07/28 22:27:24| peerSelectFoo: 'CONNECT http'
2001/07/28 22:27:24| cbdataAdd: 8439920
2001/07/28 22:27:24| cbdataLock: 82193c0
2001/07/28 22:27:24| cbdataLock: 84035d8
2001/07/28 22:27:24| cbdataValid: 82193c0
2001/07/28 22:27:24| aclCheck: checking 'always_direct
allow SSL_ports'
2001/07/28 22:27:24| aclMatchAclList: checking
SSL_ports
2001/07/28 22:27:24| aclMatchAcl: checking 'acl
SSL_ports port 443 563'
2001/07/28 22:27:24| aclMatchAclList: returning 1
2001/07/28 22:27:24| cbdataUnlock: 82193c0
2001/07/28 22:27:24| aclCheck: match found, returning
1
2001/07/28 22:27:24| aclCheckCallback: answer=1
2001/07/28 22:27:24| cbdataValid: 84035d8
2001/07/28 22:27:24| peerCheckAlwaysDirectDone: 1
2001/07/28 22:27:24| peerSelectFoo: 'CONNECT http'
2001/07/28 22:27:24| peerSelectFoo: direct =
DIRECT_YES
2001/07/28 22:27:24| cbdataValid: 821b6a8
2001/07/28 22:27:24| commConnectStart: FD 19, http:443
2001/07/28 22:27:24| commConnectDnsHandle: Unknown
host: http
2001/07/28 22:27:24| cbdataUnlock: 8403780
2001/07/28 22:27:24| commSetTimeout: FD 19 timeout -1
2001/07/28 22:27:24| commConnectFree: FD 19
2001/07/28 22:27:24| cbdataFree: 8403780
2001/07/28 22:27:24| errorSend: FD 18, err=82e83d0
2001/07/28 22:27:24| cbdataAdd: 82e83d0
2001/07/28 22:27:24| errorConvert: %U --> 'http:443'
2001/07/28 22:27:24| errorConvert: %U --> 'http:443'
2001/07/28 22:27:24| errorConvert: %H --> 'http'
2001/07/28 22:27:24| errorConvert: %z --> 'Name Error:
The domain name does not exist.'
2001/07/28 22:27:24| errorConvert: %w --> 'webmaster'
2001/07/28 22:27:24| errorConvert: %w --> 'webmaster'
2001/07/28 22:27:24| errorConvert: %T --> 'Sun, 29 Jul
2001 02:27:24 GMT'
2001/07/28 22:27:24| errorConvert: %h --> 'testproxy'
2001/07/28 22:27:24| errorConvert: %s -->
'Squid/2.4.STABLE1'
2001/07/28 22:27:24| errorConvert: %S --> '
Any help or some idea in what to search?
Thanks in advance
_______________________________________________________
Do You Yahoo!?
Get your free @yahoo.ca address at http://mail.yahoo.ca
Received on Mon Jul 30 2001 - 13:20:34 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:01:20 MST