Wenn ich die API per Python und Pythorhead nutzen will, dann bekomme ich diesen wunderbaren Fehler:

Problem encountered retrieving Lemmy nodeinfo: HTTPSConnectionPool(host=‘www.feddit.org’, port=443): Max retries exceeded with url: /nodeinfo/2.0.json (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1007)’))) Error encountered while Request.POST on endpoint /user/login: HTTPSConnectionPool(host=‘www.feddit.org’, port=443): Max retries exceeded with url: /api/v3/user/login (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1007)’))) Error encountered while Request.GET on endpoint /community: HTTPSConnectionPool(host=‘www.feddit.org’, port=443): Max retries exceeded with url: /api/v3/community?name=… (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (ssl.c:1007)'))) Error encountered while Request.GET on endpoint /search: HTTPSConnectionPool(host=‘www.feddit.org’, port=443): Max retries exceeded with url: /api/v3/search?q=die_reklame&type=Communities (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1007)’)))

Der Gag: Das Skript funktioniert problemlos mit anderen Instanzen und nutzt keine fancy Features von pythorhead. Der Fehler dürfte auch wenig mit zu vielen Versuchen zu tun haben - denn der kam auch direkt beim ersten Mal ohne dass vorher irgendwas über den Account und die API lief.

Hat jemand anderes ähnliche Probleme oder kann mir hier weiterhelfen?

You are viewing a single thread.
View all comments
7 points

Ist ein Zertifikatsfehler. Liegt vielleicht am www. Hast du mal nur feddit.org probiert?

permalink
report
reply

Haupteingang

!main@feddit.org

Create post

Die Standard-Community von feddit.org

In dieser Community geht es ausschließlich um alles rund um die Instanz!

Regeln:

  • Gelöste Probleme sollen eindeutig mit [GELÖST] im Titel markiert werden.

Community stats

  • 31

    Monthly active users

  • 49

    Posts

  • 536

    Comments