Error: cURL error 7: Failed connect to mysite.com:443; Connection refuse
-
Hey Guys
I recently migrated my site from google cloud to AWS. Everything went fine except I am having this error that I think is affecting my cron jobs. I have a site health plugin and these are the two errors that I am getting from two areas
1. The REST API encountered an error
The REST API is one way WordPress, and other applications, communicate with the server. One example is the block editor screen, which relies on this to display, and save, your posts and pages.
The REST API request failed due to an error.
Error: [] cURL error 7: Failed connect to mysite.com:443; Connection refused2. Your site could not complete a loopback request
Loopback requests are used to run scheduled events and are also used by the built-in editors for themes and plugins to verify code stability.
The loopback request to your site failed, this means features relying on them are not currently working as expected.
Error encountered: (0) cURL error 7: Failed connect to mysite.com:443; Connection refused
3. A scheduled event has failed
The scheduled event, add_every_three_minutes, failed to run. Your site still works, but this may indicate that scheduling posts or automated updates may not work as intended.The event in 3 above is a custom plugin that runs a cron job that is currently not executing.
This is what I’ve done so far
1. aws came with PHP 8 so I downgraded to php7.3 because it seems all my plugins use that as the maximum compatible version. No Help)
2. Disable Selinux (read that online. and no help)
3. Updated curl (no help)
4. made sure all the ports (both HTTP 80 and HTTP 443 are open incoming and outgoing. (no help)
5. Added both hostnames, localhost, and IP to hosts file (no help)
6. tried to add an alternate cron to the function file but this actually broke my site
with HTTP 500 error.
That’s where am stuck and I don’t know what else to try, so any help would be appreciated guys thanks
- The topic ‘Error: cURL error 7: Failed connect to mysite.com:443; Connection refuse’ is closed to new replies.