Skip to content
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

WordPress+ActivityPub outgoing message sending is unreliable. #397

Open
jernst opened this issue Oct 18, 2024 · 0 comments
Open

WordPress+ActivityPub outgoing message sending is unreliable. #397

jernst opened this issue Oct 18, 2024 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@jernst
Copy link
Member

jernst commented Oct 18, 2024

Consider this test:

  1. Mastodon account follows WordPress account
  2. WordPress account posts something
  3. test that Mastodon account receives it

It appears that on the WordPress side, the ActivityPub HTTP POST of the Create/Note activity triggered by step 2 runs with wp-cron (which I don’t really understand, except that I think it has some kind of queue that is worked down as a side effect of incoming HTTP requests).

If I suspend the automated test run after step 2, and use a browser to access the WordPress instance, it appears the HTTP POST to the Mastodon inbox is performed. If it runs in unattended mode, the POST is not performed.

I tried to curl https://wordpress/wp-cron.php and curl https://wordpress/wp-cron.php?doing_wp_cron but that doesn’t seem to trigger it. If I run it once every second for 15 seconds, it triggers it most of the time, but not always.

Find a way to get WordPress to reliably deliver that POST.

See also:

@jernst jernst added the help wanted Extra attention is needed label Oct 24, 2024
@jernst jernst removed this from the FediTest 0.5 released milestone Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant