Networking Forums

Networking Forums > Computer Networking > Linux Networking > urlopen error

Reply
Thread Tools Display Modes

urlopen error

 
 
Bob Tennent
Guest
Posts: n/a

 
      01-18-2010, 01:03 PM
When I try to do a yum update on a Fedora 11 system, I'm getting strange
messages:

http://dl.atrpms.net/f11-i386/atrpms...ta/repomd.xml: [Errno 4]
IOError: <urlopen error [Errno -2] Name or service not known>

Another symptom is that Firefox produces

Server not found

Firefox can't find the server at www.google.com

*unless* I use privoxy as a local proxy. Opera seems to be unaffected
but konqueror produces

Cannot talk to klauncher: Not connected to D-Bus server.

The program on your computer which provides access to the http
protocol could not be started. This is usually due to technical reasons.

A third symptom that might be relevant is the following system message:

localhost pulseaudio[4068]: main.c: Unable to contact D-Bus:
org.freedesktop.DBus.Error.NoServer:
Failed to connect to socket /tmp/dbus-m7qkzT4Q7E: Connection refused

Can anybody explain what has happened?

Bob T.
 
Reply With Quote
 
 
 
 
Pascal Hambourg
Guest
Posts: n/a

 
      01-18-2010, 01:34 PM
Hello,

Bob Tennent a écrit :
> When I try to do a yum update on a Fedora 11 system, I'm getting strange
> messages:
>
> http://dl.atrpms.net/f11-i386/atrpms...ta/repomd.xml: [Errno 4]
> IOError: <urlopen error [Errno -2] Name or service not known>
>
> Another symptom is that Firefox produces
>
> Server not found
>
> Firefox can't find the server at www.google.com
>
> *unless* I use privoxy as a local proxy. Opera seems to be unaffected


Looks like a name resolution issue. Check /etc/resolv.conf, then check
with host/dig/nslookup that the mentionned nameservers behave correctly.
 
Reply With Quote
 
Bob Tennent
Guest
Posts: n/a

 
      01-18-2010, 01:49 PM
On Mon, 18 Jan 2010 15:34:36 +0100, Pascal Hambourg wrote:
> Hello,
>
> Bob Tennent a écrit :
>> When I try to do a yum update on a Fedora 11 system, I'm getting strange
>> messages:
>>
>> http://dl.atrpms.net/f11-i386/atrpms...ta/repomd.xml: [Errno 4]
>> IOError: <urlopen error [Errno -2] Name or service not known>
>>
>> Another symptom is that Firefox produces
>>
>> Server not found
>>
>> Firefox can't find the server at www.google.com
>>
>> *unless* I use privoxy as a local proxy. Opera seems to be unaffected

>
> Looks like a name resolution issue. Check /etc/resolv.conf, then check
> with host/dig/nslookup that the mentionned nameservers behave correctly.


I don't believe so. It's http that's problematic. ping and ssh work
fine.
 
Reply With Quote
 
Bob Tennent
Guest
Posts: n/a

 
      01-18-2010, 03:18 PM
On Mon, 18 Jan 2010 16:47:41 +0100, Pascal Hambourg wrote:
> Bob Tennent a écrit :
>> >>
>> >> Another symptom is that Firefox produces
>> >>
>> >> Server not found
>> >>
>> >> Firefox can't find the server at www.google.com
>> >>
>> >> *unless* I use privoxy as a local proxy. Opera seems to be unaffected
>> >
>> > Looks like a name resolution issue. Check /etc/resolv.conf, then check
>> > with host/dig/nslookup that the mentionned nameservers behave correctly.

>>
>> I don't believe so. It's http that's problematic. ping and ssh work
>> fine.

>
> That message from Firefox really looks like a name resolution failure.


Then why would it connect fine using privoxy?

> What about telnet to port 80 of some web server hostname ?


Works.
 
Reply With Quote
 
Pascal Hambourg
Guest
Posts: n/a

 
      01-18-2010, 03:30 PM
Bob Tennent a écrit :
> >>
> >> I don't believe so. It's http that's problematic. ping and ssh work
> >> fine.

> >
> > That message from Firefox really looks like a name resolution failure.

>
> Then why would it connect fine using privoxy?


When using a proxy, a browser does not perform name resolution itself,
it leaves it to the proxy.

> > What about telnet to port 80 of some web server hostname ?

>
> Works.


Did you achieve a complete HTTP transaction or just the TCP connection ?
 
Reply With Quote
 
David W. Hodgins
Guest
Posts: n/a

 
      01-18-2010, 03:31 PM
On Mon, 18 Jan 2010 11:18:17 -0500, Bob Tennent <(E-Mail Removed)> wrote:

> Then why would it connect fine using privoxy?


My guess is ipv6 is not working. In firefox, load about:config.
Put ipv6 in the filter. Double click the setting for
network.dns.disableIPv6 and change it to true.

Regards, Dave Hodgins

--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
 
Reply With Quote
 
Pascal Hambourg
Guest
Posts: n/a

 
      01-18-2010, 03:45 PM
David W. Hodgins a écrit :
> On Mon, 18 Jan 2010 11:18:17 -0500, Bob Tennent <(E-Mail Removed)> wrote:
>
>> Then why would it connect fine using privoxy?

>
> My guess is ipv6 is not working.


AFAIK, IPv6 not working would not produce "Server not found" in Firefox.

> In firefox, load about:config.
> Put ipv6 in the filter. Double click the setting for
> network.dns.disableIPv6 and change it to true.


If this works, it could also mean that it is a DNS issue. This option
prevents Firefox from issuing DNS qeries for IPv6 addresses (type AAAA)
before issuing DNS queries for IPv4 addresses (type A). Such requests
should be harmless even on an all IPv4 network although the queried DNS
server or DNS relay is broken. I have seen it.
 
Reply With Quote
 
Bob Tennent
Guest
Posts: n/a

 
      01-18-2010, 05:35 PM
On Mon, 18 Jan 2010 17:30:28 +0100, Pascal Hambourg wrote:

>> > What about telnet to port 80 of some web server hostname ?

>>
>> Works.

>
> Did you achieve a complete HTTP transaction or just the TCP connection ?


How do I do that? If I enter q (I was trying to quit!), I get a dump of
index.html.
 
Reply With Quote
 
Pascal Hambourg
Guest
Posts: n/a

 
      01-18-2010, 06:49 PM
Bob Tennent a écrit :
> >
> > Did you achieve a complete HTTP transaction or just the TCP connection ?

>
> How do I do that?


To get <http://www.example.com/path/to/document> :

GET /path/to/document HTTP/1.1
Host : www.example.com

Then press enter again to add an empty line.

> If I enter q (I was trying to quit!), I get a dump of index.html.


The real index.html or a page containing an error message such as
"Method not implemented" ?
Anyway, if you got some HTML from the server then I guess it counts as a
transaction.
 
Reply With Quote
 
Bob Tennent
Guest
Posts: n/a

 
      01-18-2010, 07:16 PM
On Mon, 18 Jan 2010 20:49:34 +0100, Pascal Hambourg wrote:
> Bob Tennent a écrit :
>> >
>> > Did you achieve a complete HTTP transaction or just the TCP connection ?

>>
>> How do I do that?

>
> To get <http://www.example.com/path/to/document> :
>
> GET /path/to/document HTTP/1.1
> Host : www.example.com
>
> Then press enter again to add an empty line.


I then get

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
<hr>

etc.

>> If I enter q (I was trying to quit!), I get a dump of index.html.

>
> The real index.html or a page containing an error message such as
> "Method not implemented" ?


The real index.html.

> Anyway, if you got some HTML from the server then I guess it counts as a
> transaction.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DCDiag - failed with Error Win32 Error 8420 Alex Windows Networking 8 05-27-2008 11:24 PM
IAS: Unexpected error. Possible error in server or client Rene Haeberli Windows Networking 0 08-14-2006 09:01 AM
Error 1001 form Application Error CABER Windows Networking 0 12-30-2005 01:38 PM
MrxSmb Error 3034 (c000005e) Error =?Utf-8?B?TGVlIENyb3VjaGVy?= Windows Networking 1 01-28-2005 01:12 PM
Interface error and packet filter error for Remote Access Tony Birnseth Windows Networking 0 09-19-2004 04:28 PM



1 2 3 4 5 6 7 8 9 10 11