Hi, I have installed Activitypub on my site it-blogger.dk. However my posts and profile does not show up on Mastodon. On my WP health check page I get the mistake:

Webfinger endpoint is not accessible
Your WebFinger endpoint https://www.it-blogger.dk/.well-known/webfinger?resource=acct:andreas@www.it-blogger.dk does not return valid JSON for application/jrd+json.

My site is on a shared host on a Litespeed server. How can I fix the mistake?

Kilde:
https://wordpress.org/support/topic/activitypub-does-not-work/
Bluesky-url:
Subscribe
Notify of
guest

6 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Hi @aphandersen it seems to be a configuration problem on your host. Sadly I have no experience with lightspeed. Do you have the possibility to add something like rewrite rules?

Yes, I can change these in the .htaccess file. I have tried to add the line:

RedirectMatch "^\/\.well-known(.*)$" "\/\/\.well-known$1"

But that did not fix the problem.

I have a similar warning from Site Health, and evidence seems to back it up:

Your author URL https://roosenmaallen.com/author/admin/ does not return valid JSON for application/activity+json. Please check if your hosting supports alternate Accept headers.

erose@lorge:~$ curl -i https://roosenmaallen.com/author/admin/ -H "Accept: application/activity+json" --http1.1
HTTP/1.1 200 OK
Content-Type: application/activity+json
Transfer-Encoding: chunked
Connection: keep-alive
Keep-Alive: timeout=15
Date: Sat, 28 May 2022 17:32:59 GMT
Server: Apache
Link: ; rel="https://api.w.org/", ; rel="alternate"; type="application/json"

erose@lorge:~$ curl -i https://roosenmaallen.com/author/admin/ -H "Accept: application/activity+json"
HTTP/2 200
content-type: application/activity+json
date: Sat, 28 May 2022 17:33:09 GMT
server: Apache
link: ; rel="https://api.w.org/", ; rel="alternate"; type="application/json"

erose@lorge:~$

Hi,

I’m attempting to get ActivityPub working, but am unable to follow my site’s author on Mastodon. Site health reports that the webfinger endpoint is accessible although it does not seem to be printing to source. I’ve tried both amanda@arush.io and https://arush.io/author/amanda but no luck. Any help would be greatly appreciated and thanks for all your work.

The site I need help with is https://arush.io

@arush I checked your site and everything seems fine. I also tried to follow your site and this seems also fine, but Mastodon does not seem to get the Accept Activity from your site and stays in “pending” mode. Besides of that, I can see your profile and three posts on mastodon. I will check why it does not send the Accept (or maybe this simply lasts a bit).

Om mig

Yngre læge og kommende geriater fra Region Syddanmark. Følg mig i fediverset ved at følge @andreas@apha.dk.

Socialt medie

Tidslinje

Tags

activitypub (7) akutmedicin (17) bluesky (8) covid19dk (404) danskertrut (54) demens (13) dkfedi (39) dkforsvar (8) dkjul (8) dklæger (81) dkmastodon (108) dkmedier (81) dkpol (406) dksund (331) dktwitter (44) dkøko (19) eupol (56) feditips (10) forsvarsforbeholdet (12) ftvalg22 (12) FV22 (10) geriatri (51) influenza (8) Mastodon (16) mastotips (11) nypåmastodon (20) ok21 (18) ok24 (7) Omicron (10) opråbfraplejehjemmet (7) røgfrifremtid (21) somedk (38) StandWithUkraine (44) stophpv (7) sundhedsreform (6) sundpol (306) Threads (16) threadsapp (10) twitterX (8) udogsemedDSB (7) UkraineInvasion (51) Ukrainekrise (20) UkraineRussiaWar (7) wegovy (8) wordpress (23)

Kommentarer

  1. Avatar photo

Om siden

Her kan du se en oversigt over alle de indlæg jeg har lavet på sociale medier gennem tiden.

6
0
Would love your thoughts, please comment.x
()
x