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

[Feature Request] Report when SWATE service is down #206

Closed
ZimmerD opened this issue Jun 30, 2024 · 5 comments
Closed

[Feature Request] Report when SWATE service is down #206

ZimmerD opened this issue Jun 30, 2024 · 5 comments
Assignees
Labels
Type: Feature Request This item is confirmed by the maintainers to be a request for a new feature

Comments

@ZimmerD
Copy link

ZimmerD commented Jun 30, 2024

Is your feature request related to a problem? Please describe.
Currently the SWATE service is down, this is hard to tell for the user as the user is currently facing the following GUI:

image

I think it would be great if the availability could be checked and reported if the service is not available

@github-actions github-actions bot added the Status: Needs Triage This item is up for investigation. label Jun 30, 2024
@JonasLukasczyk JonasLukasczyk added Type: Feature Request This item is confirmed by the maintainers to be a request for a new feature and removed Status: Needs Triage This item is up for investigation. labels Jul 5, 2024
@HLWeil
Copy link
Member

HLWeil commented Sep 6, 2024

Yup just having the same problem:
ARCitect_Swate_Timeout

https://swate-alpha.nfdi4plants.org/
currently just returns
image

I think the general user might expect there are problems with his ARC, as SWATE is integrated so well into the GUI, not really giving the feel of being a web plugin.
Which might lead to frustration.

@j-bauer
Copy link

j-bauer commented Sep 6, 2024

As an idea: can't you just evaluate the HTTP return code of the API call? Don't know what they are but something like != 200 -> error message ? And in the case of a timeout just wait x seconds for a response and if not, also show an error message.

@kMutagene
Copy link
Member

@Freymaurer i'd suggest also adding a healthcheck endpoint to the swate backend service, that way we get more diagnostics to display for https://status.nfdi4plants.org/status/dataplant

Obviously, that will still not work when the whole VM is down, but can be used for other things, e.g. when the DB is down but the service is up, etc.

@kMutagene
Copy link
Member

kMutagene commented Sep 17, 2024

@JonasLukasczyk
Copy link
Collaborator

For now the following message will appear if SWATE is no loaded after 5 seconds:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature Request This item is confirmed by the maintainers to be a request for a new feature
Projects
Status: Done
Development

No branches or pull requests

6 participants