New Server Install – Curl Error 7

[ad_1]

I have a Rocky 9 server running Apache/2.4.57, PHP 8.1.27, curl 7.76.1 all installed from repo (dnf/yum)

I am getting this issue both on websites from the old server and on the new wordpress website I setup from scratch. The websites themselves work without any issues. The only issue I am seeing is in the wordpress backend.

I do not believe this is a firewall issue because I can successfully run curl -v 198.143.164.251 at the CLI and it returns the website. I also wrapped it in a php script and it pulled the full redirected website.

Despite this in site health I am seeing the error “Your site is unable to reach WordPress.org at 198.143.164.251, and returned the error: cURL error 7:”

I can install plugins by using the Upload Plugin feature without error, but I can’t use the built in Add New Plugin feature as I get the error “An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums.”

I have also tried to disable selinux, but no change.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer