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 · 14 comments
Open

status.doesliverpool.com is down #758

amcewen opened this issue Apr 11, 2018 · 14 comments

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
Copy link
Member

@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
Copy link
Member

@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
Copy link
Member

@johnmckerrell johnmckerrell commented May 5, 2018

@skos-ninja
Copy link
Member

@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
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
Copy link
Member

@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
@DoESsean
Copy link
Contributor

@DoESsean DoESsean commented Jul 11, 2019

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

@chris-does
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.

@amcewen
Copy link
Member Author

@amcewen amcewen commented Dec 29, 2019

Hmm, status.doesliverpool.com is down again. I'm thinking we should move it over to the VPS running docker stuff we've got on digitalocean for #670, so it's easier to update, etc. (and that's separate from the doesliverpool.com hosting.

@notorious-gay
Copy link

@notorious-gay notorious-gay commented Sep 29, 2020

This is issue of the week! (Featured in the weeklog on Google groups)

There has been no movement on this issue for quite some time, is this service needed still or should this issue be closed?

If it's still needed, I ran a quick check from my phone and it seems there's no web server live on the current host. Do we need a one to be set up? If so I can set up a container on my infrastructure for this.

@johnmckerrell
Copy link
Member

@johnmckerrell johnmckerrell commented Oct 2, 2020

I've actually just removed the DNS record for this as it was pointing at something we don't own and it wasn't doing anything anyway. We can always put it back online if we think we'll use it.

@amcewen
Copy link
Member Author

@amcewen amcewen commented Oct 3, 2020

@GlitchShtick Yay! Someone pays attention to the Issues of the Week! 🎉

I think the service is still needed. Thanks for the offer of some hosting, but as you can see in #18 we're steadily moving to DoES owning its own infrastructure (and our lack of access to where status.doesliverpool.com used to be running, because it was the same generous offer from a member who's moved away from Liverpool now, also proves the point 😀)

However, if you wanted to work out how to dockerize the service, so we can host it on the VPS we're setting up for some other stuff that would be awesome.

There's the regular Hack the Space online meetup on Tuesday evening, where a few of us will be working on our new admin software and I expect @helicalbytes will be talking about the Docker setup then. It's from 7pm at https://meet.jit.si/bubblino

@notorious-gay
Copy link

@notorious-gay notorious-gay commented Oct 3, 2020

Ah I see, ace! I'll have a look at dockerizing the project if I have any leftover time after dealing with my assignments this weekend 😁

I'll try and join the meeting next tue's, thanks for letting me know about it!

@MatthewCroughan
Copy link
Member

@MatthewCroughan MatthewCroughan commented Oct 30, 2020

On this topic, I spent ages looking for arbitrary and extensible status page software and found that this is amongst the best. https://github.com/cstate/cstate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants