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.
There was a service disruption earlier today affecting several Refinitiv products including Datastream Web Service and Eikon. The issue is resolved as of 6pm GMT. If you continue experiencing service disruptions, please contact Refinitiv Helpdesk via MyRefinitiv.
The issue does appear tied to the service disruption as DSWS now works again. Another large data provider I've used sends out an email to all users whenever a data disruption takes place, and then updates as required until the disruption is fixed. It would be nice if Refinitiv implemented such a practice so users are aware and knowledgable why their trading systems are inoperable.
Refinitiv does indeed provide notifications of service disruptions and other issues affecting Refinitiv services. You can subscribe to service alert notifications on MyRefinitiv. Click on Service Alerts, then on Subscription Wizard and follow the prompts to subscribe to alert notifications you'd like to receive.