question

Upvotes
Accepted
1 0 1 2

login failed

We're having problems logging in. We get an exception

Exception Type='OmmInvalidUsageException', Text='login failed (timed out after waiting 45000 milliseconds) for 99.81.184.120:14002)', ErrorCode='-4052'


loggerMsg

TimeStamp: 15:20:33.366

ClientName: ChannelCallbackClient

Severity: Warning

Text: Received ChannelDownReconnecting event on channel Channel_1

Instance Name Consumer_1_1

RsslReactor 0x000002044C66C3F0

RsslChannel 0x000002044C66C3F0

Error Id -1

Internal sysError 0

Error Location C:\src\thirdparty\vcpkg\buildtrees\refinitiv-rtsdk\src\fe88622ca1-b5388b82a8.clean\Cpp-C\Eta\Impl\Reactor\rsslReactorWorker.c:1324

Error Text Initialization timed out.

loggerMsgEnd




EmaConfig.xml is as in the connection tutorial except for the channel 1 host that's set to:

contrib1-emea1.uat.platform.refinitiv.com

port: 433 or 14002 both timeouts.


username & password is set programmatically as given by the account representative for uat/dev and clientId as the app_key gererated using the dev portal login.


Please advice



ema-apierror-login
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
25.3k 87 12 25

Hi @niclas

Please advise which example you are using to try and connect?

Based on the URL provided above, I assume you are trying to connect to our RCC contribution gateway.

If that is the case, then can you confirm you are referring to this tutorial:

EMA Consumer - Posting data to Contribution Channel ?

and using the sample code linked at the start of that section:

https://developers.refinitiv.com/content/dam/devportal/api-families/elektron/elektron-sdk-c/tutorials/ema-consumer/ema_cpp_rcc_tutorial.zip

and applied the necessary changes to the EMAConfig.xml file

        <ChannelType value="ChannelType::RSSL_ENCRYPTED"/>
        <Host value="<RCC_SERVER_HOST_NAME>"/>
        <Port value="443"/>
        <EncryptedProtocolType value="EncryptedProtocolType::RSSL_SOCKET"/>

... and so on...

The above EncryptedProtocolType assumes you are running on Windows


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 1 2

Yes that's correct. -That is the tutorial used essentially, and the changes made to the provided EMAConfig.xml

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.