Closed denigada closed 6 years ago
Take a look at https://github.com/dparlevliet/node.bittrex.api/issues/153#comment-373899585 (comment). Adding extra headers to CloudScraper helped improve connection delay on my side.
@aloysius-pgast Oh I did not notice that post thank you. I looked in the code but couldnt understand adding the headers. I am not that experienced. Is there any chance you can break it down a little bit?
Why is this closed? This is still an issue and there is no way to pass headers via options.
You need to add https://github.com/dparlevliet/node.bittrex.api/issues/153#comment-373899585 as a third argument in the cloudscraper.get function
Thank you, but that's not a fix - that's a hack. What happens when a new version is out... it should be a parameter of some sort that we were able to pass. I did it and it worked, but I had to directly alter the code of the module which is never a good idea.
My apps connect to web sockets after like 30 minutes. They started usually not working. Is everyone having the same issue?