Sunday, 10 December 2017

Node.js connectivity fails connecting to AWS RDS

Problem:

You were able to connect to a local mysql instance with node.js (with the Loopback framework in my instance) but when you try to connect to an AWS RDS instance you get the dreaded Error: Handshake inactivity timeout  error.

And its not an issue with an older version of Node 4.2.

Solution:

You likely have a security group preventing your access to the RDS instance.

Don't worry, I felt like an idiot too; it passes.

No comments:

Post a Comment