ajanata / PretendYoureXyzzy

A web clone of the card game Cards Against Humanity.
https://pretendyoure.xyz/zy
BSD 2-Clause "Simplified" License
1.22k stars 397 forks source link

Metrics are broken on all PYX servers #254

Open devgianlu opened 3 years ago

devgianlu commented 3 years ago

Metrics do not load. See:

The metrics for my server are also broken for some reason. If you could share your fix because I don't know anything about Kafka.

ajanata commented 3 years ago

Weird. Looks like mine have been broken since the 10th or so, but I don't see anything saying why in the logs. Restarting stuff doesn't seem to have helped. I would have assumed expired SSL certs (even though they expired in May, but they were created 3 years ago almost exactly) were the problem, but if yours aren't working either then that's unlikely to be it.

I'll try to take a deeper look into it later today, but my main computer is having overheating issues so I have limited time I can use it in a session.

devgianlu commented 3 years ago

I'll try to take a deeper look into it later today

Thank you. I had a quick look too, but couldn't find any obvious issue in the logs. Also, I am not using SSL because everything happens on the same machine.

ajanata commented 3 years ago

Actually, now that I look at the logs a bit more, it does look like my problems are expired certs (surprised it hasn't caused a problem before now -- have my servers really not restarted for that long? I know I did kick a couple of them last week).

If you're not using SSL, then... I really have no idea.

devgianlu commented 3 years ago

How did you get the SSL certificates expired insight?

ajanata commented 3 years ago

massive ssl-related exception chain ending with

Caused by: java.security.cert.CertificateExpiredException: NotAfter: Sat May 09 10:08:30 PDT 2020
devgianlu commented 3 years ago

Turns out my metrics weren't broken, the app was. Feel free to close this when you're done.

ajanata commented 3 years ago

Cool, thanks. Definitely an issue with my servers, at least.