jarun / ddgr

:duck: DuckDuckGo from the terminal
GNU General Public License v3.0
2.92k stars 139 forks source link

<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)> #163

Closed JPRuehmann closed 6 months ago

JPRuehmann commented 6 months ago

ddgr wont work.

Everytime i wish to search something I get the following error:

[ERROR] <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)>

How can I Bypass this? I´ve installed by pip install ddgr. ddgr -v = 2.2

jarun commented 6 months ago

Appears to be a local issue. Please debug yourself. v2.2 works fine for me.

$ ./ddgr -v
2.2
$ ./ddgr hello

 1.  Adele - Hello (Official Music Video) - YouTube [www.youtube.com]
     Listen to "Easy On Me" here: http://Adele.lnk.to/EOMPre-order Adele's new album "30" before its release on
     November 19: https://www.adele.comShop the "Adele...

 2.  Adele - Hello | Lyrics | HD - YouTube [www.youtube.com]
     "Hello" is taken from the new album, 25, out November 20.http://adele.comFollow Adele on: Facebook -
     https://www.facebook.com/AdeleTwitter - https://twitter....

 3.  Hello (Adele song) - Wikipedia [en.wikipedia.org]
     Hello (Adele song) " Hello " is a song recorded by English singer-songwriter Adele, released on 23 October 2015
     by XL Recordings as the lead single from her third studio album, 25 (2015). Written by Adele and the album's
     producer, Greg Kurstin, "Hello" is a piano ballad with soul influences (including guitar and drums), and lyrics
     that discuss ...

 4.  Adele - Hello Lyrics | Genius Lyrics [genius.com]
     Hello Lyrics: Hello, it's me / I was wondering if, after all these years, you'd like to meet / To go over
     everything / They say that time's supposed to heal ya / But I ain't done much healin

 5.  Hello Definition & Meaning - Merriam-Webster [www.merriam-webster.com]
     Learn the origin, usage, and synonyms of the word hello, an expression or gesture of greeting. See examples of
     hello in sentences and related words from the dictionary.

 6.  HELLO | definition in the Cambridge English Dictionary [dictionary.cambridge.org]
     Learn the meaning, pronunciation and usage of hello, an exclamation or noun used when meeting or greeting
     someone, at the beginning of a phone conversation, or to attract someone's attention. See examples, synonyms and
     related words.

 7.  Adele - Hello Lyrics | Lyrics.com [www.lyrics.com]
     Watch: New Singing Lesson Videos Can Make Anyone A Great Singer Hello, it's me I was wondering if after all these
     years you'd like to meet To go over everything They say that time's supposed to heal ya But I ain't done much
     healing Hello, can you hear me? I'm in California dreaming about who we used to be When we were younger and free
     I've forgotten how it felt before the world fell at our ...

 8.  Hello - YouTube [www.youtube.com]
     Provided to YouTube by Beggars Group Digital Ltd.Hello · Adele25℗ 2015 XL Recordings LtdReleased on:
     2015-11-20Engineer: Liam NolanEngineer: Randy MerrillEng...

 9.  Hello - Wikipedia [en.wikipedia.org]
     Hello is a salutation or greeting in the English language. It is first attested in writing from 1826. Early uses.
     Hello, with that spelling, was used in publications in the U.S. as early as the 18 October 1826 edition of the
     Norwich Courier of Norwich, Connecticut.

 10. ‎Hello - Music Video by Adele - Apple Music [music.apple.com]
     Watch the official video of Hello, a pop song by Adele from her 2015 album. The video features Adele driving a
     car and singing about a past lover.

ddgr (? for help) 
chrisgrieser commented 5 months ago

@JPRuehmann I had the same issue, and could pin down the issue to homebrew creating a broken .cert symlink in my openssl install. Fixing that symlink solved the issue for me, in case it helps