MurmurationsNetwork / MurmurationsServices

Index, Library and other microservices that implement the Murmurations protocol
https://docs.murmurations.network/developers/index-api.html
GNU General Public License v3.0
7 stars 3 forks source link

Handle timeout error cleanly when trying to delete a node on a non-existent server #747

Closed geoffturk closed 2 months ago

geoffturk commented 3 months ago

We deleted the wptest server recently but still have a node for it in the test index.

https://test-tools.murmurations.network/index-explorer?schema=people_schema-v0.1.0&tags=coolness&status=posted&tags_filter=or&tags_exact=false

When I try to delete the node I eventually get a 502 error from the test index.

image

Here's what's logged when it happens:

image

Ideally we should get a nice error message back from the index. This message should be picked up by Tools as well so we don't end up with this when trying to delete from there:

image