我尝试更新到wordpress 5.6,但没有成功。我尝试安装用于脱机更新的插件,但插件安装时出现了相同的错误:
Download failed.: cURL error 28: Connection timed out after 10001 milliseconds
这很奇怪,因为当我使用SSH时,我可以将它正在更新的确切链接卷曲到恰到好处,但它实际上给了我一个问题:
$ curl http://downloads.wordpress.org/release/wordpress-5.6-new-bundled.zip
<html>
<head><title>301 Moved Permanently</title></head>
<body>
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx</center>
</body>
</html>
在网站健康页面上,它指出了两个关键问题:
Could not reach WordPress.org
Communicating with the WordPress servers is used to check for new versions, and to both install and update WordPress core, themes or plugins.
Error Your site is unable to reach WordPress.org at 198.143.164.251, and returned the error: cURL error 28: Connection timed out after 10000 milliseconds
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: cURL error 28: Operation timed out after 10001 milliseconds with 0 bytes received (http_request_failed)
这很奇怪,因为icmp和端口80可以访问198.143.164.251,但curl似乎也有问题:
$ curl http://wordpress.org/
<html>
<head><title>301 Moved Permanently</title></head>
<body>
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx</center>
</body>
</html>
有人能帮我解决这个问题吗?