Closed
Bug 39154
Opened 25 years ago
Closed 25 years ago
SSL connections for nntp and imap are broken.
Categories
(MailNews Core :: Networking, defect, P2)
MailNews Core
Networking
Tracking
(Not tracked)
VERIFIED
FIXED
M16
People
(Reporter: mscott, Assigned: pavlov)
References
Details
(Whiteboard: [dogfood-])
Attachments
(2 files)
|
5.80 KB,
patch
|
Details | Diff | Splinter Review | |
|
6.44 KB,
patch
|
Details | Diff | Splinter Review |
This problem has been around for at least 2 weeks, we just haven't crystalized
it into a bug yet.
I started looking at this and it appears that we pass the correct port and host
into the networking layer. necko is in turn creating a ssl socket correctly. I'm
finding myself getting in here:
nsSSLSocketProvider::NewSocket and successfully returning a socket.
However, nothing happens after this point. PSM never comes up to ask me to
choose a certificate to use.
We have this problem regardless of the mail protocol being used.
| Reporter | ||
Updated•25 years ago
|
Comment 1•25 years ago
|
||
can you try putting breakpoints on:
nsSSLIOLayerConnect
nsSSLIOLayerRead
nsSSLIOLayerWrite
| Reporter | ||
Comment 2•25 years ago
|
||
Thanks for the tip doug. We do reach the connect phase. And the first time a
read occurrs, amount = 2048 but the PR_Recv calls returns a -1 and we fall out.
PRInt32 result = PR_Recv(fd, buf, amount, 0, PR_INTERVAL_MIN);
Comment 3•25 years ago
|
||
what is the PR_GetError()? Is it PR_IO_TIMEOUT_ERROR? If it is, you are still
good and will be placed in the select q.
| Reporter | ||
Comment 4•25 years ago
|
||
you are right doug. It's just the timeout. Unfortunately nothing happens after
that read. We don't get called back into read, write or close....
Comment 5•25 years ago
|
||
ssl connections are working for http(s). How are you creating the socket? The
same way http does? Maybe we should get together today or tomorrow for some
debuggin fun?
| Reporter | ||
Comment 6•25 years ago
|
||
sure let's look at it after tomorrow night (post feature deadline).
Putting on [nsbeta2+][6/01] radar. This work must be done by 06/01 or we may
pull this for PR2.
Whiteboard: [nsbeta2+][6/01]
Due to slip in schedule, moving this bug from [6/01] to [Will be minus on 6/15]
for fix deadline.
Whiteboard: [nsbeta2+][6/01] → [nsbeta2+][Will be minus on 6/15]
| Reporter | ||
Comment 9•25 years ago
|
||
Leaving as a present for dougt when he gets back. (I hope it's before 6/15!!!).
I've traced this through several times and we open the SSL socket and block
waiting for data from cartman. No data ever arrives.
I think it works for http because once the socket is open http posts data...we
are waiting for the server to send back certificate request information in the
imap / news case?? Or am I just blowing smoke.
In any case, the connection never gets a response so it never propogates up to
mailnews that we have a connection.
Assignee: mscott → dougt
| Assignee | ||
Comment 10•25 years ago
|
||
the original imaps bug was marked dogfood+, so i'm nominating this for dogfood.
This needs to get fixed ASAP. I am unable to use mail with our product. I
don't think doug is going to be back for another 3 weeks at least.
Keywords: dogfood
Comment 11•25 years ago
|
||
[dogfood+]
Whiteboard: [nsbeta2+][Will be minus on 6/15] → [dogfood+][nsbeta2+][Will be minus on 6/15]
Comment 12•25 years ago
|
||
*** Bug 42383 has been marked as a duplicate of this bug. ***
Comment 14•25 years ago
|
||
Removing [Will be minus on 6/15]....[dogfood+] indication trumps here :-)
Whiteboard: [dogfood+][nsbeta2+][Will be minus on 6/15] → [dogfood+][nsbeta2+]
Comment 15•25 years ago
|
||
This bug blocked bug 25670, without this bug's fix. Cannot use IMAP for SSL and
Secnews at all!
Comment 16•25 years ago
|
||
From Beta 2 criteria, Secure News is P3. So suggest won't hold beta 2 for that.
But there is no Beta2 definition for IMAP SSL....
| Assignee | ||
Comment 17•25 years ago
|
||
IMAP SSL is dogfood+ so it should be P0
Comment 18•25 years ago
|
||
Reassigning all https/cartman/security bugs to valeski. He will be finding new
owner(s). This shift is so that I can focus on embedding issues. If the new
owner has questions that can not be resovled, I may be able to lend a (quick)
hand.
over to valeski....
Assignee: dougt → valeski
| Reporter | ||
Comment 19•25 years ago
|
||
Hi Terry, this dogfood bug had been assigned to dougt whose out for a couple
more weeks I think. Do you think you might be able to shed some light on what
could be going on here?
It looks like cartman is creating the SSL connection to the imap or nntp server
(at least from the psm-glue point of view it looks that way). But then nothing
happens after the connect phase. We never get called back with any data to read
from the socket.Before this broke, cartman used to bring up the certificate
manager so you could pick the certificate you wanted to use for authentication
and then the connection was made and all was good. We don't even see the
certificate manager anymore.
Comment 20•25 years ago
|
||
please note that once doug does get back his ssl responsibilities will be nil as
he's going to be 100% embedding.
| Assignee | ||
Comment 21•25 years ago
|
||
adding javi to cc list... he thought this was a bug in cartman that was causing
a deadlock on the socket.
Comment 22•25 years ago
|
||
M16 has been out for a while now, these bugs target milestones need to be
updated.
Comment 23•25 years ago
|
||
Putting on [nsbeta2-][dogfood-] per PDT beta2 review today.
Some folks such as mscott, gagan and pavlov need to pow-wow on this.
Whiteboard: [dogfood+][nsbeta2+] → [dogfood-][nsbeta2-]
| Reporter | ||
Comment 24•25 years ago
|
||
I thought this was because of a bug in cartman and had nothing to do with us...hmmm
Comment 25•25 years ago
|
||
Ok, if this is a cartman bug, I'm reassigning to ddrinan for triage
Assignee: valeski → ddrinan
| Assignee | ||
Comment 26•25 years ago
|
||
sigh. i don't care whos bug this is. it has to be fixed.
| Assignee | ||
Comment 27•25 years ago
|
||
Would someone please tell me *why* this was marked nsbeta2- and dogfood-.
Javi had thought he had a fix, but the fix doesn't help
I have been debugging it this weekend and am stuck... I need some info from the
cartman team. I will contact them tomorrow.
This is (still) blocking me from using our product.
Severity: normal → major
OS: Windows NT → All
Hardware: PC → All
Whiteboard: [dogfood-][nsbeta2-]
Comment 28•25 years ago
|
||
This feature long ago fell off the "in feature list" as far as Netscape was
concerned for Nav 6. Pav did a great job of getting it in (on a bet as I recall
;-) ) in the past, but that was really outside of Netscapes critical needs for a
beta2 (let alone an RTM).
When the bug triage managers saw this bug last week, they re-evaled it to a pure
minus (beta2 and dogfood).
It would be nice if the mozilla community submitted a patch for this... but
inside Netscape we are more than overcommited with existing planned features for
beta2 (and RTM).
I hope that explanation makes more sense. Sorry this discussion was not added
when the change was made.
Jim
Updated•25 years ago
|
Whiteboard: [dogfood-][nsbeta2-]
| Assignee | ||
Comment 29•25 years ago
|
||
reassigning
| Assignee | ||
Comment 30•25 years ago
|
||
| Assignee | ||
Comment 31•25 years ago
|
||
I have made a patch to fix this problem. Please reconsider for dogfood+.
Status: NEW → ASSIGNED
Keywords: nsbeta2
Comment 32•25 years ago
|
||
Probably wanna ifdef DEBUG that at least one printf in your diffs.
| Assignee | ||
Comment 33•25 years ago
|
||
Updated•25 years ago
|
Whiteboard: [dogfood-]
Comment 34•25 years ago
|
||
Putting on [dogfood-] radar. Not critical to everyday use. Please land it as
soon as we branch.
Comment 35•25 years ago
|
||
Actually, this critical for everyday use for some of us. Maybe the branch will
occur by time I get back from vacation.
Not sure if this a problem with the patch or moz imap in general but I appear to
only be able to connect to one imap account at a time. Both of my accounts
connect to the same imap server which hosts several virtual domains.
| Assignee | ||
Comment 36•25 years ago
|
||
phil approved it. fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 37•25 years ago
|
||
Verified on WinNT 07-19-11-M17: it's working for IMAP on WinNT platform.
Verified on Linux 07-19-10-M17: it's working for IMAP on Linux platform.
Verified on WinNT 07-19-11-M17: it's working for NNTP on WinNT platform.
Verified on Linux 07-19-11-M17: it's working for NNTP on Linux platform.
But, for Mac 07-19-12-M17 commercial build: still need to wait for bug 45935 fix
in order to verify on Mac platform.
Depends on: 45935
Comment 38•25 years ago
|
||
After confirmed with John (junruh), the Secure Connction (SSL) is actually
connecting, bug 45935 actually is the Security certificate problem. I am removing
bug 45935 for this bug's dependence and marking this bug as verified.
Status: RESOLVED → VERIFIED
No longer depends on: 45935
Updated•21 years ago
|
Product: MailNews → Core
Updated•17 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•