13
submitted 2 days ago* (last edited 2 days ago) by SatansDaughter@piefed.blahaj.zone to c/linuxquestions@lemmy.zip

I tried downloading a video using yt-dlp but got the following errors :
ERROR: [requests] Unexpected error: FileNotFoundError: [Errno 2] No such file or directory: '~/.ssl-log.key'; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U

ERROR: [urllib] Unexpected error: FileNotFoundError: [Errno 2] No such file or directory: '~/.ssl-log.key'; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U

ERROR: Unable to handle request: Unsupported url scheme: "https" (websockets) + 2 unexpected error(s)

After some troubleshooting, I found that I get a similar error when trying to download a package via pip FileNotFoundError: [Errno 2] No such file or directory: '~/.ssl-log.key'

I tried searching to see if I could regenerate ~/.ssl-log.key but couldn't find anything. Does someone know what caused this issue and how to fix it?

Solved: for some reason SSLKEYLOGFILE was being set in my shell config, deleting and unsetting it fixed it

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here
this post was submitted on 07 Dec 2025
13 points (100.0% liked)

Linux Questions

2975 readers
2 users here now

Linux questions Rules (in addition of the Lemmy.zip rules)

Tips for giving and receiving help

Any rule violations will result in disciplinary actions

founded 2 years ago
MODERATORS