sindresorhus / fast-cli

Test your download and upload speed using fast.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ignore HTTPS errors when over proxy (or security services)

mattia-maggioli opened this issue · comments

commented

When the machine running fast-cli is behind an http/https proxy, fast-cli returns the error

› net::ERR_CERT_AUTHORITY_INVALID at https://fast.com

If I change line 54 of api.js to include --ignore-certificate-errors then fast-cli returns the error

› Evaluation failed: TypeError: Cannot read properties of null (reading
  'textContent')
      at __puppeteer_evaluation_script__:5:44

Would be great to add a flag to ignore https errors so that fast-cli can be used also with proxies or security services that inspect http/https traffic. Thanks!

@mattia-maggioli what did you change?
What be great to have this capability.