alexdlaird / pyngrok

A Python wrapper for ngrok
https://pyngrok.readthedocs.io
MIT License
416 stars 59 forks source link

ssl error #91

Closed rikuru-to865 closed 2 years ago

rikuru-to865 commented 2 years ago

urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1129)>

During handling of the above exception, another exception occurred

It seems like ssl error

I think line 17 of installer.py should be changed from https to http

version = "5.1.0"

logger = logging.getLogger(name)

CDN_URL_PREFIX = "https://bin.equinox.io/c/4VmDzA7iaHb/" #here!!!

CDN_URL_PREFIX = "http://bin.equinox.io/c/4VmDzA7iaHb/" #change

PLATFORMS = { "darwin_x86_64": CDN_URL_PREFIX + "ngrok-stable-darwin-amd64.zip", "darwin_x86_64_arm": CDN_URL_PREFIX + "ngrok-stable-darwin-arm64.zip",

github-actions[bot] commented 2 years ago

This is a bug tracker and not a support forum.

While we'd love to be able to support every person on their projects, that would simply be infeasible. Luckily, that's what the helpful developer community over at Stack Overflow is for! Please create a question there with the \"pyngrok\" tag if what you're looking for is a programming question or you need help with an integration. You can refer to pyngrok's own documentation to help you write the best possible question.