Open gudzpoz opened 3 years ago
Edit:
Content-Type: application/activity+json
to the TNCDataResponse
only makes fetching actors work. (The following works on my end because I've configured nginx (on pleroma server) to modify the headers of all request to Pleroma's inbox
, and therefore Pleroma recognizes the Accept
activity.)
Describe the bug
Pleroma can't follow Nextcloud/Social users or receive posts from them (while for Mastodon it works just fine).
Content-Type: application/activity+json
header (see below) to make the follow work, Pleroma still cannot receive posts.To Reproduce
1. Cannot fectch info
Steps to reproduce the behavior:
Social (0.4.2)
from/settings/apps
@user@somenextcloud.site
on Pleroma and Mastodon respectively@user@somenextcloud.site
This is probably because Pleroma doesn't accept
Content-Type
s other thanapplication/activity+json
andapplication/ld blah blah
(see a Pleroma issue for more information)So I added a
Content-Type: application/activity+json
to theTNCDataResponse
, and the fetching and following works now.2. Cannot receive posts
I suspect that this, too, could have something to do with
Content-Type: application/activity+json
. But I am not familiar with the structure of Nextcloud or Social, so I might not be able to investigate further.Expected behavior
This should works with Pleroma.
Client details:
Server details
**Social app version:** 0.4.2 **Operating system**: Ubuntu 20.04 LTS **Web server:** Nginx 1.19.5 **Database:** MySQL **PHP version:** 7.4 **Nextcloud version:** (see Nextcloud admin page) 20.0.4Logs
#### Nextcloud log (data/nextcloud.log) ``` (Might be too large, will upload if needed later) ``` #### Browser log ``` (Irrelevant to the issue) ```