Getting -> Error text Error initializing channel: errorId=-1 text=Error occurred during connectio...

...n process. Can you please help me
Hi,
I receive the below error trying to run example100. Could you please help me?
SEVERE com.thomsonreuters.ema.access.ChannelCallbackClient reactorChannelEventCallback loggerMsg ClientName: ChannelCallbackClient Severity: Error Text: Received ChannelDown event on channel Channel Instance Name EmaConsumer_1 RsslReactor Channel is null Error Id 0 Internal sysError 0 Error Location Reactor.processWorkerEvent Error text Error initializing channel: errorId=-1 text=Error occurred during connection process. loggerMsgEnd login failed (timed out after waiting 45000 milliseconds) for ......)
Best Answer
-
Hello @valeriu.neacsu
I can replicate the same message with EMA Java 1.2.1 example 100 - Consumer.java by setting the application to connect to an invalid port.
Example code:
consumer = EmaFactory.createOmmConsumer(config.host("172.20.33.11:8101").username("user")); //8101 is the SSL port, not RSSL port
Example message:
Nov 06, 2018 5:21:26 PM com.thomsonreuters.ema.access.ChannelCallbackClient reactorChannelEventCallback
SEVERE: loggerMsg
ClientName: ChannelCallbackClient
Severity: Error
Text: Received ChannelDown event on channel Channel_1
Instance Name Consumer_1_1
RsslReactor Channel is null
Error Id 0
Internal sysError 0
Error Location Reactor.processWorkerEvent
Error text Error initializing channel: errorId=-1 text=Error occurred during connection process.
loggerMsgEnd
login failed (timed out after waiting 45000 milliseconds) for 172.20.33.11:8101)Please check if you set a valid TREP/OMM Provider RSSL port or not, the default value of the RSSL port is 14002. You can set the RSSL connection via the following EMA statement:
consumer = EmaFactory.createOmmConsumer(config.host("<TREP/OMM Provider IP>:<RSSL Port>").username("<username>"));
0
Answers
-
Hello @valeriu.neacsu
Could you please give me more detail on this issue?
- The EMA Java version that encounters the problem
- Which example 100 that encounters the problem? (IProvider.java or Consumer.java or NiProvider.java)
- Snippet of your example source code
- Replication steps
- The EmaConfig.xml file
0 -
Hi Wasin,
Problem solved, was from port id. I used an SSL port instead RSSL 14002.
Many thanks,
Valeriu
0 -
changing port number solved it for me too. cheers!
0 -
After successfully working on a client for a few weeks now - a client based on consumer113, I am now having trouble connecting and maintaining a connection for more than 15 minutes. This with consumer 113.. (not my client). Sometimes connection is successful, sometimes it tries 5 times and fails. Consumer connection is to us-east-2a us-east-2b. Nothing has changed in the examples since I downloaded the SDK a few weeks ago.. Am using version 3.7.3.0. In contrast, my dinky websocket-based python client runs for a week at a time, though with UAT credentials. Websocket connection is to wss://us-east-1-aws-3-med.optimized-pricing-api.refinitiv.net:443/
0
Categories
- All Categories
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 683 Datastream
- 1.4K DSS
- 613 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 248 ETA
- 552 WebSocket API
- 37 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 626 Refinitiv Data Platform Libraries
- 5 LSEG Due Diligence
- 1 LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 26 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 191 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 84 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛