You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This looks like a certificate issue with your OS. A quick fix for the bot to work is probably installing certifi (pip install certifi), then in database/database.py add import certifi and change line 10 to dbclient = pymongo.MongoClient(DB_URI, tlsCAFile=certifi.where())
This shouldn't normally happen though
Activity
hazyfossa commentedon Dec 16, 2023
This looks like a certificate issue with your OS. A quick fix for the bot to work is probably installing certifi (pip install certifi), then in database/database.py add
import certifiand change line 10 todbclient = pymongo.MongoClient(DB_URI, tlsCAFile=certifi.where())This shouldn't normally happen though
skycloud-source commentedon Dec 16, 2023
i follow your steps error not fix
hazyfossa commentedon Dec 17, 2023
Thats strange.. Are you using MongoDB Atlas?
skycloud-source commentedon Dec 17, 2023
yes bro