Getting -> Error text Error initializing channel: errorId=-1 text=Error occurred during connection p
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>"));
1
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 -
The error you are facing is just becasue of the Wii Error Code 51330. For solving this problem you need to check the firewall properly. If the automatically got disabled then you need to enable it. Otherwise, you can't solve this problem.
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
- 37 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛