-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Error: read ECONNRESET #203
Comments
I also get ECONNRESET errors from Smtp connection. But instead i get a Error: write ECONNRESET. Here's the full track from longjohn.
|
I've tried to debug this and I'm kind of confused - the error event should end up in pool.js:303 but for some reason it does not :S |
Probably related to https://github.com/andris9/simplesmtp/issues/47 |
I am facing a similar issue with Hotmail/Outlook.com with large attachments. I tried with 3 attachments of total size 15Mb. I am getting the following error.
But the major issue there is that the mail is sent successfully. But Nodemailer returned an error. Can you help me to fix this issue? |
Supporting large messages is currently low priority and I do not want to spend much time on it. Pull requests are welcomed though. |
I also get the ECONNRESET error Error: write ECONNRESET
at SMTPConnectionPool._onConnectionError (/node_modules/nodemailer/node_modules/simplesmtp/lib/pool.js:328:17)
at SMTPClient.EventEmitter.emit (events.js:117:20)
at SMTPClient._onError (/node_modules/nodemailer/node_modules/simplesmtp/lib/client.js:354:10)
at CleartextStream.EventEmitter.emit (events.js:95:17)
at Socket.onerror (tls.js:1425:17)
at Socket.EventEmitter.emit (events.js:117:20)
at onwriteError (_stream_writable.js:231:10)
at onwrite (_stream_writable.js:249:5)
at WritableState.onwrite (_stream_writable.js:97:5)
at fireErrorCallbacks (net.js:438:13)
at Socket._destroy (net.js:472:3)
at Object.afterWrite (net.js:718:10) |
Could you state the related version numbers for the used modules as well? The line numbers usually do not match with the latest in the repository, so the error messages aren't very useful. Run |
Thanks for quick feedback! Here is the nodemailer block,
|
The versions used are somewhat outdated. Could you reinstall nodemailer (remove it completely to get rid of the dependencies and then install again) and see if the error is still present. |
@andris9 Thanks! Will do this and try again. |
Same problem here, when server is up for a "long" time… |
Got ETIMEDOUT when server is up for some time. Just after node server is restarted it sends out email with out any error. |
I have the same problem with the direct example in your repo. Pleas help! |
Was there any progress on this issue? |
Not for me alas. It seems to be due to windows, so I thinks I'll use c9.io to code this part. |
Nodemailer 1.0 uses a new SMTP client module, keep me updated if the issue still occurs |
I know this is an old dead thread, but I'm having the same issue. Using nodemailer v1.4.0 can connect with command line openssl
However, when I attempt to connect with nodemailer given these credentials I get the error above.
Nodemailer connection.
Actual error message.
|
Even I'm getting this error: I'm trying to use use service : 'gmail' in the transport object. |
I found this answer herer #170 and it worked. { |
{ |
facing the same issue, even having nodemailer@latest version |
Getting this from time to time in long running server. I am using gmail.com for sending emails and it works very well, except when this excption kills process.
I installed longjohn to get slightly better tracebacks:
I am using nodemailer v0.5.3 and simplesmtp v0.3.10
Here is my mailing module I am using in my server:
I am using it like this:
It looks like error happens somewhere inside in simplesmtp and not handled by nodemailer. But if it is something I could work around in my code - I am very interested to hear about possible solution.
The text was updated successfully, but these errors were encountered: