-
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
Intermittently getting Quit inactivity timeout with Node.js 4.2.0 #1223
Comments
Hi! The error of
|
Firewall issues can't explain intermittent behavior. Also I've setup mysql access open from all ip addresses. Whenever this error occurs exception is thrown within few 100 milliseconds so 30 seconds timeout is also ruled out. Can you suggest looking at anything else. |
Interesting. I'll reopen as needs investigation, but I cannot think of anything to look into besides what was listed above. Perhaps there is a bug in this module or in Node.js core (which keeps track of the timeouts)? I'm not able to reproduce, so without a way to reproduce the issue, there isn't much I can look into successfully. I can poke around at the code here, but it may not ever turn up anything of use. If you could debug your code and determine what is happening and issue up a PR, that's likely the best course of action :) |
Had probably relevant issues like:
when working with node v4.2.0 and moved to v4.2.1 to resolve it |
I kept getting the same error too, but only with node v4.2.0, and upgrading to v4.2.1 also solved it for me. |
Hi, more simple, this code was working for me on aws + lambda
|
Just FYI : Working fine on 4.2.2 and 4.2.3 .. Not working on 4.2.0 |
For those still coming across this issue, the bug is fixed. This is from a bug in Node.js 4.2.0 timers. You must upgrade your version of Node.js to actually receive the fix, or use a previous version of Node.js. If AWS or other platforms only offer Node.js 4.2.0, then you may want to consider using a platform that does not force you to use versions of Node.js with known-fixed bugs. |
I am re-opening this issue if someone wants to take a look into it, since apparently people are still running the issue and claim that upgrading to a version of Node.js that has the bug fix is not possible on AWS. The only way this issue is going to move forward at this point is if someone wants to provide a pull request with the changes required for this module to work on Node.js 4.2.0. I will not be pursuing a fix, but if someone has a need to run this module on Node.js 4.2.0 and has the time to work on a fix and test it, please contribute. |
@dougwilson I'm using node on aws lambda. The problem is not persistent it reoccurs after every few requests only.
Here is the test code
The text was updated successfully, but these errors were encountered: