Audiohook Service - Unauthorised error

Hey ,
I was setting up the audiohook sample service locally, The service seems to be working fine.Test client is also working. But im getting unauthorized error when i try to connect it with Genesys cloud -Audiohook integration app.
I have attached the console error and ss here.
Is there something we need to configure that i might have missed ?

Thanks in advance
Best Regards.

  reqId: "req-1"
    session: "557b0a95-4d64-49df-86e7-e863d6484fc0"
[20:26:48.015] INFO: Signature verification resolved: {"code":"EXPIRED"}
    reqId: "req-1"
    session: "557b0a95-4d64-49df-86e7-e863d6484fc0"
[20:26:48.015] DEBUG: sendMessage - {"version":"2","type":"disconnect","id":"557b0a95-4d64-49df-86e7-e863d6484fc0","seq":1,"clientseq":1,"parameters":{"reason":"unauthorized","info":"EXPIRED"}}
    reqId: "req-1"
    session: "557b0a95-4d64-49df-86e7-e863d6484fc0"
[20:26:48.018] DEBUG: Authenticator - Signature verification result: {"code":"EXPIRED"}
    reqId: "req-1"
    session: "557b0a95-4d64-49df-86e7-e863d6484fc0"
[20:26:48.018] INFO: onOpenMessage - State changed to UNAUTHORIZED during authentication
    reqId: "req-1"
    session: "557b0a95-4d64-49df-86e7-e863d6484fc0"
[20:26:48.175] DEBUG: onCloseMessage - {
 "version": "2",
 "id": "557b0a95-4d64-49df-86e7-e863d6484fc0",
 "type": "close",
 "seq": 2,
 "position": "PT0S",
 "parameters": {
  "reason": "error"
 },
 "serverseq": 1
}

Is that a log from your Audiohook server?
Are you getting the "open" request?
Which event(s) are you receiving when this error occurs?
Did you specify a "Client Secret" on the Credentials tab? If so, what happens if you remove that value (it's optional)?

By the way, have you searched this forum for 'signature verification'? There are several posts with great answers about verifying signatures with Audiohook.

Yes , That log is from the Server. At first i was getting Auth - Expired. Now i have removed the Client Secret on the credentials tab and used docker rather than setting it up locally. it seems to be working fine.

I saw a agent assist ts script in the sample service. Are there any documentations or explanations for that. Could you please help me set that up ?

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.