Skip to content

connect ETIMEDOUT 169.50.207.103:443 #73

@mjodeh

Description

@mjodeh
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);
  }
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions