Activitypub on Pikapods

You probably need to poke a small hole through the cloudflare proxy. :slight_smile: I’m guessing you need /ghost/.well-known/* , but that’s a guess - if you can figure out what endpoint is giving the 429 (look in the browser console), then you’ll know.

3 Likes

I originally tried this but I added /.ghost/well-known/* as the url, it didn’t work.
Browser console showed the url being called was <domain>/.ghost, thats why I added that.

@Cathy_Sarisky suggestion worked for the /ghost/well-known/*
Thank you for the help. :grin:

1 Like

Interesting, is the new analytics a no on PikaPods then?

1 Like

Hey folks, sorry to bump this thread, but I have been running Ghost on Pikapods for a few months now and my pod got updated to Ghost 6. So far, so good.

Problem is if I go to the network tab I get this cryptic error. Pod logs don’t offer any other insights - would you folks know where else I can look or if I need to configure anything for ActivityPub to work?

Sine Pikapods is managing the infrastructure for you, your best bet is to reach out to their support directly. Here on the community forum we cannot see how they set things up and what the issue might be.

2 Likes

Of course @jannis and thanks for the valuable response.

I am asking if other users of Ghost on Pikapods have seen the same, but you are absolutely right, the fact that this thread was about people discussing issues with Ghost on Pikapods using ActivityPub must have confused me and led me to ask about using ActivityPub on Ghost on Pikapods. Thanks for the response, you can close the thread to avoid further confusion!

Totally get it, no worries.

The way Ghost’s ActivityPub integration works, there isn’t anything you could configure application-wise. Pikapods proxies certain requests to either their own AP server or Ghost’s hosted one. If the site isn’t configured on these, there could be a misconfiguration.

The site ā€œregistrationā€ usually happens on startup. So, if you have the option on Pikapods (I am not too familiar with it), you could try a restart. Other than that, I do believe that proper debugging can only happen with access to the proxy.

1 Like

Thanks again @jannis , I think I stumbled upon the potential problem while setting up something else. I was configuring my DNS entries for Mailgun (to use it with Ghost precisely) and I realised I had a CNAME record for my apex domain instead of an ALIAS. That was a problem for spf as it requires a TXT on the apex domain, and the CNAME was ā€œmaskingā€ it.

I solved my Mailgun/DNS issue and shortly after ActivityPub just started working lol

1 Like

Could you share what the caddyfile snippet and env variable were please?

The Caddyfile snippet is available at ghost-docker/caddy/snippets/ActivityPub at main Ā· TryGhost/ghost-docker Ā· GitHub and can be imported as shown in the Caddyfile example here: ghost-docker/caddy/Caddyfile.example at main Ā· TryGhost/ghost-docker Ā· GitHub . The ACTIVITYPUB_TARGET variable should be set to https://ap.ghost.org/ but can also be a custom server URL if you self-host an ActivityPub server.

1 Like

Are you all planning to add Tinybird as a docker instance?

You can follow Tinybird related discussion here:

2 Likes

HI all, I’m experiencing the same issue on PikaPods and hoping someone can help me out :smiley:

I started setup of the site with their auto-generated DNS name, and when using that DNS name ActivityPub worked just fine. However when I switched the domain name to the one I actually want to use ActivityPub (and the network admin page) broke.

I’ve tried all the steps on this great writeup Fixing Ghost ActivityPub 404 Error on Self-Hosted Installation for testing and the it breaks down on the curl for .well-known/webfinger. The curl for the jwks.json works as expected (I think). The curl for webfinger returns a 403.

In the Ghost logs I see these two lines:

[2025-11-21 06:11:37] ERROR Could not get webhook secret for ActivityPub FetchError: invalid json response body at https://www.kentcountyindivisible.org/.ghost/activitypub/v1/site reason: Unexpected token 'i', "insert int"... is not valid JSON

[2025-11-21 06:11:37] ERROR No webhook secret found - cannot initialise

I have tried toggling ActivityPub off and on, both with restarts and without, I’ve tried restarting.

I’m currently wondering if it has something to do with changing the domain name after configuring it and navigating around the Network admin page.

I have emailed PikaPods support, who has said that everything looks fine on their end and encouraged me to ask here.

Thanks!

Just wanted to follow up on my previous post: After leaving it sit for several days, going back to the admin settings and turning the Network option under ā€œGrowthā€ off and then on again….made it work.

I wonder if it had something to do with ā€œbadā€ registration status on ap.ghost.org or something that needed time to expire?