Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webphone failed to re-establish wss socket connection to main proxy and back proxy after switch network to invalid network and then back. #318

Open
jimmyxu1985 opened this issue Feb 2, 2021 · 0 comments

Comments

@jimmyxu1985
Copy link
Collaborator

jimmyxu1985 commented Feb 2, 2021

Problem:
Webphone failed to re-establish wss socket connection to main proxy and back proxy after switch network to invalid network and then back.

Platform:
Mac safari 14, firefox 84

Reproduce step:

  1. Register the account
  2. Wait server return 200 OK for the Register
  3. Turn the WIFI to some invalid network (which has WIFI signal but cannot access internet)
  4. Wait for 30 sec
  5. Back to a valid WIFI

Actual behavior:
Webphone will notice the previous wss connection is broken and tried to reconnect to proxy, but it always fail, after 10 time retrying, webphone will try to establish connection to backup proxy and it still fail, after another 10 time retry on backup proxy Jupiter will restart webphone, once webphone is restared, the connection can be established and client can be register again. Since there are total 20 retry with back-off, so it will cost around 5-8 min to back to registered again.

Expected behavior:
Webphone should be able to re-estbalish the wss connection once user switch back to the valid WIFI

Jira ticket link to FIJI-29494

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant