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

[BUG] Many error toasts on fe1 #1860

Open
2 of 6 tasks
4xiom5 opened this issue May 16, 2024 · 1 comment
Open
2 of 6 tasks

[BUG] Many error toasts on fe1 #1860

4xiom5 opened this issue May 16, 2024 · 1 comment
Assignees
Labels
be1-go bug Something isn't working fe1-web

Comments

@4xiom5
Copy link
Contributor

4xiom5 commented May 16, 2024

Description (Actual behavior)

Many error toasts are shown on fe1 when creating an event, opening an event, casting a vote, posting a chirp etc. The action works despite the error toasts.

e.g. https://jam.dev/c/1e46e435-eb14-4ef1-96b8-fa6e2319dcd8, https://jam.dev/c/1e46e435-eb14-4ef1-96b8-fa6e2319dcd8 at 4:18

Expected behavior

The error toasts should not be shown.

How to reproduce

Do any of the actions listed above.

Version & Environment

Front-ends:
  • Fe1-Web (Google Chrome 124)
  • Fe2-Android
  • Not applicable
Back-ends:
  • Be1-Go
  • Be2-Scala
  • Not applicable
Environment (as applicable):
  • Browser: Chrome 124

Workaround

The system works despite the errors

Impact

User confusion

Possible root cause

Mishandling of messages by the frontend or incorrect errors sent by the server

@4xiom5 4xiom5 added bug Something isn't working fe1-web be1-go labels May 16, 2024
@sgueissa
Copy link
Collaborator

I tried again by creating a lao on dev-be1-a with the same servers as this morning (problem of connection between servers)
image
We can see that I'm connected to only 1 server.

Then I created a roll-call and got red toast. By looking at the console, the client sent 4 queries (one for each server)
image

Then the frontend received 3 error messages from the servers not connected to dev-be1-a (dev-be1-b, dev-be2-a/b) and the good result from the server that we initialy connected to.
image

So my guess is that the problem come first from the problem of synchronization between servers but at the same time from frontend displaying all the errors received when sending to multiple servers at the same time with at least one successful query.

@4xiom5 4xiom5 removed their assignment Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
be1-go bug Something isn't working fe1-web
Projects
None yet
Development

No branches or pull requests

2 participants