Closed
Bug 123860
Opened 24 years ago
Closed 23 years ago
DNS lookup fails & says "The connection was refused when attempting to contact xxx"
Categories
(Core :: Networking, defect)
Tracking
()
VERIFIED
INVALID
People
(Reporter: keithf, Assigned: neeti)
Details
Build: 2002020603
Win 2000, SP2
- Load Mozilla
- It attempts to load the homepage http://www.mozilla.org/start,
says "Resolving host www.mozilla.org", times out and then displays the alert
message "The connection was refused when attempting to contact www.mozilla.org."
The same thing happens with all URLs.
DNS services are working nicely for other applications on the machine.
No firewall or proxy in place.
netstat -a reports no http connections during this whole process.
The problem appeared with 0.9.8. 0.9.7 worked well.
Comment 1•24 years ago
|
||
Reporter:
Have you installed Mozilla over an older build ?
Can you try a new profile ? (run "mozilla -profilemanager")
| Reporter | ||
Comment 2•24 years ago
|
||
Uninstalled 0.9.7 and checked that all files and registry keys had been removed
before installing 0.9.8.
I've run 'mozilla -profilemanager' and removed the existing profile, and then
created a new profile. Same problem appears immediately.
After the initial timeout and the "connection was refused when attempting to
contact www.mozilla.org" alert has appeared, subsequent attempts to load any
URL cause the alert box to pop up immediately, no timeout or delay.
Comment 3•24 years ago
|
||
Do you use (or used in the past) a firewall like Adguard, Zonealarm ?
If not:
Can you generate a HTTP log ?
you can define these environment variables:
set NSPR_LOG_MODULES=nsHttp:5
set NSPR_LOG_FILE=c:\http.log
you can set these in the control panel, under system->environment, or you can
set these in a DOS box and run mozilla from there.
| Reporter | ||
Comment 4•24 years ago
|
||
Set the above environment variables and launched Mozilla. It gave the
usual "The connection was refused when attempting to contact www.mozilla.org"
message. I then tried accessing www.google.com. So both are in the http log:
0[2f40b0]: Creating nsHttpHandler [this=104ca78].
0[2f40b0]: nsHttpHandler::Init
0[2f40b0]: nsHttpHandler::PrefsChanged [pref=(null)]
0[2f40b0]: nsHttpAuthCache::Init
0[2f40b0]: nsHttpHandler::NewURI
0[2f40b0]: nsHttpHandler::NewURI
0[2f40b0]: nsHttpHandler::NewProxiedChannel [proxyInfo=0]
0[2f40b0]: Creating nsHttpChannel @21a1fc8
0[2f40b0]: nsHttpChannel::Init [this=21a1fc8]
0[2f40b0]: host=www.mozilla.org port=-1
0[2f40b0]: uri=http://www.mozilla.org/start
0[2f40b0]: Creating nsHttpConnectionInfo @21afdc8
0[2f40b0]: nsHttpHandler::AddStandardRequestHeaders
0[2f40b0]: nsHttpHandler::BuildUserAgent
0[2f40b0]: nsHttpChannel::AddAuthorizationHeaders? [this=21a1fc8]
0[2f40b0]: nsHttpAuthCache::GetAuthEntryForPath [host=www.mozilla.org:80 path=/]
0[2f40b0]: nsHttpHandler::OnModifyRequest [chan=21a1fc8]
0[2f40b0]: nsHttpChannel::SetRequestHeader [this=21a1fc8 header=Cookie value=
(null)]
0[2f40b0]: CreateAtomTable
0[2f40b0]: nsHttpChannel::AsyncOpen [this=21a1fc8]
0[2f40b0]: nsHttpChannel::Connect [this=21a1fc8]
0[2f40b0]: nsHttpChannel::OpenCacheEntry [this=21a1fc8]
0[2f40b0]: got cache entry [access=2]
0[2f40b0]: nsHTTPChannel::CheckCache [this=21a1fc8 entry=21e2f28]
0[2f40b0]: Creating nsHttpTransaction @21e2f98
0[2f40b0]: nsHttpTransaction::SetupRequest [this=21e2f98]
0[2f40b0]: http request [
0[2f40b0]: GET /start HTTP/1.1
0[2f40b0]: Host: www.mozilla.org
0[2f40b0]: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US;
rv:0.9.8+) Gecko/20020206
0[2f40b0]: Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,
video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1
0[2f40b0]: Accept-Language: en-us
0[2f40b0]: Accept-Encoding: gzip, deflate, compress;q=0.9
0[2f40b0]: Accept-Charset: ISO-8859-1, utf-8;q=0.66, *;q=0.66
0[2f40b0]: Keep-Alive: 300
0[2f40b0]: Connection: keep-alive
0[2f40b0]: ]
0[2f40b0]: nsHttpHandler::InitiateTransaction
0[2f40b0]: nsHttpHandler::GetConnection_Locked
0[2f40b0]: nsHttpHandler::AtActiveConnectionLimit_Locked
[host=www.mozilla.org:80 caps=1]
0[2f40b0]: total-count=0, persistent-count=0
0[2f40b0]: >> creating new connection...
0[2f40b0]: Creating nsHttpConnection @21dba08
0[2f40b0]: nsHttpConnection::Init [this=21dba08]
0[2f40b0]: nsHttpHandler::DispatchTransaction_Locked [trans=21e2f98
conn=21dba08]
0[2f40b0]: nsHttpConnection::SetTransaction [this=21dba08 trans=21e2f98]
1656[10889d8]: nsHttpTransaction::OnStatus [this=21e2f98 status=804b0003]
0[2f40b0]: nsHttpHandler::NewURI
0[2f40b0]: nsHttpHandler::NewURI
1656[10889d8]: nsHttpTransaction::OnStatus [this=21e2f98 status=804b0007]
1656[10889d8]: nsHttpConnection::OnStartRequest [this=21dba08]
1656[10889d8]: nsHttpConnection::OnStopRequest [this=21dba08 ctxt=0
status=804b000d]
1656[10889d8]: nsHttpConnection::OnStartRequest [this=21dba08]
1656[10889d8]: nsHttpConnection::OnStopRequest [this=21dba08 ctxt=21dba0c
status=804b000d]
1656[10889d8]: nsHttpTransaction::OnStopTransaction [this=21e2f98
status=804b000d]
0[2f40b0]: nsHttpChannel::OnStartRequest [this=21a1fc8 request=21e2f9c
status=804b000d]
0[2f40b0]: nsHttpChannel::OnStopRequest [this=21a1fc8 request=21e2f9c
status=804b000d]
0[2f40b0]: nsHttpChannel::FinalizeCacheEntry [this=21a1fc8]
0[2f40b0]: nsHttpChannel::CloseCacheEntry [this=21a1fc8 status=804b000d]
0[2f40b0]: dooming cache entry!!
0[2f40b0]: nsHttpHandler::NewURI
1656[10889d8]: nsHttpHandler::ReclaimConnection [conn=21dba08
(www.mozilla.org:80) keep-alive=0]
1656[10889d8]: closing connection: connection can't be reused
1656[10889d8]: active connection count is now 0
1656[10889d8]: nsHttpHandler::ProcessTransactionQ_Locked
1656[10889d8]: >> unable to process transaction queue at this time
0[2f40b0]: nsHttpTransaction::DeleteSelfOnConsumerThread [this=21e2f98]
0[2f40b0]: proxying delete to consumer thread...
0[2f40b0]: nsHttpTransaction::DeleteThis_EventHandlerFunc [trans=21e2f98]
0[2f40b0]: Destroying nsHttpTransaction @21e2f98
0[2f40b0]: Destroying nsHttpConnection @21dba08
0[2f40b0]: Destroying nsHttpChannel @21a1fc8
0[2f40b0]: Destroying nsHttpConnectionInfo @21afdc8
0[2f40b0]: nsHttpHandler::NewURI
0[2f40b0]: nsHttpHandler::NewURI
0[2f40b0]: nsHttpHandler::NewURI
0[2f40b0]: nsHttpHandler::NewProxiedChannel [proxyInfo=0]
0[2f40b0]: Creating nsHttpChannel @3027e98
0[2f40b0]: nsHttpChannel::Init [this=3027e98]
0[2f40b0]: host=www.google.com port=-1
0[2f40b0]: uri=http://www.google.com/
0[2f40b0]: Creating nsHttpConnectionInfo @30a0db0
0[2f40b0]: nsHttpHandler::AddStandardRequestHeaders
0[2f40b0]: nsHttpChannel::AddAuthorizationHeaders? [this=3027e98]
0[2f40b0]: nsHttpAuthCache::GetAuthEntryForPath [host=www.google.com:80 path=/]
0[2f40b0]: nsHttpHandler::OnModifyRequest [chan=3027e98]
0[2f40b0]: nsHttpChannel::SetRequestHeader [this=3027e98 header=Cookie value=
(null)]
0[2f40b0]: nsHttpChannel::AsyncOpen [this=3027e98]
0[2f40b0]: nsHttpChannel::Connect [this=3027e98]
0[2f40b0]: nsHttpChannel::OpenCacheEntry [this=3027e98]
0[2f40b0]: got cache entry [access=2]
0[2f40b0]: nsHTTPChannel::CheckCache [this=3027e98 entry=305da70]
0[2f40b0]: Creating nsHttpTransaction @30c3d80
0[2f40b0]: nsHttpTransaction::SetupRequest [this=30c3d80]
0[2f40b0]: http request [
0[2f40b0]: GET / HTTP/1.1
0[2f40b0]: Host: www.google.com
0[2f40b0]: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US;
rv:0.9.8+) Gecko/20020206
0[2f40b0]: Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,
video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1
0[2f40b0]: Accept-Language: en-us
0[2f40b0]: Accept-Encoding: gzip, deflate, compress;q=0.9
0[2f40b0]: Accept-Charset: ISO-8859-1, utf-8;q=0.66, *;q=0.66
0[2f40b0]: Keep-Alive: 300
0[2f40b0]: Connection: keep-alive
0[2f40b0]: ]
0[2f40b0]: nsHttpHandler::InitiateTransaction
0[2f40b0]: nsHttpHandler::GetConnection_Locked
0[2f40b0]: nsHttpHandler::AtActiveConnectionLimit_Locked
[host=www.google.com:80 caps=1]
0[2f40b0]: total-count=0, persistent-count=0
0[2f40b0]: >> creating new connection...
0[2f40b0]: Creating nsHttpConnection @30229c8
0[2f40b0]: nsHttpConnection::Init [this=30229c8]
0[2f40b0]: nsHttpHandler::DispatchTransaction_Locked [trans=30c3d80
conn=30229c8]
0[2f40b0]: nsHttpConnection::SetTransaction [this=30229c8 trans=30c3d80]
1656[10889d8]: nsHttpTransaction::OnStatus [this=30c3d80 status=804b0003]
1656[10889d8]: nsHttpTransaction::OnStatus [this=30c3d80 status=804b0007]
1656[10889d8]: nsHttpConnection::OnStartRequest [this=30229c8]
1656[10889d8]: nsHttpConnection::OnStopRequest [this=30229c8 ctxt=0
status=804b000d]
1656[10889d8]: nsHttpConnection::OnStartRequest [this=30229c8]
1656[10889d8]: nsHttpConnection::OnStopRequest [this=30229c8 ctxt=30229cc
status=804b000d]
1656[10889d8]: nsHttpTransaction::OnStopTransaction [this=30c3d80
status=804b000d]
0[2f40b0]: nsHttpChannel::OnStartRequest [this=3027e98 request=30c3d84
status=804b000d]
0[2f40b0]: nsHttpChannel::OnStopRequest [this=3027e98 request=30c3d84
status=804b000d]
0[2f40b0]: nsHttpChannel::FinalizeCacheEntry [this=3027e98]
0[2f40b0]: nsHttpChannel::CloseCacheEntry [this=3027e98 status=804b000d]
0[2f40b0]: dooming cache entry!!
0[2f40b0]: nsHttpHandler::NewURI
1656[10889d8]: nsHttpHandler::ReclaimConnection [conn=30229c8
(www.google.com:80) keep-alive=0]
1656[10889d8]: closing connection: connection can't be reused
1656[10889d8]: active connection count is now 0
1656[10889d8]: nsHttpHandler::ProcessTransactionQ_Locked
1656[10889d8]: >> unable to process transaction queue at this time
0[2f40b0]: nsHttpTransaction::DeleteSelfOnConsumerThread [this=30c3d80]
0[2f40b0]: Destroying nsHttpTransaction @30c3d80
0[2f40b0]: Destroying nsHttpConnection @30229c8
0[2f40b0]: nsHttpAuthCache::ClearAll
0[2f40b0]: Destroying nsHttpChannel @3027e98
0[2f40b0]: Destroying nsHttpConnectionInfo @30a0db0
Comment 5•23 years ago
|
||
Did you install via a proxy?
The installer may have contaminated your "default/prefs", which would force
proxy settings into all new profiles.
Check your proxy settings, in most cases(but not all), your proxy mode will
display correctly while you are running. If not, you should search your drive
for the presence of a file called "all-proxy.js"
| Reporter | ||
Comment 6•23 years ago
|
||
After doing some more checking, the ZoneAlarm firewall product had been
partially disabled, but some pieces were still installed. Uninstalling
Zonealarm has resolved the issue and 0.9.9 is running nicely.
Suspect that since the front-end for ZoneAlarm was not running, new programs
could not be added to its list of "approved" programs. Thus Mozilla 0.9.7 was
on the list and worked, however 0.9.8 and other builds would not work.
My sincere apologies for taking your time. Please consider this bug closed.
Thanks.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
Comment 7•23 years ago
|
||
that's a known Zonealarm problem !
(Adguard or Tinyfirewall is better..)
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•