-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
NodeJS listener bug #8051
Comments
Oups :), missclick |
Can you try to reduce this to a small reproducible test case? |
Looking into it :D |
FWIW, A simple test case with an http server running os x with master isn't showing any issues, so a reproducible test case would be very helpful :-) |
Added the 7.0.0 milestone here because the commit that might be causing it is a semver-major one that would be included in v7, just so we don’t forget about this issue. |
That seems genuine: https://benchmarking.nodejs.org/charts/acmeair_throughput.png The last three days we've not been able to collect throughput on acmeair in the benchmarking workgroup - see the three blue dots at the bottom! Edit: that said, I can't recreate it on my machine here....I'm trying to get a copy of the logs from our benchmarking run to see if there's anything that sticks out |
Helllo, i'm still looking into the issue and what caused it. |
Can you do npm ls and find the versions of modules ? - this could perhaps be it breaks on an old copy of express.... |
Oups, seems I made a mistake on my previous post. It did not actually work(oups, I also have a stable version of node installed :D) and I was going mad trying to find the issue. The issue happens in mongodb.connect. Sample code that doesn't work:
Acmeair doesn't work because it first wants the connection to the DB established and then it wants to actually start listening. |
Mongo db seems to use timer in quite a lot of places - however upgrading mongo to 2.0.x seems to work fine for both the simple mongo test and acme air. |
I can fully confirm that using mongo 2.0.x is a working fix. I can continue our tests with the new change, so as far as I'm concerned, the issue is resolved.
|
I'm in the workgroup, I'll get the copy of acmeair updated shortly. However, I still think we should identify which bit of mongo fails on the the latest, and convince ourselves that the change in Node is correct - there could well be a number of other modules that are also broken, but no one has tested on the master branch..... @jasnell ,what are your thoughts on this? |
Additional testing is always good. I'm still pretty certain the change in On Monday, August 22, 2016, Gareth Ellis notifications@github.com wrote:
|
@addaleax you tagged this for v7, mind to check it again? :D |
Mhm, I wasn’t too successful getting the |
I also haven't been successful in narrowing down what in MongoDB 1.4.x stops working but works in 2.0.x. |
This issue has been inactive for sufficiently long that it seems like perhaps it should be closed. Feel free to re-open (or leave a comment requesting that it be re-opened) if you disagree. I'm just tidying up and not acting on a super-strong opinion or anything like that. |
Commit at: b7a8a69 contains a bug that prevents node from listening on a port.
I have detected this bug while trying to run acmeair-nodejs ( https://github.com/acmeair/acmeair-nodejs ) on the latest version of node.
Netstat report:
Expected report:
I am sure this is the commit with the issue because the commit 1b99093 is a_ok (manually tested).
The text was updated successfully, but these errors were encountered: