• Resolved lukemacneil

    (@lukemacneil)


    Hi, and thank you for your work on this plugin. I appreciate it.
    I’m noticing weird behavior trying to get set up. I enabled the ActivityPub plugin and was able to follow a user on my site from my mastodon account.

    When I shared that out to others, they all reported the same error. {“code”:”wp_die”,”message”:”<h1>Error establishing a database connection<\/h1>”,”data”:{“status”:500},”additional_errors”:[]}% ? ? ? ? ?

    curl “https://rvnomadphotos.com/author/jenniedale/&#8221; \

    ?? ? -H ‘Accept: application/activity+json’ – I’ll get that result.

    If I curl -X POST

    https://rvnomadphotos.com/author/jenniedale/&#8221; \

    ?? ? -H ‘Accept: application/activity+json’ – I’ll get valid JSON.

    Other user accounts don’t throw this database connection error – and if I visit the URL in the browser – it works fine.

    Any idea what might be going on there?

    Thanks!

    Luke

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Matthias Pfefferle

    (@pfefferle)

    I am sorry, but this seems to be not ActivityPub related, because the author page seems to throw this error anyways: https://rvnomadphotos.com/author/jenniedale/

    Have you tried to disable the plugin to see if the error still exists?

    Thread Starter lukemacneil

    (@lukemacneil)

    I have, yes. I tried disabling all plugins.
    Webfinger responds correctly – if I put that author link in my browser it works, and if I curl it with POST it works… but a GET gives that 500 error on just that one account, it seems.

    Thread Starter lukemacneil

    (@lukemacneil)

    This appears to have been an issue with CloudFlare. I forgot my DNS was running through it. It works when I deactivate cloudflare. Thank you for your work and your response.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WP Database error curling author page on specific account.’ is closed to new replies.