-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
looking for advice -- error connecting: Error: Handshake inactivity timeout #1239
Comments
Same here, ubuntu 14.04 after update / upgrade... after error did upgrade to node 4.2.1 and mysql latest... to be sure. No solution. Never happened in 2.5 year Nodejs/Mysql updates/upgrades it always worked/stable. |
reboot with Node 4.2.1 solved my problem thnx. I saw my problem is an duplicate, please dont solve and close to quick :-) |
Hi @bennettatoms can you provide the following information:
|
I had this problem also but Node 4.2.1 solved my problem too... :) I see that many people have this problem on Node 4.2.0 )))) |
I should mention that the app is running on node v0.12.4, node-mysql v2.9.0, and MySQL v5.6.23. Was hesitant to upgrade to node > 4.0 as we began deployment the same week 4.0 was released. I can still connect via localhost without problem. |
I have this problem too! update node to 4.2.1 is OK! |
Upgrading node to 4.2.1 solved the problem for me too 👍 |
I made a mistake on the node version. My local version, where everything is still working without issue, is 0.12.4, but the AWS EC2 instance is running 0.12.6, which is apparently the latest version they support. |
Updated with brew to 4.2.1 and problem solved. |
Saw the same problem just connecting to a local mysql like ...
Would give when trying con.query( etc... ) ...
Just updating to Node.js v4.2.1 fixed the issue!!. |
Just wanted to chime in and note that I was experiencing the same issue with the sails-mysql adapter, which uses node-mysql behind the scenes. Upgrading to Node 4.2.1 fixed it for me as well. |
@bennettatoms werre you able to resolve the issue? We test this module with 0.12, though looking at Travis CI, the current version is 0.12.7. I don't remember having having an issue with 0.12.6, though, and I ran against 0.12.6 locally and all the tests passed, so I'm not really sure what else to really suggest :( |
@dougwilson, I'm so sorry for not posting this earlier. Thank you for looking into it, but the problem, as I suspected but (unfortunately) took about a week to confirm, was on the AWS side, the way the permissions were configured on our outbound servers. It was all unfamiliar terrain for me. It is good to know, though, that this became a known and resolved issue with the upgrade to node 4.2.1. |
Yes, upgrading node version do the fix |
fixes mysqljs#1223 fixes mysqljs#1236 fixes mysqljs#1239 fixes mysqljs#1240 fixes mysqljs#1241 fixes mysqljs#1252
Hi,
I have been using node-mysql for development purposes for the past few months, and it's been great. Thus far I have been connecting to the same Amazon RDS instance from my local machine, but we recently deployed our app code to an Amazon VPC, and now I'm getting the above error when the app tries to connect to the same MySQL database we were developing off of.
The full error stack trace is:
Exactly what's happening on the attempt to connect is a little opaque. I'm guessing it's probably not an issue with the node-mysql module, but if anyone has experienced something similar and might be able to offer advice on how to connect successfully, I would greatly appreciate it.
The text was updated successfully, but these errors were encountered: