-
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
PROTOCOL_SEQUENCE_TIMEOUT in Node v4.2 #1236
Comments
Definitely seems to be an issue between node-mysql and Node 4.2.0. The following script works fine in 4.1.2 but gets a connection timeout in 4.2.0.
|
By definition, 4.1.0 to 4.2.0 should be backwards-compatible. Please file a bug against Node.js for this so we can track here. |
Seems likely to be the bug nodejs/node#3331 |
I'll try to investigate the regression from Node.js 4.2 that is causing this sometime this week unless someone gets to it first :) |
nodejs/node@63644dd introduced this bug. Workaround: set |
Looks like there is going to be a 4.2.1 tomorrow (nodejs/node#3337), so it should be quick enough we don't need to introduce some kind of work-around for the bug. |
@dougwilson indeed. |
I should google before debugging this exception....... |
@RobinQu I am also a victim of this.. Want to be updated as soon as this issue is closed |
Thanks, "everyone's favourite JavaScript feature". Having this issue also. |
+1 |
Temporary fix from @fengmk2 worked for me to get things going again. Looking forward to the repaired release. |
nodejs/node#3337 has been merged |
Yes, and 4.2.1 has been released: https://nodejs.org/en/blog/release/v4.2.1/ |
I have the same error in v4.2.1 and I had to change |
it should work on undefined see https://github.com/nodejs/node/pull/3331/files |
Thanks, not sure why this happens but well there is a fix, so it's okay for me. |
yeah it landed in 4.2.1 so it should work |
I can confirm v4.2.1 fixed this for me. |
Hi everyone, if you are getting this only in Node.js 4.2.0, it's because that version had a regression in timer code. You have to either downgrade to 4.1.0 or upgrade to 4.2.1. |
fixes mysqljs#1223 fixes mysqljs#1236 fixes mysqljs#1239 fixes mysqljs#1240 fixes mysqljs#1241 fixes mysqljs#1252
I'm using this image https://hub.docker.com/r/mhart/alpine-node/, so not so sure if it's node-mysql's problem. Need confirm.
The text was updated successfully, but these errors were encountered: