Hello,
Anybody can help with below error when trading.login()? many thanks
trading = betfairlightweight.APIClient(username=my_username,
password=my_password,
app_key=my_app_key,
certs=certs_path)
trading.login()
===Error message============
.....
44 response = session.post(
45 self.url,
46 data=self.data,
(...)
49 timeout=(self.connect_timeout, self.read_timeout),
50 )
51 except requests.ConnectionError as e:
---> 52 raise APIError(None, exception=e)
53 except Exception as e:
54 raise APIError(None, exception=e)
APIError: None
Params: None
Exception: HTTPSConnectionPool(host='identitysso-cert.betfair.com', port=443): Max retries exceeded with url: /api/certlogin (Caused by SSLError(SSLError(524297, '[SSL] PEM lib (_ssl.c:4046)')))
Anybody can help with below error when trading.login()? many thanks
trading = betfairlightweight.APIClient(username=my_username,
password=my_password,
app_key=my_app_key,
certs=certs_path)
trading.login()
===Error message============
.....
44 response = session.post(
45 self.url,
46 data=self.data,
(...)
49 timeout=(self.connect_timeout, self.read_timeout),
50 )
51 except requests.ConnectionError as e:
---> 52 raise APIError(None, exception=e)
53 except Exception as e:
54 raise APIError(None, exception=e)
APIError: None
Params: None
Exception: HTTPSConnectionPool(host='identitysso-cert.betfair.com', port=443): Max retries exceeded with url: /api/certlogin (Caused by SSLError(SSLError(524297, '[SSL] PEM lib (_ssl.c:4046)')))
Comment