somebody-should icon indicating copy to clipboard operation
somebody-should copied to clipboard

status.doesliverpool.com is down

Open amcewen opened this issue 7 years ago • 15 comments

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

amcewen avatar Apr 11 '18 09:04 amcewen

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 avatar Apr 11 '18 10:04 skos-ninja

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

skos-ninja avatar May 05 '18 12:05 skos-ninja

What does state =0 mean?

-- Sent from my mobile phone hence brevity and errors

On 5 May 2018, at 13:13, Jake Oliver [email protected] wrote:

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

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

johnmckerrell avatar May 05 '18 12:05 johnmckerrell

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

skos-ninja avatar May 05 '18 12:05 skos-ninja

@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 ;-)

zarino avatar Sep 09 '18 15:09 zarino

@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

skos-ninja avatar Sep 09 '18 15:09 skos-ninja

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

DoESsean avatar Jul 11 '19 14:07 DoESsean

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

chris-does avatar Jul 21 '19 17:07 chris-does

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.

amcewen avatar Dec 29 '19 12:12 amcewen

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.

notorious-gay avatar Sep 29 '20 12:09 notorious-gay

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.

johnmckerrell avatar Oct 02 '20 19:10 johnmckerrell

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

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 :grinning:)

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

amcewen avatar Oct 03 '20 10:10 amcewen

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!

notorious-gay avatar Oct 03 '20 11:10 notorious-gay

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

MatthewCroughan avatar Oct 30 '20 06:10 MatthewCroughan

Is this something, anyone is actively progressing, or is it open to people resolving it?

pyrosyndicate avatar Jan 19 '25 16:01 pyrosyndicate