-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feeds Refresh seems to be broken and PHP issuing warnings about missing keys. #269
Comments
Sorry for the trouble! It looks like a two things come together here. Thanks for quoting the requests above, it seems like these users have accounts on Mastodon servers that have "Authorized Fetch" activated, and it looks like for some reason the outgoing request was not signed. Could it be that for your blog the Rest URL is on another host? i.e. https://github.com/Automattic/wordpress-activitypub/blob/efd98acd0bf3f2c42f0ffc3d8f10920e74cb8512/includes/model/class-application-user.php#L38 returns a different host than your blog? I've learned today that Mastodon will try to do a Webfinger lookup on the URL, so for example for the code linked above returns The other thing is that ActivityPub "feeds" are not refreshed since they'll receive new messages through push. If you manually refresh them, it fetches their ActivityPub outbox which should have been done upon initial add (so that their page doesn't appear empty after adding them even though nothing has been yet pushed to them). I hope this helps. Since a bit of time passed since you reported this, did you observe new items coming in? |
I think you may have found it. Investigating... |
Okay, so some more interesting stuff here. I moved my ActivityPub Friends aggregation to a standalone WP instance, and decided to webfinger it per your recommendation:
This seems relevant. Running latest WP with full patches on latest Ubuntu LTS with PHP 8.1.2 |
So a WPError got passed into a routine which was expecting a User; possibly this is because the only user on the instance is the admin account and is not posting anything and/or is somehow not fully set up? |
Interesting. Looks like this is then more a problem on the ActivityPub side of things. For the |
Okay... so... I have 2x WP instances: my blog, and a dedicated "friends plugin" aggregator, which is the one we are talking about here. On that instance, I have ActivityPub I also don't have There are ~120 subscriptions on the aggregator, and only a mere handful of them are updating, and of those most are updating once per day. I can't easily/clearly correlate which of them are RSS vs: ActivityPub subscriptions - and for some reason RSS appears to be the default even/if/when I subscribe to a Mastodon user using the Bookmarklet when visiting their page. |
Aside: maybe I should log a request for the Users page to enumerate which types of feed are enabled for each user, in a concise fashion? |
Trying to grasp what you wrote, I realize a better tool for double checking feeds across users would help you and be useful in general. I'll think of something and hope to provide that soon. |
Regarding the feed log: I found it referenced in the PHP and spent 20
minutes a couple of nights ago attempting to guess the URL. I couldn't find
it in the documentation, perhaps I should have looked at the dashboard more
carefully.
|
I know something has changed with respect to user handling, so is it correct for |
Okay, so I accessed
...which is worrying. |
So I set up a WP ActivityPub/Friends instance last night, and subscribed ~120 feeds to it.
Apart from the initial load of articles upon subscription, no feeds are refreshing and they are all stale unless individually refreshed.
The text was updated successfully, but these errors were encountered: