For a deeper look into our Elektron API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 1 1

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

pythontreprdp-apiwebsocketsrrto
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
11.5k 16 7 10

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.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
11.3k 25 8 13

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?

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea