Skip to content

Handshake inactivity timeout error #1240

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

Closed
Fatalityap opened this issue Oct 13, 2015 · 2 comments
Closed

Handshake inactivity timeout error #1240

Fatalityap opened this issue Oct 13, 2015 · 2 comments
Assignees
Labels

Comments

@Fatalityap
Copy link

Hi. I faced with "Handshake inactivity timeout" error. I am using Node v4.2.0 on MacOS X El Capitan, and latest version of your library and MySQL (I tried differed versions: 5.14, 5.6). I try to change settings but nothing helps me. Then I have commented this code:

.on('timeout', function() {
      var err = new Error(sequence.constructor.name + ' inactivity timeout');

      err.code    = 'PROTOCOL_SEQUENCE_TIMEOUT';
      err.fatal   = true;
      err.timeout = sequence._timeout;

      self._delegateError(err, sequence);
    }) 

at Protocol.js file or your library all is working fine. But maybe you can fix this issue.

@dougwilson
Copy link
Member

This is a regression in Node.js 4.2.0. You'll need to upgrade to 4.2.1 for their fix.

@dougwilson dougwilson self-assigned this Oct 13, 2015
@Fatalityap
Copy link
Author

Thanks a lot. It's help for me.

@mysqljs mysqljs locked and limited conversation to collaborators Oct 18, 2015
nwoltman pushed a commit to nwoltman/node-mysql that referenced this issue Jun 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

2 participants