-
-
Notifications
You must be signed in to change notification settings - Fork 664
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unhandled exception somewhere in outbound #2807
Comments
Is your node version up-to-date? If it's a TLS issue, updating node (and thus openssl) often resolves it. |
of crse it is - v12.16.1 |
Any chance it's related to #2743 (which
I note never got fixed)?
…On Wed, May 27, 2020 at 3:39 PM celesteking ***@***.***> wrote:
of crse it is - v12.16.1
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2807 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFBWY4UXDYHM7JO563MIVLRTVUAJANCNFSM4NMMRQQQ>
.
|
It's unrelated to that, but might be related to the code/logic quality overall in that file. I just need to understand where it might be happening as we've got safenets everywhere. |
Is this still an issue? |
I don't have 99cb9f9 applied, but there haven't been any crashes in the last month. Can't repro, I guess. And even if I were able to, I'd apply that patch before reopening. |
I think I'm experiencing the same issue - I get occasional crashes with the log message:
It's very inconsistent - sometimes weeks and a few million outbound mails go past with no issues, and then there are occasions where there have been tens of restarts in a day. I was previously on Node v18, and just upgraded to the lastest v20 to see if that helped - but no, after several days it happened again. |
If you can narrow it down to a particular server, that would be useful. Exceptional issues like this are why the no-tls-hosts feature exists. |
I appreciate it doesn't give you much to go on :) I've been trawling logs, looking at adjacent email events but have yet to find a particular smoking gun server. I'm beginning to suspect it's the MS 365 MXs occasionally doing wierd things, but I don't have what you'd call strong evidence. I'll keep looking at it though, and I'll let you know if I can be more specific. I might try playing with netem or something similar locally to simulate some terrible network connections to see if I can reproduce it that way. |
Node v20.15.0 I've had the same issue occur 11 times in the last 7 months. What should I look for in the logs? Is there any additional logging that I can do to help track this down? |
v2.8.25
Getting this unhandled exception inside outbound on stderr:
And in syslog:
So I'm wondering where that's happening. Thanks to
source: 'tls'
it looks like it's coming from either here or there, but where does it end up?Update: Note, that I would usually receive
[WARN] [-] [core] [outbound] Socket got an error while shutting down: Error: read ECONNRESET
-- happening very frequently.The text was updated successfully, but these errors were encountered: