n0mad01 / node.bittrex.api

No longer maintained
MIT License
183 stars 187 forks source link

Cloudscraper error on EC2 instance #91

Open ahrboktrexon opened 6 years ago

ahrboktrexon commented 6 years ago

Using the bittrex.getbalances from local environment everything is ok, but when I publish my code on my EC2 instance the following error occurs

Cloudscraper error occurred
{ errorType: 1 }

It should be an error due to Cloudflare, but I tried changing headers according to what written here on GitHub before (User-Agent, cookie __cfduid, cookie cf_clearance) but nothing seems to work. The strange thing is when I disassociate my Elastic IP from my instance: without Elastic IP everything is ok