-
Notifications
You must be signed in to change notification settings - Fork 62
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
Doesn't work nowadays? Examples and tests fail #46
Comments
Thanks @motin But if you need to make forward progress I would suggest downgrading to 1.15.1 as specified in the test. Happy to take a PR if the investigation points to it being a need to upgrade this package |
Additional investigation shows that the harmon tests pass up to @1.16.2 |
Thanks @No9 for pointing this out. Btw, shouldn't some of these devDependencies be actual dependencies? Currently when including harmon in another project, neither connect nor http-proxy gets installed. |
Hey @motin |
Hmm it seems like this broke when we stopped explicitly calling res.writeHead. I thought the internal call by node itself would allow it to still work but I guess not. The reason we switched to just assigning statusCode and allowing it to implicitly |
@jcrugzz Yes! Maybe we should have coordinated on this one 😝 @No9 (written before I refreshed the page and saw the previous response) After some investigation I believe I found the culprit of this bug. It has to do with http-proxy not using writeHead in their latest build http-proxy #953 fix I can patch it up but I need a little bit of guidance. The issue is that |
Any updates on this? Is this issue fixed now or should an old version of http proxy be used? |
I've opened #50 to address the issue with http-proxy. Feedback definitely welcome! |
@leveneg |
This project looks exactly like what I was looking for, but I got nothing to work.
It seems to be a general issue, with CircleCI on a fork of the current master failing as well: https://circleci.com/gh/motin/harmon/1
I tried node versions 8, 4 and 0.10 to no avail.
The text was updated successfully, but these errors were encountered: