Jeremy Bornstein @jeremy@jeremy.org

My #activitypub server is mostly coming along nicely but I'm having one problem with which I'd appreciate a little insight and help.

Right now I have this server (from which I'm writing now) operating in production, and I have a development version sitting behind a SSH tunnel from my public webhost. That version, like the production version, is proxied via nginx.

The problem is that for the development server only, much of the time servers from which I request public information complain that the server key I use to request most public data is "not found." This doesn't happen in production, and the code for this is identical to production, with the only system differences being that one is behind a tunnel and operating via a different domain name and server key.

Some relevant URLS, to make things concrete:

If anyone can look at the server's responses for those and let me know if they see anything fishy, I'd very much appreciate hearing about it!

activitypub

3 replies 1 boosts 0 favourites

Replies

@jeremy Webfinger returns:

{"subject": "acct:svadhisthana.org@svadhisthana.org", "aliases": ["https://svadhisthana.org/@svadhisthana.org"], "links": [{"rel": "http://webfinger.net/rel/profile-page", "type": "text/html", "href": "https://svadhisthana.org/@svadhisthana.org"}, {"rel": "self", "type": "application/activity+json", "href": "https://svadhisthana.org/@svadhisthana.org"}, {"rel": "http://webfinger.net/rel/avatar", "type": "image/jpeg", "href": "https://jeremy.org/images/ap/ap-avatar-server.jpg"}]}

Profile gives me a 404. Lemmie know if you need headers and I’ll test from an actual computer.

Ahem, looking at this post on lemmy.ml here I see that one of the links appears poorly-formatted there; I just wanted to acknowledge that I've added it to my list of stuff to fix.

@jeremy Where/how did you start working on your activitypub server? Did you use an existing codebase somewhere? I've thought about putting one together as well.