Title: frequent disconnects
Last modified: August 28, 2026

---

# frequent disconnects

 *  [kennethrg](https://wordpress.org/support/users/kennethrg/)
 * (@kennethrg)
 * [6 days, 22 hours ago](https://wordpress.org/support/topic/frequent-disconnects/)
 * Support Moderator suggested I open a new topic. My issue appears related to [https://wordpress.org/support/topic/push-single-post/](https://wordpress.org/support/topic/push-single-post/)
   and [https://wordpress.org/support/topic/publish-single-post-after-disconnect/](https://wordpress.org/support/topic/publish-single-post-after-disconnect/).
 * Would you mind shedding a little more light on the circumstances in which the
   site might get disconnected and how to resolve it? I’ve had to reconnect manually
   3 times in the past week. It sounds like you’re saying this should never happen.
 * I’m running ATmosphere Version 2.1.0. I have DISABLE_WP_CRON enabled in favor
   of a system cron job using wp-cli that fires every 5 minutes. Cron in general
   seems to be working fine, so that’s not likely to be the issue.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffrequent-disconnects%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Matthias Pfefferle](https://wordpress.org/support/users/pfefferle/)
 * (@pfefferle)
 * [4 days, 10 hours ago](https://wordpress.org/support/topic/frequent-disconnects/#post-19007202)
 * Hey [@kennethrg](https://wordpress.org/support/users/kennethrg/) 👋
 * Disconnects like that should not be normal, so let me explain when they can happen.
   The plugin renews the Bluesky session once an hour in the background, and it 
   only drops the connection when the auth server answers with a permanent error.
   There are three ways to get there:
    1. Bluesky itself revoked the session, for example after a password change. Legitimate,
       but rare.
    2. Your site’s security keys changed (some hosts rotate the wp-config salts). The
       stored login can then no longer be read. Tools > Site Health > Status names 
       this cause when it is the one.
    3. A bug on our side that fits your setup suspiciously well. When the renewal runs
       from wp-cli, and with your system cron every renewal does, WordPress builds 
       URLs without a request context. On a site behind a proxy that terminates TLS,
       our OAuth client_id then comes out as an http URL, the auth server rejects it
       as an invalid client, and the plugin treats that as permanent and disconnects.
       In the browser everything works, which is why reconnecting always succeeds and
       the disconnect comes back later, from cron.
 * You can check number 3 in a second:
 * `wp eval 'var_export( is_ssl() ); echo " ", rest_url();'`
 * If that prints an `http://` URL, that is your bug. It is already fixed in [https://github.com/Automattic/wordpress-atmosphere/pull/230](https://github.com/Automattic/wordpress-atmosphere/pull/230)
   and will be in the next release. Until then, two workarounds: make sure the home
   and `siteurl` options start with `https://`, or trigger cron with `curl -s https://
   your-site/wp-cron.php` instead of `wp-cli`, so the renewal runs in a web context.
 * If the eval prints https, then it is not this one. Right now the plugin does 
   not tell you much about why a renewal failed, which is exactly what makes your
   report hard to pin down, so we are adding that in [https://github.com/Automattic/wordpress-atmosphere/pull/234](https://github.com/Automattic/wordpress-atmosphere/pull/234):
   Site Health will show when the renewal last succeeded, when it last failed, and
   the auth server’s own error code. Until that ships, I would like to see what 
   Site Health says under the ATmosphere test after the next disconnect.

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffrequent-disconnects%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/atmosphere/assets/icon.svg?rev=3538797)
 * [ATmosphere](https://wordpress.org/plugins/atmosphere/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/atmosphere/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/atmosphere/)
 * [Active Topics](https://wordpress.org/support/plugin/atmosphere/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/atmosphere/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/atmosphere/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Matthias Pfefferle](https://wordpress.org/support/users/pfefferle/)
 * Last activity: [4 days, 10 hours ago](https://wordpress.org/support/topic/frequent-disconnects/#post-19007202)
 * Status: not resolved