question

Upvotes
Accepted
1 0 0 1

'OmmInvalidUsageException': 'Failed to add RsslChannel(s) to RsslReactor.'

Posting inquiry in behalf our client.

Hi Team,

Client tried connecting to RTO using the new Real-Time-SDK-2.0.6.L1. Has someone encountered the specified error below. Thanks in advance.


ERR 2022-10-03 03:32:48.200145 3094 gng/rtsdk/endpoint.cc:836> jid[0] Refinitiv Fish failed to start excp_toString[Exception Type='OmmInvalidUsageException', Text='Failed to add RsslChannel(s) to RsslReactor. Channel name(s) Channel_1
Instance Name Consumer_1_1
RsslReactor 0x0x7f3778a45600
RsslChannel 0
Error Id -1
Internal sysError 0
Error Location /builds/p/conan-gh-libs/.conan/data/refinitiv-sdk/2.0.6.L1/gh/gh/build/ac05febf97734a2aa547f1e5fca297340e3e035a/Real-Time-SDK-Real-Time-SDK-2.0.6.L1/Cpp-C/Eta/Impl/Reactor/rsslReactor.c:11925
Error Text Failed to request authentication token information. Text: </builds/p/conan-gh-libs/.conan/data/refinitiv-sdk/2.0.6.L1/gh/gh/build/ac05febf97734a2aa547f1e5fca297340e3e035a/Real-Time-SDK-Real-Time-SDK-2.0.6.L1/Cpp-C/Eta/Impl/Reactor/Util/rsslRestClientImpl.c:1624> Error: Failed to perform the request with text: Couldn't use specified SSL cipher', ErrorCode='-1']


elektron-sdkrrtoeta-apirefinitiv-realtime-optimisedrefinitiv-realtime-sdksdkrefinitiv-real-time-optimised
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
52.9k 136 44 63

@Jerick.DavidRWIB

Thanks for reaching out to us.

It may relate to the libcurl that the application is using.

The Real-Time-SDK-2.0.6.L1 package contains the libcurl libraries. For example:

1664956145475.png

Please use the libcurl library from the Real-Time-SDK-2.0.6.L1 package.


1664956145475.png (18.7 KiB)
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.

@Jirapongse

Thank you will revert this to client and will update once I receive response from them.

Hi @Jirapongse,

Client responded that application does not link to libcurl, only refinitiv libraries have a dependency of libcurl and attach List Dynamic Dependencies details below.

screenshot-2022-10-17-110724.png
Below is there full error description

ERR 2022-10-17 01:21:30.356892  8325 gng/rtsdk/endpoint.cc:893>            jid[0] Refinitiv Fish failed to start excp_toString[Exception Type='OmmInvalidUsageException', Text='Failed to add RsslChannel(s) to RsslReactor. Channel name(s) Channel_1ERR 2022-10-17 01:21:30.356892  8325 gng/rtsdk/endpoint.cc:893>            jid[0] Refinitiv Fish failed to start excp_toString[Exception Type='OmmInvalidUsageException', Text='Failed to add RsslChannel(s) to RsslReactor. Channel name(s) Channel_1 Instance Name Consumer_1_1 RsslReactor 0x0x7f15500c2080 RsslChannel 0 Error Id -1 Internal sysError 0 Error Location /builds/p/conan-gh-libs/.conan/data/refinitiv-sdk/2.0.2.L1/gh/gh/build/ac05febf97734a2aa547f1e5fca297340e3e035a/source_subfolder/Cpp-C/Eta/Impl/Reactor/rsslReactor.c:6896 Error Text Failed to request authentication token information. Text: </builds/p/conan-gh-libs/.conan/data/refinitiv-sdk/2.0.2.L1/gh/gh/build/ac05febf97734a2aa547f1e5fca297340e3e035a/source_subfolder/Cpp-C/Eta/Impl/Reactor/Util/rsslRestClientImpl.c:1521> Error: Failed to set CURL options with text: An unknown option was passed in to libcurl', ErrorCode='-1']

Do you have any suggestion for this?

Upvotes
52.9k 136 44 63

@Jerick.DavidRWIB

The API uses libcurl to send an HTTP request to get an access token. It calls the dlopen method to load libcurl.

From the error message, it looks like the libcurl loaded by the API doesn't support the options used by the API. You need to check the version of libcurl loaded by the 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.