Hi @<1523701842515595264:profile|PleasantOwl46> ! This looks like a python problem. A useful SO thread: None
First, I would verify that I can access the api server without using the SDK. To do so, run this code after filling the credentials yourself (just login should be enough to verify that the api server is reachable)
api_server = ""
access_key = ""
secret_key = ""
token_req = requests.get(api_server + "/auth.login", auth=(access_key, secret_key))
token = token_req.json()["data"]["token"]
If it doesn't work, it means that requests
can't validate the certificates properly.
If that is the case, then I would try to install certifi
both via pip install -U certifi
and apt install -y python3-certifi
(commands might vary) and the try to do make the get
with the argument verifi=certifi.where()
. Then setting REQUESTS_CA_BUNDLE
env var to the right certifi path should allow the requests to go through.
If this also doesn't work, then I would look for the right certificates, because some comodo certificates for example may not be downloaded via certifi: (for example: None ).
These are just a few suggestions, not sure if they will help