Comment on Some troubleshooting tools and how I resolved a problem I was having with federation

jlj@lotide.fbxl.net ⁨2⁩ ⁨years⁩ ago

Found this post quite helpful. Still can't get to the bottom of what's happened to my instance, though; I had a crash, and suspect my database is corrupt, even though PostgreSQL itself doesn't seem to be complaining. lotide doesn't seem to be logging anything right now; it opens up a connection to the remote database, but seems to just sit there; the last lines in the log, from hours ago are:

[2022-03-13T09:31:11Z ERROR lotide] Error: Error("data did not match any variant of untagged enum KnownObject", line: 0, column: 0)
[2022-03-13T11:45:51Z ERROR lotide] Error in task: Internal(Error { kind: Closed, cause: None })

I've made sure all instance of lotide are killed before these restarts, as I read that can also be a problem.

lotide=> SELECT id, state, kind, latest_error, attempts, max_attempts FROM task WHERE state='pending';
 id |  state  |       kind       |                                                            latest_error                                                             | attempts | max_attempts 
----+---------+------------------+-------------------------------------------------------------------------------------------------------------------------------------+----------+--------------
 65 | pending | deliver_to_inbox | InternalStr("Error in remote response: data did not match any variant of untagged enum SharedInboxActivities at line 1 column 180") |        7 |            8
(1 row)

Any troubleshooting tips would be greatly appreciated!

source
Sort:hotnewtop