Comments (18)
Be advised, if you are using a Let's Encrypt SSL certificate that directory is used by it. It will get recreated when your cert renews.
from wordpress-activitypub.
Any news from this? Anything i can do to help?
from wordpress-activitypub.
We're experiencing the exact same issue here: https://webfinger.net/lookup/?resource=nina%40blog.ninapaley.com
I can tell the plugin is working and the URL config is correct, because this page returns a JSON response: https://blog.ninapaley.com/.well-known/webfinger?resource=acct%3Anina%40blog.ninapaley.com
It says "Missing parameter(s): resource"
I'm in the process of checking if openssl PHP-extension is installed.
from wordpress-activitypub.
We confirmed openssl is installed
Anything else we can check?
from wordpress-activitypub.
Do you both use a caching plugin that also caches the wp-json api?
from wordpress-activitypub.
@skotperez and @alexgleason what is the PHP/WordPress version you are using?
from wordpress-activitypub.
WordPress 5.2.3.
I'm looking through the installed plugins now and nothing seems insane. It has "Quick Cache" so I added the .well-known path to the ignore list and cleared it. No change.
Should I can send you an email with a lot more info about the server and all installed plugins?
In theory since the endpoint is reached and properly returning json I think an interference with a plugin doesn't make sense to me.
from wordpress-activitypub.
PHP 7.2.22. Sorry, I missed that question.
from wordpress-activitypub.
You have to also add wp-json to the ignore path
from wordpress-activitypub.
I have 2 wordpress sites running on DreamHost.
ActivityPub works on my test site (a fresh install) and doesn't work on the other (an old site running for several years).
On my test site I installed the same plugins of the old site. I could not reproduce the problem.
I also compared phpinfo. The configuration is identical. Same PHP version, same MySQL, same Apache, same extensions installed.
The error, "Missing parameter(s): resource", seems to imply that PHP cannot read the GET parameter even though it's being passed. I wonder if this is a rewrite issue or something to do with Apache configuration. I'm requesting FTP access to the server to take a closer look.
from wordpress-activitypub.
Even after deactivating the plugin, the /.well-known/webfinger
path still loads in my browser. I think you may be right that this is a caching issue.
I discovered a drop-in plugin called "advanced-cache.php". Gonna try to disable it. I'll report back if that helps.
from wordpress-activitypub.
I think I discovered where the issue lies:
- blog.ninapaley.com/wp-json/activitypub/1.0/webfinger ✔️ working
- blog.ninapaley.com/.well-known/webfinger ❌ broken
My first thought is that there's some issue with Apache trying to route /.well-known
, but it does seem to be handled by wp-json...
I'm not quite sure where to go from here, but glad I narrowed it down. I'm beginning to understand how this wp-json thing works.
from wordpress-activitypub.
I got it! It was due to already having a .well-known
directory in the root of the webserver. Deleting that fixed it.
from wordpress-activitypub.
Yes, I'm a bit concerned DreamHost is going to automatically recreate it when the cert updates and it'll break this plugin. Trying to figure out a way around that.
from wordpress-activitypub.
OK, then it is a problem with the default rewrite rules, WordPress adds to the .htaccess. Can you try to add them explicitly? I will try to reproduce it.
from wordpress-activitypub.
@skotperez and @alexgleason what is the PHP/WordPress version you are using?
PHP 5.6 (yes, i have to upgrade!) and WordPpress 5.2.3. No cache plugin. I'm also using Let's Encrypt certs so .well-known directory was already there.
I've just tested after some months and... it is working now for me.
I've made a little change in the resource param. This is the good format that's working for me:
/.well-known/webfinger?resource=acct:[email protected]
from wordpress-activitypub.
This is weird 😳
from wordpress-activitypub.
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.
from wordpress-activitypub.
Related Issues (20)
- Critical error when accessing self-hosted Wordpress blog with ActivityPub plugin activated HOT 22
- Don't ship distignore HOT 1
- Feature Request: Content Warnings
- Blog not accepting follow requests on the fediverse (similar to #741 maybe) HOT 2
- Actor ID encoding
- Scheduled Post is Federated Immediately on Save HOT 5
- Feature Request: Be able to add a bio when profile type is set to ‘enable blog’.
- Wordpress tags are not displayed in Mastodon as hashtags when using WordPress Post-Format HOT 3
- All comments go into spam when using the CleanTalk plugin HOT 1
- Content negotiation broken with major caching plugins HOT 12
- Close comments? HOT 3
- Featured image removed from link preview after editing post HOT 8
- Accessibility: screen readers don't detect if a user has activitypub permission enabled or disabled HOT 3
- OpenGraph-Tag doesn't show HOT 5
- fediverse:creator HOT 13
- WordPress formating transferd to the Friendica + Mastodon post HOT 3
- Allow logging in as the blog user in Enable Mastodon Apps HOT 3
- Fatal Error: wp_schedule_single_event third argument is being passed as a string
- Actor `attachment` objects are currently invalid per the spec HOT 1
- Update to 2.6.0 added extra fields that can't be deleted or edited HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wordpress-activitypub.