question

Upvotes
Accepted
1 0 0 1

Cannot prepare connection OMMStreamConnection error

Hi,

I am using refinitiv.data package to extract dividend estimation data.

Here is part of my code:

import refinitiv.data as rd
reuters_data = rd.get_data(
    universe=list_ids_forecast,
    fields=['ROW80_4', 'ROW80_7', 'ROW80_8', 'ROW80_9', 'ROW80_10', 'ROW80_11', 'ROW80_12', 'ROW80_13', 'ROW80_14',
            'ROW80_15', 'ROW80_16',
            'ROW80_17', 'ROW80_18', 'ROW80_19', 'ROW80_20', 'ROW80_21', 'ROW80_22', 'ROW80_23', 'ROW80_24', 'ROW80_25'],
)

The code worked prior to this week.

Currently, I am getting this error:

refinitiv.data._errors.RDError: Error code -1 | Cannot prepare connection OMMStreamConnection

name : ThreadOMMSTREAMING_PRICING_1.0

subprotocol : tr_json2

is_auto_reconnect: True

can_reconnect : False

num_attempt : 0

Could you please help me with this issue?

Thank you in advance and best regards,

#technologyconnection-error
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
24.6k 54 17 14

Hello @dieter.steffen

Thank you for reaching out to us. If the problem still persists on your environment, please enable the Data Library log file and share the logs when the problem occurs in this post.

You can find how to enable the log on section "2.2.2) Enable logging" of the Eikon Data API and Refinitiv Data Library - Troubleshooting article.


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 1

Hi,

Thanks for your help!

The error is no more there.

Thank you

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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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