Pings time out

I figured that I see a bit too many bot restarts in the metrics lately and it seems that the server isn’t happy:

D0331 10:18:02.932 main (worker) worker.dart:30] event PingEvent
T0331 10:18:02.143 main (res_client) client.dart:85] --> {"method":"call.core.char.cg7mjsu9gbrvv9lnu250.ctrl.ping","params":{},"id":967}
T0331 10:18:05.153 main (res_client) client.dart:105] <-- {"id":967,"result":null,"error":{"code":"system.timeout","message":"Request timeout","data":null},"event":null,"data":null}
E0331 10:18:05.071 main (worker) worker.dart:101] ping failed: <ResError "system.timeout": Request timeout>

It’s absolutely a non-issue for me (I just crash the bot if the ping fails), just bringing this to @Accipiter’s attention. I’d have thought the ping backend is dumb as a brick (you had one job! lol)

1 Like

Wooa!

Yes. The ping backend IS dumb as a brick. It should just do some hash map lookup, update a value, and then respond. It really shouldn’t be blocked by anything.

So, odd that the ping fails!

I need to look closer into that.
Thanks for the info, Far!

1 Like