Jason encoding error #112
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Environment
Description
When opening the fontend, I got a message box "An unexpected error occurred". The network console shows that
/api/v1/pleroma/admin/configreturns status 500. The issue persists for some time now and after the last update I would like to fix it.Log
Question
Do you have any idea how to debug it and get to the cause of the error? Unfortunately I am not familiar with Erlang at all, otherwise I would have debugged the source already. Thank you.
Might be something strange in your db. Maybe some kind of cert that ended up there? Can you try this patch and see if it fixes it? then you should be able to see what part of the config isn't valid.
encoding.patch
Thank you very much, that fixes it. Unfortunately the logs do not expose any additional information:
Btw, what patch format is that and how to apply it correctly? I have just applied the changes manually as
git applydid not work which was pretty clear ;).ah sorry, i made it with git diff but i forgot i had difftastic active. Can you look at the json that's returned by /api/v1/pleroma/admin/config? do you see pleroma_binary there somewhere?
Ah, thanks. I got 524 occurrences. Example:
So actually the JSON tag names are invalid ... right?
An example with context:
And you are right, I think all issues connect to certificates.
All tuples with
:certare followed by an invalid tag name.Do you have an explanation what is causing the error?
I don't think it's an actual error, it's just visible now because before we didn't have the amdin api in pleroma-fe, so it was less noticeable when this happened.