wordpress-activitypub
wordpress-activitypub copied to clipboard
Can't follow from Friendica
Hello, I have added the plugin and seems works with Mastodon.
With Friendica otherwise it gives an error when I try to follow the user: it says "not found, invalid contact".
Username is @[email protected]
https://user-images.githubusercontent.com/25532821/159380362-cf740962-c925-4f85-b8d9-ed3d351ad919.mp4
Ok, I found out the problem is with W3 Total Cache plugin! Now I have disabled it and works all perfectly.
Now it remains only to understand if and how it is possible to use this plugin together with some cache plugin, not necessarily W3 Total Cache even if it is definitely the most complete.
I would try excluding your /author/*
pages, and excluding the rest-api from caching. You might also have to exclude /.well-known/*
@skariko Thanks for the hint. At first, I was able to follow, but when I tested it from a different instance, I got either "no results" or "503 SSL error". After clearing the cache, it worked again. Tested with two WordPress installations. One with W3 Total Cache, one with Fastest WP Cache.
I am now looking if and how I can exclude some things as @mediaformat suggested.
Edit: Success. At least for now. For W3: Under 'Performance > Page Cache > Never cache the following pages' I added ".well-known/*". For WP Fastest Cache: Under "Exclude" I simply added a rule "contains" with "well-known".
Seems to work so far.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.