On Fri, 2006-02-10 21:07:55 +0100, Mike Hommey <[EMAIL PROTECTED]> wrote: > On Fri, Feb 10, 2006 at 06:58:59PM +0100, Jan-Benedict Glaw <[EMAIL > PROTECTED]> wrote: > > Package: firefox > > Architecture: i386 > > Version: 1.5.dfsg+1.5.0.1-2 > > Distribution: unstable/sid > > > > Hi! > > > > If you open a web site whose HTTP server isn't running, or after > > different types of network errors, the displayed error message isn't > > really helpful. M$ Internet Explorer may display "Some kind of error > > has appeared", but from Firefox, I actually expect something more > > helpful, like libc's strerror() output for transport errors or > > something like that. > > How the following message can not be enough ?
"While trying to connect() to foo.bar.com, the connect timed out." ...or, if the socket was set to non-blocking mode: "While trying to connect() to foo.bar.com, the connect was aborted after waiting 2000msec." "While trying to connect() to foo.bar.com, the connection was refused." ... > Firefox can't establish a connection to the server at localhost. > > * The site could be temporarily unavailable or too busy. Try again in a > few > moments. Is this a locally generated timeout? ...or a RST because of a full SYN queue? > * If you are unable to load any pages, check your computer's network > connection. I don't like poking around for a reason, but rather get the errno value of whatever libc call actually failed. > * If your computer or network is protected by a firewall or proxy, make > sure > that Firefox is permitted to access the Web. The point is that there are basically two things to debug a non-working connection: strace firefox (which isn't a really nice thing to look at) or tcpdump the network. So if Firefox would just print out the libc error that occured, it would probably save the user from needing to go down into the details. Thanks, Jan-Benedict -- Jan-Benedict Glaw [EMAIL PROTECTED] . +49-172-7608481 _ O _ "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg _ _ O für einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! O O O ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
signature.asc
Description: Digital signature