ServiceDiscovery Sample Fails

I am using the service discovery (Python) example. It works for some time (a few minutes) before failing with response below:


RECEIVED on session1:
[
  {
    "Domain":"Login",
    "ID":1,
    "Key":{
      "Elements":{
        "AuthenticationErrorCode":1026,
        "AuthenticationErrorText":"Request for token validation failed:Authentication server did not contain \"active\" in response"
      },
      "NameType":5
    },
    "State":{
      "Code":"UserAccessToAppDenied",
      "Data":"Suspect",
      "Stream":"Closed",
      "Text":"TREP authentication failed (1026, Request for token validation failed:Authentication server did not contain \"active\" in response)."
    },
    "Type":"Status"
  }
]


Please advise

Best Answer

  • wasin.w
    wasin.w admin
    Answer ✓

    Hello @graeme.taylor

    Did you try the latest version of ERT in Cloud service discovery example yet? The latest version has been updated on September 20th to support new authentication process which requires the client_id credential. You can download it from ERT in Cloud example download page or GitHub.


    If you have modified the ServiceDiscovery application, please share your example code and entire application log as requested by my colleague above.

Answers

  • Hello @graeme.taylor,

    The error message implies that the token validation request was failed on the connected server. Have you modified the ServiceDiscovery application? Can you share the example you are using including entire application log?