Closed Bug 86556 Opened 25 years ago Closed 25 years ago

don't show users the useless "unknown error, 80004005" alert

Categories

(MailNews Core :: Networking: NNTP, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.4

People

(Reporter: sspitzer, Assigned: sspitzer)

References

Details

Attachments

(2 files)

unknown error, 80004005 (I think I know why it happens for news) one way to reproduce it is to start up mail, update the unread counts on the groups on a news servers. (this happens automatically if your server is open at startup.) wait for that connection to time out. once you select a newsgroup, you'll get that message. I'll do some debugging to figure more out. don't dup this bug. I know there are other "80004005" bugs.
I think this is being displayed instead of the "Too many connections" error message we all know and hate.
Keywords: nsbeta1
I can get this error if I try to move a message while it's loading... see attachment.
Attached image error_80004005
That error pops up easily, esp under Chinese endocing.
I can reproduce this 100% In Mozilla, access any news server and group. In Windows 98, bring up WinIPcfg / More Info / Release All. The "unknown error 80004005" pops right up every time. Also, when in news, any group if I am idle for x number of minutes and click on anything the error pops up. I don't know the actual value of " x " but I don't think it important to know the actual elapsed idle time.
100% easy to reproduce 1.add a news server 2 do not subscribe to eny news group 3. double clik the server entry 4. !alert 80004005 unkonw error :)
*** Bug 93447 has been marked as a duplicate of this bug. ***
This is happening for me with every post to a secure news server, for example the group snews://secnews.netscape.com/netscape.netscape6.windows I click send, the barber pole "sending" window comes up, I get this unknown error, 80004005, I click OK and the message is sent. At least the messages *are* getting through.
Adding to the annoyance the unknown error dialog is modal to the main mail window, so I click send, the mail window pops on top with the alert, and after I click OK the compose window comes back on top while it finishes sending.
every time on a secure post is too much. I'll go take a look.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.4
I don't get that error when I post. (using the trunk.) dveditz, anything special with your account? where are your copies and folder prefs pointing to?
the alert comes from here: I'll continue to investigate what is firing PLEvent. on suggestion, if the error isn't a "expected" error: NS_ERROR_UNKNOWN_HOST, or NS_ERROR_CONNECTION_REFUSED, NS_ERROR_NET_TIMEOUT, don't throw up the alert. it isn't useful to our users. instead, we should assert (which is useful for developers.) nsMsgProtocol::OnStopRequest(nsMsgProtocol * const 0x05dbb4ec, nsIRequest * 0x05dc5140, nsISupports * 0x05da62a0, unsigned int 2147500037) line 330 nsNNTPProtocol::OnStopRequest(nsNNTPProtocol * const 0x05dbb4ec, nsIRequest * 0x05dc5140, nsISupports * 0x05da62a0, unsigned int 2147500037) line 1181 nsOnStopRequestEvent::HandleEvent() line 161 nsARequestObserverEvent::HandlePLEvent(PLEvent * 0x0567c2e4) line 64 PL_HandleEvent(PLEvent * 0x0567c2e4) line 590 + 10 bytes PL_ProcessPendingEvents(PLEventQueue * 0x005040a0) line 520 + 9 bytes _md_EventReceiverProc(HWND__ * 0x000f00c0, unsigned int 49449, unsigned int 0, long 5259424) line 1071 + 9 bytes USER32! 77e13eb0() USER32! 77e1401a() USER32! 77e192da() nsAppShellService::Run(nsAppShellService * const 0x041aec60) line 425 main1(int 4, char * * 0x00484180, nsISupports * 0x00000000) line 1290 + 32 bytes main(int 4, char * * 0x00484180) line 1599 + 37 bytes mainCRTStartup() line 338 + 17 bytes KERNEL32! 77e87903()
Yesterday it was every post to secnews, even after restarting the browser. Today I'm not seeing it at all.
sr=mscott
fixed. now we just assert (in debug builds only.) to test this, read some news postings and then use "ipconfig /release" to drop you network connection.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Summary: unknown error, 80004005 (I think I know why it happens for news) → don't show users the useless "unknown error, 80004005" alert
Verified FIXED (for the cases mentioned in this bug, and this bug alone). Criteria: 1. Added a news server, didn't subscribe to any groups, double-clicked on the server name, didn't receive Unknown Error. 2. Forced my connection to the news server to drop, on Windows 2000 by using ipconfig/release, then clicked on a message. No Unknown Error. Even did ipconfig/renew, clicked on messages, Mozilla returned to normal behavior. Mac OS 9.1 and RedHat 7.1 - just unplugged my network drop, and clicked on news postings. No Unknown Error. Caveat: The normal connetion lost/timed-out errors were present. Builds: Mac OS 9.1 - 2001-08-13-08 RedHat 7.1 - 2001-08-13-08 Windows 2K - 2001-08-13-03
Status: RESOLVED → VERIFIED
*** Bug 80688 has been marked as a duplicate of this bug. ***
*** Bug 57057 has been marked as a duplicate of this bug. ***
*** Bug 57591 has been marked as a duplicate of this bug. ***
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: