-
Notifications
You must be signed in to change notification settings - Fork 74
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
Post not showing up at Mastodon #873
Comments
Can you install a cron plugin to check if there are some blocking wp_crons? |
Or have you disabled or maybe misconfigured your |
Nothing blocking WP_Cron, and the posts do show up on another WordPress instance running Friends plugin - so at least WP to WP it is working. |
I'm also seeing this on one of my sites - @[email protected] - it was working fine and then it just stopped. I've been meaning to come report it. WP site is at https://status.murkworks.net and here's a view of the profile from my Mastodon instance https://mastodon.murkworks.net/@[email protected] so. I'm able to refresh the profile fine so it is talking to the world. I'm getting 200 OK in response to hits on wp-cron.php and I'm having that run every five minutes at the system level, but it doesn't help. |
Solarbirdy - since you're also running a mastodon instance, is there anything logged on that side? I'm not running one and therefore stuck on how to debug |
Does Mastodon index your posts if you put the permalink of a new post into the search field? I am currently at vacation, will run some tests when I am back! |
@jeckman - As in, apache logs or something? Not that I've found. @pfefferle - That's interesting. YES. And the post once searched for appears, but only on the individual author profile (as viewed from Mastodon), and not on the blog profile (also as viewed from mastodon). I searched for the most recent post, now it appears in the @[email protected] profile as it should: But it still does not appear in the @[email protected] profile: And none of the posts between that and the older ones have federated. Also - relax and enjoy your vacation, this is not any kind of Sev1 crisis for us, the important back-end notifications hang off the RSS feed directly. The Federation feed is an additional courtesy for the Mastodon users we host, so not critical - but I do want to get it working again, obviously. ^_^ (It's weird that it's this one. This is the simplest, most basic wordpress setup we have, and it's the one not Federating.) |
Mine do show up in mastodon if I search for them by permalink, and then after that they show up in the profile |
Ok, then it does not seem to be a caching issue, but a distribution thing! @solarbirdy can you check if your blogs domain is on a block list of your instance? |
Thought I had the same problem, but either random tinkering or just waiting "solved" it. Test posts federated successfully. |
I believe I'm seeing this as well. Specifically I have 2 mastodon users. The first follows both the overall blog profile and the author profile. The second is only following the blog profile. The user following the author sees the posts but not the boost by the blog profile, and the user only following the blog profile is not seeing the posts getting boosted by the blog profile. Looking at the blog profile via my mastodon instance I do see one boosted post from the 13th Sept, but not the newer post blog profile: @[email protected] |
Hey @hardillb 👋 Have checked if you have some blocking WP_Crons in your queue? |
I don't think so, the health check page shows all is good.
Let me know if there is another way to test/check |
Could there be a race condition? Was there someone following that account when you published the post? |
No, the accounts have been following for over a week and the last publish was yesterday. The blog profile has only boosted one post back on the 13th and none since. |
and you have enabled "Blog-Profile" and "Author-Profiles" in the settings? |
Do you use caching plugins? |
Maybe this is the problem. W3 Total Cache has some issues with content negotiation: https://github.com/Automattic/wordpress-activitypub/wiki/Caching |
OK, I'll have a look at the caching settings/plugin, but out of curiosity why would this only block the blog profile and not the author profiles? |
Only an assumption! It seems like a random thing (it worked one time) and that's why I assume the caching. When a caching plugin does not support content negotiation, it depends on the file in the cache. If it is the JSON it might work, otherwise it might break. |
Yep, if I turn off the object caching things look to be working (well I get JSON back if I pass a I'll raise an issue with W3 Total Cache |
And as I said, we also try to work against that issue: #894 |
Just to come back to this, It turns out it's not the Object Cache, but the Page Cache that is the problem. Also using Redis rather than Disk: Enhanced appears to work correctly on a test setup |
Oh yes, it's always the page cache, because it could cache the wrong representation, if it does not use different buckets based on the accept header. Sorry if I was not clear about that! |
I'll do a deeper dive later, but seems I'm also still having this/similar issue; post show up on mastodon a day later, with the correct posting hour, and so would be missed by most. Less then ideal. But I'm not sure if it's somehow not a mastodon issue, as some online debug tool fetches correct and up to date data... No catching on the website. |
@harcesz the plugin sends the post asynchronously through wp-cron. Maybe you can check how often this will be triggered!?! |
I have exactly the same issue. I don't know if the plugin need the Wordpress cron, I didn't setup yet. Looks like permission issue... |
The number you see on mastodon has not much to do with the actual posts that show up there! Mastodon can get the number of post from an API. One thing: Mastodon does not import old posts, only new ones that are created after someone is following the blog! Can you provide us an example post URL so that we can have a look? |
Thank you for explanation. Yesterday I created a new blog entry here: When I search in Mastodon my accounting "@[email protected]", I can find the account, but no blog item is visible. Please feel free to contact me if you need more information. |
This is only, because I shared by my self manual. Now I created a new "Test for Mastodon", it will not show up. |
Maybe you are right, the cron job is important. I don't know why, but the cron job via Wordpress does not work. So I created a cron job for "www-data" user server side. As soon as it was done, the last entries were published in Mastodon. I will check in the next days. |
I have a very similar issue - blog is at swduncan.com, I recently moved from Wordpress.com where it worked fine under their business plan using the ActivityPub plugin, to self-hosting on Amazon Lightsail. The change was made a few days ago. I can see the profile in Mastodon as it was before the switch, but no followers and no new posts. When I try to follow the existing profile, it looks like it's taking on the Mastodon.social web interface, but on the app it says it's pending. Site health shows no problems. What else is there to check to debug this? |
@swduncan It seems that you found every possible forum to ask the question I will answer on WordPress.org https://wordpress.org/support/topic/posts-not-posting-follows-pending-post-to-wp-json-is-404/ |
I appear to be suffering the same thing on multiple hosts. Right now I am fighting with @[email protected] and the blog wide @[email protected] accounts. They haven't shown any posts since 28 June, but nothing has really changed on the server since that time other than routine plugin updates. The cron jobs seem to be firing off fine from the system cron via the wp-cron.php URL. Any suggestions on next place to look? |
Something similar happening at @n4jjs.com. I seems to randomly show posts, I received some but not others. |
Quick summary
I run ActivityPub on WordPress here: @[email protected]
To test it, I followed myself from mastodon.social: https://mastodon.social/@[email protected]
I don't see any posts since Sept 2023, but I post regularly.
I tried unfollowing and refollowing - but I'm stuck on even how to troubleshoot what's going on here not knowing where the problem might be
Steps to reproduce
Visit https://mastodon.social/@[email protected] or find the user @[email protected] on any ActivityPub site
What you expected to happen
Posts should appear, including those written this week
What actually happened
I see nothing newer than Sept 28, 2023
Impact
One
Available workarounds?
No and the platform is unusable
Logs or notes
No response
The text was updated successfully, but these errors were encountered: