question

kailashvasan vk avatar image
kailashvasan vk asked ·

Embedded widget app - Lines are getting disconnected intermediately with error popups

Lines are getting disconnected intermediately stating session expired with the errors attached screenshot.

The call is getting disconnected while the users are on call for more than 30 minutes and then the below attached errors pop

Dialer state is changing to offline intermediately.

Error:

Session expired. Please sign in

Cannot connect to the server. Please retry later

while on call for more than 30 mins. then intermediately below error comes and lines disconnects

going to offline intermediately

ringcentral embeddable
1592939159134.png (17.3 KiB)
1592939179824.png (7.2 KiB)
1592939192674.png (15.5 KiB)
1 |1000 characters needed characters left characters exceeded

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

Embbnux Ji avatar image
Embbnux Ji answered ·

Hi kailashvasan, which grant flow you are using for rc widget, authorization code flow or implicit flow?

https://github.com/ringcentral/ringcentral-embeddable/blob/master/docs/config-client-id-and-secret.md

For implicit flow, it refresh token with a hidden iframe. If network is disconnected when it refreshes, session will be expired. From offline badge, it shows there are networks issues at that time.

1 comment Share
1 |1000 characters needed characters left characters exceeded

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

Thank you for the reply. How to find which auth flow is used in the Embedded widget app?

From the Ring central developers site, could see both flows enabled for the app. But wanted to find out which one used in the Embedded widget code.

0 Likes 0 · ·
Embbnux Ji avatar image
Embbnux Ji answered ·
Share
1 |1000 characters needed characters left characters exceeded

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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