question

Upvotes
Accepted
21 0 0 1

DSWS Authentification just failed

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.

pythondatastream-apidsws-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
Accepted
39.3k 76 11 27

@User1

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.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
35 1 3 3

@User1, I don't know if related, but in my company, we have lost access to a lot of, but not all, data in the desktop Eikon, and I'm getting errors running my Python scripts that use the Eikon API.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
21 0 0 1

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.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
39.3k 76 11 27

@User1

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.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
1 0 0 0

If you have any issue, then communicate with refinitiv customer care support.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.