Skip to content
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

Node >= v14 cause connect ECONNREFUSED 127.0.0.1:443 (eg: await hooman.get('https://www.malt.fr')) #38

Open
1 task done
kopax opened this issue Nov 17, 2020 · 2 comments

Comments

@kopax
Copy link

kopax commented Nov 17, 2020

Describe the bug

I can't use iot at all.

Afer some digging, it seems this is related to got, and got says it's related to something else.

Looking at the code, I think it's because got (and this module), is not compatible with newest node version.

  • Hooman version: 1.2.6
  • Node.js version: 14
  • OS & version: Debian Buster

Actual behavior

I am trying to scrap my malt.fr profile and this appeared to be a good client to bypass it's cloudflare security.

Running hooman.get('https://www.malt.fr') is throwing error: connect ECONNREFUSED 127.0.0.1:443

Expected behavior

I expect to get a code 200 to this request.

Code to reproduce

await hooman.get('https://www.malt.fr')

Checklist

  • I have tried my code with the latest version of Node.js and hooman.
@kopax kopax changed the title await hooman.get('https://www.malt.fr') => connect ECONNREFUSED 127.0.0.1:443 Node >= v14 cause connect ECONNREFUSED 127.0.0.1:443 (eg: await hooman.get('https://www.malt.fr')) Nov 17, 2020
@Raphael0010
Copy link

I have the same problem

@kopax
Copy link
Author

kopax commented Dec 6, 2020

I gave up using hooman, I use cloudscraper, it work fine for malt but I have tried another site with another cloudflare challenge and it doesn't work with it. I still hope this can be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants