Closed johnspurlock-skymethod closed 2 years ago
Still getting 500s after trying a few things I could think of:
content
json property along with contentMap
like Mastodon doesurl
, which is optionalHmm, I would really love to see the backend logs for this, want to avoid setting up my own castopod just to test this.
Better errors responses from Castopod would of course be ideal
Working on it! Thanks for investigating 🙂
I fixed the issue regarding the http signature checks being too strict. I'm awaiting logs on my test instance to get to the bottom of the 500 errors.
Here's the WIP merge request: https://code.podlibre.org/podlibre/castopod-host/-/merge_requests/168/diffs
I've released Castopod v1.0.0-beta.6 with the fixes.
Thanks for all your work and feedback!
Alright, considering this closed with the latest Castopod beta - hopefully it gets installed far and wide. Thanks @yassinedoghri for the changes!
Castopod has their own custom fediverse support, assuming they've tested with incoming comments from Mastodon. Code appears to be in their Fediverse module.
First thing found when trying to send a federated comment over to a Castopod v1.0 beta server: you need to include the
algorithm
parameters in the http signature (which is optional in the spec), and make sure you send the signature parameters in the exact order Castopod expects in their regex.Once you get past the signature checking, the federation call fails with a 500 response code with no body, so hard to tell what's going wrong.
Request from Minipub (this type of call works when sending to Mastodon & Pleroma):
Response from Castopod:
It would be great to get any server-side logging on this. If it's an unhandled exception, maybe it would show up in the log.