bugzilla.mozilla.org will be intermittently unavailable on Saturday, March 24th, from 16:00 until 20:00 UTC.

Cannot send any news message : no connection to news server ?!



MailNews Core
Networking: NNTP
11 years ago
9 years ago


(Reporter: Frederic Bezies, Assigned: Bienvenu)




Firefox Tracking Flags

(Not tracked)



(1 attachment)



11 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9a3pre) Gecko/20070325 Firefox/3.0a3pre
Build Identifier: 

It is a really simple bug to reproduce. Bug was introduced after 23rd march. My last working homemade build was made on 23rd march, around 01:00 am (mozilla.org time).

When I try to send a message on my news server, I get an error message telling me :

"A news (NNTP) error occured : article has no body just headers"

then I have another error box :

"Sending of message failed. The message cannot be sent because connecting to the news server failed..."

Of course, I entered a body, and using an older version, connection is OK !

Reproducible: Always

Steps to Reproduce:
1.Grab / build a nightly after 23rd march
2.Go to a newsgroup
3.Write a message
4.Try to send it
Actual Results:  
Error message. Nothing sent.

Expected Results:  
Just sending the message ?!

Could this be related to bug 33451 or bug 355008 ?!

Comment 1

11 years ago
I don't know if it is related, but using 24th march nightly of Thunderbird, I got this in error console :

Error: gMsgCompose.getExternalSendListener is not a function
Source File: chrome://messenger/content/messengercompose/MsgComposeCommands.js
Line: 1056

Comment 2

11 years ago
the exception is bug 372706

The regression is from bug 33451 (attachment 259459 [details] [diff] [review])
Assignee: nobody → bienvenu
Blocks: 33451
Keywords: regression
Version: unspecified → Trunk

Comment 3

11 years ago
So I guess well for the guilty bug. Hope those kind of regressions will be soon dead ;)

Comment 4

11 years ago
hmm, this works fine on Windows, which makes it challenging for me to try to reproduce. I'll try it on the Mac and hope the problem occurs there too. Sorry for the regression. I wonder if Andrew can reproduce this on Linux, using the test newsgroup on news.mozilla.org...

Comment 5

11 years ago
David: Yes, I can.  I can try a debug build to see if that complains.  Anything else to look at specifically?

Comment 6

11 years ago
(Un)fortunately, the problem happens on the mac, so I can debug it there. My guess is something is going wrong in DeliverFileAsNews. I'll look into it right now - I didn't see any interesting assertions firing. An other possibility is the change to nsAsyncProtocol::PostMessage, though I stepped through it on Windows. Or was that just used for smtp posting - I don't remember anymore...

Comment 7

11 years ago
Created attachment 259637 [details] [diff] [review]
proposed fix

we want crlf, not the platform native line ending. Andrew, could you try this on linux, if you get a chance? Thx!
Attachment #259637 - Flags: superreview?(mscott)

Comment 8

11 years ago
Yes, the patch fixes the bug on linux too.


11 years ago
Attachment #259637 - Flags: superreview?(mscott) → superreview+

Comment 9

11 years ago
I can confirm this patch is working beautifully.

Let's hope it would be added soon ;)

Comment 10

11 years ago
fix checked in. Thx for confirming the fix on linux.
Last Resolved: 11 years ago
Resolution: --- → FIXED
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.