127.0.0.1 in EMA status message

If see the following messages (related to the DACS mount configuration), where is the 127.0.0.1 from? e.g., the DACS host or the (docker with real ip) host running the application?

State: Closed/Suspect/Maximum logins reached - text: "Access Denied-already using position 127.0.0.1"

Tagged:

Best Answer

  • Hi @Frederic

    When the code sends a LOGIN request message, they should specify the IP Address/hostname of the PC/server where the application is running. If they do not provide the actual details, it defaults to 127.0.0.1 (localhost). So, they need to change their code to send the correct details - then the error will show that address.

    e.g.

    OmmConsumer consumer( OmmConsumerConfig().host( "yourads:14002" )
    .username( "user" ).position("129.121.1.2/net") );

    where 129.121.1.2 is the local IP address or hostname.

    NOTE: just to clarify EMA sends a LOGIN behind the scenes and the above call changes the position attribute in that Login. If the developer is explicitly sending an MMT_LOGIN, they should change the Position in that (e.g. consumer example 420_MP_AdminDomainCfg)

Answers

  • Hi @Frederic

    This means that an application is already logged in using the same DACS ID on a different PC/server.

    There is a limit set in the DACS system regards how many mounts can be made with a DACS ID - by default, this is set to 1.

    This can be increased using the DACS admin system - however, there is often additional data usage cost associated with allowing multiple mounts with a single ID.

    The developer should speak to their local DACS admin team.

  • Yes that's true, the mount is configured with low number. However, where is the 127.0.0.1 from? i.e., the logic to determine the ip address? 127.0.0.1 is ambiguous
  • Is the 127.0.0.1 means the DACS server? or a host says he is '127.0.0.1'? :)

  • @umer.nalla By the way, for multiple EMA consumers in one application (1 process with threads), will that be counted as multiple 'mount's or just 1 'mount'?
  • Many thanks for the clarification.
  • @umer.nalla For docker instances running on the same PC, is that OK to share one user (so as one mount)?
  • Hi @Frederic - in theory, that sounds OK - but I don't know enough about our content licencing to confirm if that would be OK or not.

    I expect you would need to speak to a Data licencing specialist within Refinitiv.

  • Gotcha and many thanks, yes it should be decided by the licensing team, although in this case it's docker.