betcode-org/betfair

Max retries exceeded with url

Closed this issue · 0 comments

Hi,

I'm trying to use the betfairlightweight package but failing at the first hurdle. I can't seem to login. I'm getting this error:
trading.login() File "C:\Users\jiggu\AppData\Local\Programs\Python\Python39\lib\site-packages\betfairlightweight\endpoints\login.py", line 30, in __call__ (response, response_json, elapsed_time) = self.request( File "C:\Users\jiggu\AppData\Local\Programs\Python\Python39\lib\site-packages\betfairlightweight\endpoints\login.py", line 52, in request raise APIError(None, exception=e) betfairlightweight.exceptions.APIError: None Params: None Exception: HTTPSConnectionPool(host='identitysso-cert.betfair.com', port=443): Max retries exceeded with url: /api/certlogin (Caused by SSLError(SSLError(9, '[SSL] PEM lib (_ssl.c:4044)')))

Can anyone help? Thanks.