Hi, I am trying to open a websocket to receive notifications. This was working till around 28/12/23 at which point I now get
StatusCode: 400, ReasonPhrase: 'Bad Request', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers:
{
Date: Fri, 23 Feb 2024 14:28:24 GMT
Connection: keep-alive
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
RCRequestId: ccf3dd60-d257-11ee-96ba-005056bb5097
Pragma: no-cache
Cache-Control: no-store
AceRoutingKey: sjc11-c01-ace01-84c9f644f6-xdzm7_10.24.111.142
RoutingKey: SJC12P01
CF-Cache-Status: DYNAMIC
Server: cloudflare
CF-RAY: 85a027ad299b653b-LHR
Content-Type: application/json
Content-Length: 173
Content-Language: en
}
Content: {
"error" : "invalid_request",
"errors" : [ {
"errorCode" : "OAU-341",
"message" : "Assertion is expired"
} ],
"error_description" : "Assertion is expired"
}
Request:
Method: POST, RequestUri: 'https://platform.devtest.ringcentral.com/restapi/oauth/token', Version: 1.1, Content: System.Net.Http.FormUrlEncodedContent, Headers:
{
X-User-Agent: Unknown/0.0.1 RingCentral.Net/6.0.2
Authorization: Basic V1FkbUFHbFc5cHljd0s5UjdmTFBUYzo5Z2JxT05GdEVSd2IwS3FsVThLUmE1Wlp5cGgxSktIWTlmQUZ3V2RpY0E2Ng==
Content-Type: application/x-www-form-urlencoded
Content-Length: 780
}
Content: grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Ajwt-bearer&assertion=eyJraWQiOiI4NzYyZjU5OGQwNTk0NGRiODZiZjVjYTk3ODA0NzYwOCIsInR5cCI6IkpXVCIsImFsZyI6IlJTMjU2In0.eyJhdWQiOiJodHRwczovL3BsYXRmb3JtLmRldnRlc3QucmluZ2NlbnRyYWwuY29tL3Jlc3RhcGkvb2F1dGgvdG9rZW4iLCJzdWIiOiI4MTkwNjIwMDUiLCJpc3MiOiJodHRwczovL3BsYXRmb3JtLmRldnRlc3QucmluZ2NlbnRyYWwuY29tIiwiZXhwIjoxNzAzOTgwNzk5LCJpYXQiOjE3MDMwMDQwMDQsImp0aSI6Iks5U203YUhXU2wyalhpVGxlUFRjMkEifQ.dGB0xLOaDOGXds3qc5t4z8JnCfTGvFBVTGAMW6ehshtmipo0w3rwMUMSTbUQChiSbR01Q981TQr-4gKDxHGRS0ee4CxL85XAaYl4NxO-zoIsU-AbPPYt-IzI_usKaZh8cUKlq1TJNU9javmwETsBFe0bMve5rpMofyKMw-HIf122z5MpkXmpDgK_5Yk8TLleQzZALpcHR4-HA3zB8YtQ-YNXNtLiDVaWU3aOzR0-t_zLSDSC06vW0PhrBl78lDWuDXz7oAOzz-x-2-dGI9YIVy1AhlaRvU8DjKkNnhDGEN69wIueZyw-tuS41kJ2WCqjH0mfW0hsEprNCJ5Iq8O_gQ
when calling
await rc.Authorize("ey....
Can you assist as I have asked previously and had no response. I am using the latest SDKs for RingCentral v 6.1.2 and WebSocket v2.3.3
Thanks
Maurice