The connection test lets Autodigy reach your site and confirm that your credentials work. This article explains what the test does and what each error message means.
Before you start
- Roles that can manage sites can run the test: account owner, administrator and team manager.
- You can run the test at most 10 times a minute. If you go over the limit, wait a minute and try again. In Quick setup the message "Too many test requests were sent. Try again in a few minutes." appears; on other screens the test may simply look failed.
- For security reasons, the screen does not show credentials or the remote site's response details.
Where to run the test
- On the New site connection page, Test connection tries the details before you save the site. Its result is not recorded on the site.
- Test connection on a saved site's page is the real test. When it succeeds, Last Check and Response Time are updated. On the edit page, if you have unsaved changes, the notice "Save your changes before testing the connection." appears.
- In Quick setup, Test Connection Now runs the same real test.
What the test checks
- WordPress: sends a request to
/wp-json/wp/v2/users/me with the application password and looks for the administrator, editor or author role.
- Custom PHP: reads
/api/ping, then /api/migration-status (the answer must be ready) and /api/posts (OPTIONS, which must include the POST method).
- Each request waits up to 15 seconds, and redirects are not followed.
- The address must start with
https:// and use port 80 or 443. Local and private network addresses are rejected.
Status labels
| Label |
Meaning |
| Verified |
The last test passed and has not expired. |
| Not tested or Pending Initial Test |
A saved site has no successful test yet. |
| Old measurement or Measurement Timeout |
The last successful test is older than the threshold. The default threshold is 24 hours. |
| Connection error or Error Reported |
The last test failed, or the site has a recorded error. |
The Site active switch only turns the site record on; it does not mean the connection works.
Error messages and fixes
| Message |
What to do |
| Authentication failed. Update the connection credentials. |
Create a new application password in WordPress, or match the Custom PHP token with the value on the server. |
| Grant the WordPress user permission to publish content. |
Give the user the administrator, editor or author role. |
| Check the connector publishing permission. |
The connector returned 403; check its permission and token settings. |
| The site DNS address could not be resolved. Check the domain name. |
Check the address for typing mistakes. |
| A secure TLS connection could not be established. Check the HTTPS certificate. |
Install a valid HTTPS certificate. |
| The connection test timed out. Check the site address and try again. |
Make sure the site is up and answers quickly. |
| WordPress error: HTTP 404 (or another code) |
Check the REST API path, permalinks and security plugins. |
| The connector ping endpoint did not respond successfully. |
/api/ping does not reach the connector; check routing and the database connection. |
| The connector database migration is incomplete. |
Apply the schema file. |
| The connector publishing endpoint is unavailable. |
The OPTIONS /api/posts answer must include POST. |
| The connection test could not be completed. |
An unexpected error occurred; try again shortly and contact support if it continues. |
| HTTPS is required for security. Please start the URL with https://. |
Write the address with https://. |
| Local network addresses cannot be reached. / Private or reserved network addresses cannot be reached. |
Use a publicly reachable domain name. |
| This external URL port is not allowed. |
Only ports 80 and 443 are accepted. |
When the connection succeeds, you see "WordPress connection succeeded: user verified" for WordPress or "Custom PHP connection succeeded." for Custom PHP.
Common problems
- The test keeps saying "unreachable". Make sure the address does not redirect. If an
http address redirects to https, or a non-www address redirects to www, enter the final address.
- The test passed but the status is "Old measurement". The threshold has passed. Run the test again.
- The problem is fixed but "Connection error" remains. A successful test clears the error. Run the test again on the saved site.
- Two-step verification is requested. Saving and editing a site needs a recently verified session when two-step verification is required on the account.
Related articles