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

status.doesliverpool.com is down #758

Open
amcewen opened this issue Apr 11, 2018 · 8 comments
Assignees

Comments

@amcewen
Copy link
Member

@amcewen amcewen commented Apr 11, 2018

I'm getting a "502 Bad gateway" error if I try to visit https://status.doesliverpool.com/

@skos-ninja

This comment has been minimized.

Copy link

@skos-ninja skos-ninja commented Apr 11, 2018

I'm going to look at rewritting this over the weekend as if it ever errors getting the information it crashes like so.

I would love to give it some more helpful information about uptime and allow subscribing for alerts on when things go down.

@skos-ninja

This comment has been minimized.

Copy link

@skos-ninja skos-ninja commented May 5, 2018

So after a bit of work rewriting it the status page currently doesn't have a UI but you can now view which services are online by viewing https://status.doesliverpool.com/api/status. Anything with a state set to 2 is working and 1 is broken.

I hope I can build the UI this weekend so we can have this back working again

@johnmckerrell

This comment has been minimized.

Copy link
Member

@johnmckerrell johnmckerrell commented May 5, 2018

@skos-ninja

This comment has been minimized.

Copy link

@skos-ninja skos-ninja commented May 5, 2018

The three states a service can be in is Unknown=0, Broken=1 and Working=2.

Unknown should currently never be hit.

The service states are in a const here: https://github.com/DoESLiverpool/status/blob/develop/database/service.go#L14-L23

@zarino

This comment has been minimized.

Copy link
Member

@zarino zarino commented Sep 9, 2018

@amcewen @johnmckerrell I see that status.doesliverpool.com appears to be working now, but is lacking a UI. If one of you knows where / how the page at status.doesliverpool.com is hosted, I should be able to knock together a nice looking display, to save people delving into the JSON ;-)

@skos-ninja

This comment has been minimized.

Copy link

@skos-ninja skos-ninja commented Sep 9, 2018

@zarino the status system is currently hosted by me. The code for the new version is hosted here https://github.com/DoESLiverpool/status/tree/develop. If you place any of the frontend code in the public folder then it will be served by the application

zarino added a commit to DoESLiverpool/status that referenced this issue Sep 10, 2018
@zarino zarino referenced this issue Sep 10, 2018
0 of 1 task complete
@DoESsean

This comment has been minimized.

Copy link
Contributor

@DoESsean DoESsean commented Jul 11, 2019

What's going on with this? Is it fixed?

@chris-does

This comment has been minimized.

Copy link

@chris-does chris-does commented Jul 21, 2019

@DoESsean This issue (at least in terms of providing a front-end / UI, the actual service is working) is still present, I was about to have a go at resolving this issue myself:

Then, when I looked at the code repository, I found that @zarino appears to have completed development of a suitable front-end themselves.

As far as I can tell, @zarino has requested that @skos-ninja:

  • 1. complete a review of, and subsequently accept, the associated Pull Request #7; and
  • 2. incorporate Sass into the Docker build process to enable the compilation of the Sass files (that form part of the front-end solution) to css each time the Docker image is updated.

If these two actions are completed - and assuming the updated / new code functions as intended by @zarino (no reason for me to doubt that it would, just trying to ensure clarity! :-) ) - then this issue can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants
You can’t perform that action at this time.