[NiProvider] Login rejected. Non-consumer attempting login (JAVA)

I'm trying to connect and publish data to TREP, but getting this error.


RDMLogin stream was closed with status message

State: Closed / Suspect / None / 'Login rejected. Non-consumer attempting login.'

For this requirement I'm using Elektron SDK Java API NiProvider, as shown in this example
com\thomsonreuters\ema\examples\training\niprovider\series100\example100__MarketPrice__Streaming\NiProvider.java

Is there anything wrong with the DACS account setting?

Best Answer

  • Hello @hanhuitan

    "Error text Error - exceeded initialization timeout (5 s)

    Severity: Error Text: login failed (timed out after waiting 45000 milliseconds) for IP:14003)"

    According to the message above, it is possible that the ADH machine goes down or it is a wrong ADH's IP and port which your application uses, please check with ADH's administrator if your infrastructure is owned by your company or Thomson Reuters Account team if your infrastructure is owned by Thomson Reuters who can help you to verify this.

    If ADH is up but your application cannot connect to ADH, please follows the step:

    1) Please check with ADH's administrator/Thomson Reuters Account team that ADH has been configured to support the service that
    your NI provider publishes on. For example, example100__MarketPrice__Streaming\NiProvider.java use the service named NI_PUB so
    ADH configuration must contain NI_PUB
    service. Please refer to TREP
    Configuration for NI Providers
    which provides configuration steps apply to
    existing TREP installations to configure a service for NI Provider applications.

    2) if 1) has been done already, the problem still occurs, use the telnet command tool to verify that your NI provider
    machine can connect to the ADH machine (telnet <ADH host>
    <port>
    ).

    - If the telnet fails that means there is
    network/connectivity problem, please contact your network admin.

    - If the telnet succeeds but NI Provider still
    can’t connect to ADH, contact your network admin to verify if there is
    any firewall blocking the messages sent/received between NI Provider
    machine and ADH machine.

Answers