I've been using DSWS in Python for more than a year without issue. It worked fine earlier this morning. However, authentification just failed for the first time, and keeps failing. In Python, when using
ds = DSWS.Datastream(username = "XXXXXX", password = "XXXXXX")
I get the following error:
_get_token : Exception Occured (<class 'requests.exceptions.ConnectionError'>, ConnectionError(MaxRetryError("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 0x0000024F057F5448>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))")), <traceback object at 0x0000024F057F5288>) None
I have not modified my username or password int the code. The Xs in the above line of code represent where I have my actual username and password.
I need to resolve this quickly, as I use the code for trading and am currently not able to execute it due to the DSWS error.