Fixing a site that shows as disconnected or not responding
Last updated
MaintainHQ works through a small plugin on each WordPress site, the MaintainHQ connector, which appears in WordPress as MaintainHQ Suite. The plugin checks in with MaintainHQ every hour, and MaintainHQ sends it instructions when you click a button such as Update or Back up.
If either direction stops working, the site shows as disconnected, or actions fail with an error. This guide explains how to tell which problem you have and how to fix it, starting with the most common causes.
What "disconnected" means
The connector checks in once an hour using WordPress’s scheduled tasks. If MaintainHQ hears nothing from a connected site for 3 hours, it marks the site as disconnected.
On the Sites list, any site that is not connected and not in error shows a Pending badge. On the site’s own page, the badge next to its name shows the exact status, such as pending (never connected), disconnected (stopped checking in) or error.
Disconnected is not the same as down. A site can be up for visitors while the connector cannot reach MaintainHQ. Check the site’s Uptime section: if uptime checks are passing, the site is up and the problem is the connection.
Start with these quick checks
- Open the site in a browser. If it does not load, the site itself is down; see the section on sites not responding below.
- Log in to WordPress admin and go to Plugins. Check MaintainHQ Suite is installed and active. If it is inactive, click Activate.
- Wait a few minutes, then refresh the site’s page in MaintainHQ. After activation the plugin checks in within a minute or two.
Plugins are sometimes deactivated by accident, by a security plugin, by a host during a clean-up, or when someone troubleshooting a problem switches every plugin off.
Reinstall the connector plugin
If the plugin is active but the site still does not connect, reinstall it. Downloading it again is safe: it keeps the site’s existing key, so it reconnects as the same site with all its history.
- In MaintainHQ, open the site and click Connector plugin in the header. (On the Sites list, a site that is not connected also has a download icon on its card.)
- In WordPress admin, go to Plugins, then Add New Plugin, then Upload Plugin.
- Choose the zip file you downloaded and click Install Now.
- When WordPress says the plugin is already installed, choose to replace the current version with the uploaded one.
- Activate the plugin if it is not already active.
Check WordPress scheduled tasks are running
The hourly check-in relies on WordPress’s scheduled tasks (WP-Cron). Normally these run when someone visits the site. Some hosts and developers switch this off by adding DISABLE_WP_CRON to wp-config.php and run the tasks from the server instead. If that server job is missing or broken, nothing scheduled runs, including the check-in.
- On the WP tools page, choose the site and click List Crons in the Cron Job Manager. Many overdue events (shown in red) mean scheduled tasks are not running.
- Click Run Missed to catch up, then ask your host or developer to fix the server’s scheduled job, or remove DISABLE_WP_CRON so WordPress runs tasks itself.
The Cron Job Manager can only be used while the site is connected. If it is not, ask your host or developer to check scheduled tasks directly.
Check nothing is blocking MaintainHQ
The connector talks to MaintainHQ, and MaintainHQ talks to the connector through the WordPress REST API (the address on your site that starts /wp-json/). Things that can block this:
- Security plugins that switch off or restrict the REST API, or block unfamiliar requests. Allow MaintainHQ in their settings, or test by deactivating the security plugin briefly.
- Host firewalls or bot protection that block requests to the site, or stop the site making outgoing requests. Ask your host to allow MaintainHQ.
- Password protection on the whole site (often used on staging sites), which stops MaintainHQ reaching it.
When the site itself is not responding
If the site does not load for you either, the problem is the site or its server, not the connection. MaintainHQ will usually already have:
- Sent a down alert after two failed uptime checks in a row.
- Opened an incident on the Uptime & incidents page showing what changed on the site in the two hours before, with a probable cause.
- Open the incident and read the probable cause. A plugin or theme update just before the outage is the most common cause.
- If Gus has diagnosed the problem, review and approve the proposed fix or rollback.
- If the site shows a WordPress critical error, check the PHP Errors tab on the Performance page for the error that caused it.
- If nothing changed on the site, contact your host: the server, database or domain may be at fault. Check the Domain registration card on the Uptime section in case the domain has expired.
- If you need to, restore a recent backup from the site’s Backups section.
See the Uptime & incidents page for more on working through an incident.
Still stuck?
Contact MaintainHQ support with the site’s address, the status shown on its page, when it last worked and anything that changed around then (a new host, a security plugin, a domain or SSL change). The more you can tell us, the faster we can help.