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

Calendar modification push stops working after a long period of time #612

Open
1 of 2 tasks
renaudboyer opened this issue Oct 20, 2021 · 2 comments
Open
1 of 2 tasks
Assignees
Labels
bug Something isn't working major
Milestone

Comments

@renaudboyer
Copy link
Contributor

renaudboyer commented Oct 20, 2021

When keeping calendar web app opened for a long time, push updates don't work anymore and user display does not show latest updates or invitations on calendar view.

The push update system is using websocket and over time, websocket get disconnected.

Criteria

  • Identify cause or disconnection
  • Implement a re-connection process
@renaudboyer renaudboyer added bug Something isn't working major labels Oct 20, 2021
@fabienmoyon fabienmoyon added this to the Polish sprint milestone Oct 21, 2021
@asmaNode asmaNode self-assigned this Nov 5, 2021
@asmaNode
Copy link
Contributor

asmaNode commented Nov 9, 2021

websocket disconnection

According to this issue the broken session problem is already solved in case idle in this PR https://github.com/linagora/customers/issues/51

So normally the case of websocket disconnection due to broken session is to be avoided

I tested the idle session case on the different environment to reproduce the websocket disconnection bug

Environement: Local (oidc)

Current behaviour : the token expire when getting user information see the demo for more details

websocketdisc2

Expected behaviour: When the silent refresh not succeed the application will be redirected to login page

Theoretically this PR should handle our problem, if the token expires and we code 401, the sign must be done https://github.com/linagora/esn-frontend-common-libs/pull/234/files#

Environement: Production(basic auth)

Current Behaviour : The websocket still connected in idle session see the the demo for more details

websocketinprod

Problem: External event will not be added in real time (example : with google calendar)

@chibenwa
Copy link
Member

TODO list: check websocket ping settings and time to live of the backend and intermediate proxies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working major
Projects
None yet
Development

No branches or pull requests

4 participants