I am using squid3 (Version 3.0.STABLE8) on Debian Lenny,
squid gets ERR_CONNECT_FAIL after the initial power up on my machine but
if I
do a restart (/etc/init.d/squid3 restart) then all is well. Excerpts from
cache.log below:
Right after boot up...
010/11/06 16:43:36.140| The request GET http://yahoo.com/ is ALLOWED,
because it
2010/11/06 16:43:36.140| storeCreateEntry: 'http://yahoo.com/'
2010/11/06 16:43:36.140| storeKeyPrivate: GET http://yahoo.com/
2010/11/06 16:43:36.140| FwdState::start() 'http://yahoo.com/'
2010/11/06 16:43:36.140| peerSelect: http://yahoo.com/
2010/11/06 16:43:36.141| peerSelectFoo: 'GET yahoo.com'
2010/11/06 16:43:36.141| peerSelectFoo: 'GET yahoo.com'
2010/11/06 16:43:36.141| peerSelectCallback: http://yahoo.com/
2010/11/06 16:43:36.141| fwdStartComplete: http://yahoo.com/
2010/11/06 16:43:36.141| fwdConnectStart: http://yahoo.com/
2010/11/06 16:43:36.141| fd_open FD 16 http://yahoo.com/
2010/11/06 16:43:36.141| commConnectStart: FD 16, data 0xa4f5360,
yahoo.com:80
2010/11/06 16:43:36.141| idnsALookup: buf is 27 bytes for yahoo.com, id
= 0xb694
2010/11/06 16:44:36.004| fwdConnectTimeout: FD 16: 'http://yahoo.com/'
2010/11/06 16:44:36.004| fwdFail: ERR_CONNECT_FAIL "Gateway Time-out"
http://yahoo.com/
Right after a restart - everything works fine...
2010/11/06 16:46:59.116| The request GET http://yahoo.com/ is ALLOWED,
because i
2010/11/06 16:46:59.116| storeCreateEntry: 'http://yahoo.com/'
2010/11/06 16:46:59.116| storeKeyPrivate: GET http://yahoo.com/
2010/11/06 16:46:59.116| FwdState::start() 'http://yahoo.com/'
2010/11/06 16:46:59.116| peerSelect: http://yahoo.com/
2010/11/06 16:46:59.116| peerSelectFoo: 'GET yahoo.com'
2010/11/06 16:46:59.117| peerSelectFoo: 'GET yahoo.com'
2010/11/06 16:46:59.117| peerSelectCallback: http://yahoo.com/
2010/11/06 16:46:59.117| fwdStartComplete: http://yahoo.com/
2010/11/06 16:46:59.117| fwdConnectStart: http://yahoo.com/
2010/11/06 16:46:59.117| fd_open FD 16 http://yahoo.com/
2010/11/06 16:46:59.117| commConnectStart: FD 16, data 0x9350b40,
yahoo.com:80
2010/11/06 16:46:59.117| idnsALookup: buf is 27 bytes for yahoo.com, id
= 0xd694
2010/11/06 16:46:59.149| ipcacheCycleAddr: yahoo.com now at 209.191.122.70
2010/11/06 16:46:59.250| fwdConnectDone: FD 16: 'http://yahoo.com/'
This should not be necessary. Any ideas about why this happens?
Regards,
Wm