hooman icon indicating copy to clipboard operation
hooman copied to clipboard

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

Open kopax opened this issue 4 years ago • 2 comments

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

  • [x] I have tried my code with the latest version of Node.js and hooman.

kopax avatar Nov 17 '20 14:11 kopax

I have the same problem

Raphael0010 avatar Dec 05 '20 23:12 Raphael0010

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.

kopax avatar Dec 06 '20 16:12 kopax