wordpress-activitypub icon indicating copy to clipboard operation
wordpress-activitypub copied to clipboard

Can't follow from Friendica

Open skariko opened this issue 2 years ago • 3 comments

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

skariko avatar Mar 21 '22 23:03 skariko

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.

skariko avatar Mar 22 '22 09:03 skariko

I would try excluding your /author/* pages, and excluding the rest-api from caching. You might also have to exclude /.well-known/*

mediaformat avatar Mar 24 '22 18:03 mediaformat

@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.

lucahammer avatar May 13 '22 15:05 lucahammer

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.

stale[bot] avatar Sep 10 '22 22:09 stale[bot]