I'm attempting to connect to Datastream through DSWS for Python (getting a token). I use the code:
import DatastreamDSWS as DSWS
ds=DSWS.Datastream(username='ZXXXXXX',password='XXXXXX')
but I receive the following error message:
HTTPSConnectionPool(host='product.datastream.com', port=443): Max retries exceeded with url: /DSWSClient/V1/DSService.svc/rest/GetToken (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x0000024E16124908>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond',))
I have checked with the helpdesk that I do indeed have access to the service (and Datastream works in Excel), and my IT department insists a proxy is not needed. I have also tried both my own user credentials, and my employer's.