Closed Bug 1286620 Opened 8 years ago Closed 7 years ago

Thunderbird 'Not Responding' for 1-2 minutes after Send

Categories

(MailNews Core :: Networking: SMTP, defect)

x86_64
Windows 8.1
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: rmaf, Unassigned)

References

Details

(Keywords: perf)

User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0
Build ID: 20160623154057

Steps to reproduce:

TB sends the email, but freezes for 1-2 minutes, apparently after closing the session with the SMTP server.
I have tested with a clean TB install and the problem stays.

(OS: Windows 8.1 64bit)


Actual results:

My guess is that there is some misunderstanding between TB and the SMTP server at the time of closing the session.

I use smtp-mail.oulook.com server (with Normal Password, and STARTTLS). Following is a quote of the last part of the session LOG. I call attention for the last line "SMTP connection error quitting 804b0002, ignoring":

3804[1011140]: SMTP Response: 235 2.7.0 Authentication succeeded
3804[1011140]: SMTP entering state: 18
3804[1011140]: SMTP Login response, code 235
3804[1011140]: SMTP entering state: 3
3804[1011140]: SMTP Send: MAIL FROM:<rmaf@netcabo.pt> BODY=8BITMIME SIZE=1060392

3804[1011140]: SMTP entering state: 0
3804[1011140]: SMTP Response: 250 2.1.0 rmaf@netcabo.pt....Sender OK
3804[1011140]: SMTP entering state: 5
3804[1011140]: SMTP Send: RCPT TO:<rmaf@clix.pt>

3804[1011140]: SMTP entering state: 0
3804[1011140]: SMTP Response: 250 2.1.5 rmaf@clix.pt 
3804[1011140]: SMTP entering state: 6
3804[1011140]: SMTP Send: DATA

3804[1011140]: SMTP entering state: 0
3804[1011140]: SMTP Response: 354 Start mail input; end with <CRLF>.<CRLF>
3804[1011140]: SMTP entering state: 7
3804[1011140]: SMTP entering state: 8
3804[1011140]: SMTP Send: .

3804[1011140]: SMTP entering state: 0
3804[1011140]: SMTP Response: 250 2.6.0  <f748743b-55a2-612e-c844-972c6c136b15@netcabo.pt> Queued mail for delivery
3804[1011140]: SMTP entering state: 9
3804[1011140]: SMTP Send: QUIT

3804[1011140]: SMTP entering state: 0
3804[1011140]: SMTP entering state: 0
3804[1011140]: SMTP Response: 221 2.0.0 BLU437-SMTP88.smtp.hotmail.com Service closing transmission channel
3804[1011140]: SMTP entering state: 10
3804[1011140]: SMTP entering state: 12
3804[1011140]: SMTP connection error quitting 804b0002, ignoring
OS: Unspecified → Windows 8.1
Hardware: Unspecified → x86_64
The LOG with timestamp shows a time delay between 'Service closing transmission channel' and 'connection error quitting 804b0002, ignoring' (see last 3 lines).

2016-07-13 20:37:15.867000 UTC - 1316[811140]: SMTP Response: 250 2.6.0  <d46552b5-755b-0126-74a1-5586d67f82d0@netcabo.pt> Queued mail for delivery
2016-07-13 20:37:15.867000 UTC - 1316[811140]: SMTP entering state: 9
2016-07-13 20:37:15.867000 UTC - 1316[811140]: SMTP Send: QUIT

2016-07-13 20:37:15.867000 UTC - 1316[811140]: SMTP entering state: 0
2016-07-13 20:37:15.976000 UTC - 1316[811140]: SMTP entering state: 0
2016-07-13 20:37:15.976000 UTC - 1316[811140]: SMTP Response: 221 2.0.0 BLU436-SMTP229.smtp.hotmail.com Service closing transmission channel
2016-07-13 20:37:15.976000 UTC - 1316[811140]: SMTP entering state: 10
2016-07-13 20:38:39.202000 UTC - 1316[811140]: SMTP entering state: 12
2016-07-13 20:38:39.202000 UTC - 1316[811140]: SMTP connection error quitting 804b0002, ignoring
Briefly looking for a solution on Google:
https://www.google.com.au/?gws_rd=ssl#q=smtp+error+804b0002
it seems that this is a support question that should have been asked at
https://support.mozilla.org/en-US/products/thunderbird

Apparently the message is sent to the SMTP server which then chooses to ignore it for whatever reason.

I noticed that you are using smtp.hotmail.com. Please try with a different outgoing server.

Matt, I see you ware involved in: https://support.mozilla.org/en-US/questions/1111782
Flags: needinfo?(unicorn.consulting)
I tried TB with two SMTP servers:
smtp-mail.outlook.com (the connection is initiated with this address, not hotmail)
smtp.aol.com
With both, TB reproduces the same behavior.

I made the same experiment with 'Claws Mail' client. I did not find any problem with this client.
So, I am almost convinced that the problem is not on the side of the SMTP server, but on TB itself or, at least, with the way TB works on my Windows 8.1 64bit system.
See Also: → 1219527
rmaf, 
Is what you are seeing "Not Responding" in Thunderbird's windows title bar?
Component: Untriaged → Networking: SMTP
Flags: needinfo?(rmaf)
Product: Thunderbird → MailNews Core
Version: 45 Branch → 45
(In reply to Wayne Mery (:wsmwk, NI for questions) from comment #5)
> rmaf, 
> Is what you are seeing "Not Responding" in Thunderbird's windows title bar?

Wayne,
That's right. TB window title shows "Not Responding"
Flags: needinfo?(unicorn.consulting)
Summary: Thunderbird 'Stop Responding' After Send → Thunderbird 'Not Responding' for 1-2 minutes after Send
rmaf, during the one+ minute period of not responding, what is the CPU usage of thunderbird.exe per taskmgr?
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE

Sounds like Bug 1332487 - Thunderbird frequently hangs for up to 45 seconds using W10-64 while composing message, and shows "not responding"

Severity: normal → S2
Flags: needinfo?(rmaf)
Keywords: perf
See Also: → 1332487
You need to log in before you can comment on or make changes to this bug.