onionoo down, serving malformed JSON
About an hour after the bullseye upgrade of onionoo-backend-01
, onionoo started failing Nagios checks:
# /usr/lib/nagios/plugins/tor-check-onionoo 127.0.0.1:8080
CRITICAL: Error parsing JSON format: Expecting value: line 6 column 20 (char 98) {"version":"%s",
"build_revision":"%s",
Indeed, it seems to be serving malformed JSON:
# curl 127.0.0.1:6081/summary?limit=0
{"version":"%s",
"build_revision":"%s",
"relays_published":"%s",
"relays":[
],
"relays_truncated":%d,
"bridges_published":"2022-05-18 14:44:41",
"bridges":[
],
"bridges_truncated":%d}
Whether the upgrade is what caused this incident is unclear at this point, because onionoo-backend-01
was confirmed working immediately after the upgrade, and because the problem started approximately at the same time for it and onionoo-backend-02
, which has not been upgraded.