[英]Download failed. cURL error 28: Connection timed out after 10001 milliseconds
I am developing website in WordPress and I used reflex theme.我正在用 WordPress 开发网站,我使用了反射主题。 there are some required plugin of this theme example- reflex layers extension.
这个主题示例有一些必需的插件 - 反射层扩展。
I am trying to install this plugin, but I am facing below error:我正在尝试安装此插件,但遇到以下错误:
Download failed.
下载失败。 cURL error 28: Connection timed out after 10001 milliseconds
cURL 错误 28:连接在 10001 毫秒后超时
I has a problem with one Wordpress plugin and couldn't login or reset the password.我的一个 Wordpress 插件有问题,无法登录或重置密码。 Website had several plugins so I simply created a new folder called HALT in the plugin directory and moved the entire lot of plugins into it.
网站有几个插件,所以我只是在插件目录中创建了一个名为 HALT 的新文件夹,并将所有插件移入其中。
Was able to reset the password and finally login afterwards.能够重置密码并最终登录。
Once in, I saw Wordpress core had an update, clicked to update and bam.进入后,我看到 Wordpress 核心有一个更新,点击更新并 bam。 The error that you're seeing.
您看到的错误。
Went on duckduckgo, Doogled the error, while around the same time flew into the open cpanel tab and moved the plugins back out of the HALT folder I'd created.继续使用duckduckgo,搜索错误,同时飞入打开的cpanel选项卡并将插件移出我创建的HALT文件夹。
Went into Wordpress admin panel, hit the update buttons.进入 Wordpress 管理面板,点击更新按钮。 And end of story.
和故事的结尾。
In short, I'm sure there's a plugin just messing around.简而言之,我敢肯定有一个插件在乱搞。 Do a consistency check and determine if all the Wordpress files, and plugins are valid.
进行一致性检查并确定所有 Wordpress 文件和插件是否有效。
You can use the below code-snippet to increase request timeout of the HTTP request您可以使用以下代码片段来增加 HTTP 请求的请求超时
add_filter('http_request_timeout','http_request_timeout_callback');
function http_request_timeout_callback() {
return 100;
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.