Skip to content
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

connect ETIMEDOUT 169.50.207.103:443 #73

Open
mjodeh opened this issue Mar 9, 2020 · 0 comments
Open

connect ETIMEDOUT 169.50.207.103:443 #73

mjodeh opened this issue Mar 9, 2020 · 0 comments

Comments

@mjodeh
Copy link

mjodeh commented Mar 9, 2020

Error: connect ETIMEDOUT 169.50.207.103:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1128:14) {
errno: 'ETIMEDOUT',
code: 'ETIMEDOUT',
syscall: 'connect',
address: '169.50.207.103',
   port: 443
}

Node v10.0.0
OS: Ubuntu 18.04

Code:

const sendMail = async (to, subject, body) => {
  try {
    let info = await sendGridMail.send({
      from: process.env.EMAIL || "my test email",
      to,
      subject,
      html: body
    });
    console.log("email sent", info)
  } catch (ex) {
    console.log("send email failed", { to, subject }, ex);
  }
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant