I use the command below to run the example 112, connecting to a RTDS (deployed TREP) 14002 port:
.\gradlew runconsumer112 -PcommandLineArgs="-keyfile <...> -keypasswd <...>"
Through remote debugging and 'fine' log(not attached here), it looks good to parse the keystore file and load the parameters from EmaConfig.xml and create the Reactor and channel. Then it failed with:
2022-01-20 16:01:37.545 WARNING com.refinitiv.ema.access.ChannelCallbackClient reactorChannelEventCallback
loggerMsg
ClientName: ChannelCallbackClient
Severity: Warning
Text: Received ChannelDownReconnecting event on channel Channel_3
RsslReactor @7b4c50bc
RsslChannel @66ac5762
Error Id 0
Internal sysError 0
Error Location Reactor.processWorkerEvent
Error text Error initializing channel: errorId=-1 text=Tunnel Channel disconnected
loggerMsgEnd
The question is the failed reason and do I need to change some configurations on TREP ADS?