Datastream connection error from Python

Hi, I am getting following error in Python 3.7 :


import DatastreamDSWS as dsws
ds=dsws.Datastream(username='**************************',password='*********')

requests.exceptions.ConnectionError: HTTPSConnectionPool(host='product.datastream.com', port=443): Max retries exceeded with url: /DSWSClient/V1/DSService.svc/rest/GetToken (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x00000000092F4AC8>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed',))None

Best Answer