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

Bugs related to MongoDB going down in back-end #245

Open
Christoffer-Cortes opened this issue Aug 19, 2019 · 1 comment
Open

Bugs related to MongoDB going down in back-end #245

Christoffer-Cortes opened this issue Aug 19, 2019 · 1 comment
Labels
bug Something is wrong and needs fixing.

Comments

@Christoffer-Cortes
Copy link
Contributor

Description

  • When mongodb goes down it takes 1m of timeout before you get the 500 response.
    If the page is refreshed however it will get the Back-end status is unknown warning until it gets 500 after 1m.
    This status is not shown if the page is not refreshed and back-end goes from being up to down.
    There needs to be better feedback when mongodb is down or better standardized message.
    Preferably this feedback could be given quicker than a 1m delay.

  • If you try to add a subscription while the mongodb is down the save button will say 'Saving...' and get stuck like this without any error message to the user. This is sort of the same problem as above, the timeout for the request is 1m and the user needs some sort of quick feedback that something is wrong.

  • This error is not related to the mongodb issues but I'm letting it piggyback.
    If ldap.enabled is set to true front-end will disable subscription CRUD buttons.
    If you remain in the page and bring back-end down and bring it back up again with ldap.enabled false, then CRUD buttons will still be disabled.
    These buttons need to be refreshed when the status changes.

Motivation

Less unwanted behavior in the GUI.

Exemplification

Benefits

The quicker feedback to the user I believe would be appreciated.

Possible Drawbacks

@Christoffer-Cortes Christoffer-Cortes added the bug Something is wrong and needs fixing. label Aug 19, 2019
@ghost
Copy link

ghost commented Nov 7, 2019

This may be due to seldom update and check of back-end status. A change in back-end has been made to update status more frequently. The status check could as well be reduced but may lead to more trafic towards back-end just to check status. Investigate if the problem has been reduced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is wrong and needs fixing.
Projects
None yet
Development

No branches or pull requests

1 participant