I installed asciinema via pip3 but when I try to upload a recording this comes up:
Users-iMac:~ User$ asciinema upload demo.cast
asciinema: upload failed: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)>
asciinema: retry later by running: asciinema upload demo.cast
I have tried what SSL:CERTIFICATE_VERIFY_FAILED on macOS told.
There was no config file in ~/.config/asciinema, there was only a install-id file, so I created one myself using this: Configuration (Docs). I changed the api to https://asciinema.org but the same error came up, but when I changed it to http://asciinema.org this new error came up:
Using http:// won’t really work with asciinema.org, so you need to use https:// , and you can just remove the url from the config file as https is the default.
As for cert verification error… this has been a recurring problem on macOS, but I thought it finally went away (haven’t heard about this problem in a few years).
asciinema 2.x uses Python’s urllib and Python’s built-in SSL/TLS implementation, so we’re not doing anything custom/non-standard here.
On a related note, you can try installing the release candidate version of the upcoming asciinema 3.0, which doesn’t use Python (it’s a standalone binary).
Uhmm, hi. This was a issue with the terminal I guess, as all other applications also started giving me the same error. But now, it started working normally all of a sudden. Anyway, thanks!