Closed jhoogstraat closed 2 years ago
The CA Certificates should normally be provided by the OS. I can just include a copy of Mozilla's CA cert bundle, but thats rather uncommon. Moreover, it creates a new dependency to handle.
What system is the bot running on?
Hmm, I tested the PR on my own windows machine, but I'm not sure if the same problem would exist on Heroku. @Haroon96 maybe you can check?
As it turns out, the error is common: https://github.com/JCMais/node-libcurl/blob/develop/COMMON_ISSUES.md I can add the third option.
Could you try now @osama-h-rana?
@jhoogstraat working now on windows, sorry it took so long to review. Kinda busy during the week.
This fixes the cloudflare issues which prevent the bot from accessing the tracker.gg api currently. The system must have curl installed.