Webfinger endpoint does not return a valid JSON – Like always

[ad_1]

Hallo @collapsing_os 👋

the error here is, that it can’t be fixed on plugin/wordpress level, because your webserver blocks the request!

Some hosters block the .well-known URLs, because the letsencrypt settings are stored there too.

There might be one workaround:

  1. Copy the JSON from here https://www.henning-uhle.eu/wp-json/activitypub/1.0/webfinger?resource=acct:[email protected]
  2. Create a static file in the .well-known folder with the name webfinger
  3. Copy the JSON into the file
  4. Re-Check if the request now works

If this will not work it’s only in the hands of your hoster… sorry about that 🙁

Hhm, no change. What’s interesting is that the folder “.well-known” did not exist and I had to create it manually under the root of the blog. When calling the URL of the folder, I get:

{“code”:”rest_missing_callback_param”,”message”:”Fehlende(r) Parameter: resource”,”data”:{“status”:400,”params”:[“resource”]}}

Seems as if something is missing. I doubt your last sentence explains it unfortunately.

Seems to work fine: https://www.henning-uhle.eu/.well-known/webfinger?resource=acct:[email protected]

It’s funny, because now that you created the URL manually, it seems to forward the request to the API… this is weird 😂

really? Strange Situation

but, you seem to use the same name for the blog and an author and that does not work (I added a check in version 1.0.2, that this does not happen any more). Please rename the Blogs User or disable the Authors and only use the Blogs User.

Done. But I am very happy that it finally works. The manual creation of “.well-known” plus the webfinger file did the Trick.

Thabk you very much.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer