Skip to content

Bot Is Running But #281

Open
Open

Description

@skycloud-source

pymongo.errors.ServerSelectionTimeoutError: SSL handshake failed:

i Update pymongo but not fix

Hw to fix this error

Activity

  1. hazyfossa commented on Dec 16, 2023

    @hazyfossa

    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

  2. skycloud-source commented on Dec 16, 2023

    @skycloud-source
    Author

    i follow your steps error not fix

    bot run

  3. hazyfossa commented on Dec 17, 2023

    @hazyfossa

    Thats strange.. Are you using MongoDB Atlas?

  4. skycloud-source commented on Dec 17, 2023

    @skycloud-source
    Author

    Thats strange.. Are you using MongoDB Atlas?

    yes bro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions