Topic on Manual talk:Pywikibot

SSL Certificate Verification error

6
Adithyak1997 (talkcontribs)

I am currently trying to add the website https://schoolwiki.in/ into Pywikibot, so as to make use of the bot in Schoolwiki. While trying to run the code "pytho pwb.py generate_family_file" according to the instructions mentioned here, I am getting the error:

pywikibot.exceptions.FatalServerError: HTTPSConnectionPool(host='schoolwiki.in', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123)')))

CRITICAL: Exiting due to uncaught exception <class 'pywikibot.exceptions.FatalServerError'>

Is there any method to resolve this issue?

Edoderoo (talkcontribs)

Did you try to enter schoolwiki.in manually into your user-config.py ? This is just a text file, add a line like

usernames=['schoolwiki.in']='edoderoobot'

Xqt (talkcontribs)

This is about the familiy file not the user-config

Edoderoo (talkcontribs)

I tried to generate the family-file for edoderoobot, and got the same error. It might be an issue on the schoolwiki.in setup.

Adithyak1997 (talkcontribs)

Did you try any method to bypass the certification related error? I mean something like the ones mentioned here?