I use WordPress and I recently moved my site from the cpanel host to a Linux server with directadmin panel.
Right after the transfer realized that customers have the following error when downloading via EDD plugin.
cURL error 28: Resolving timed out after 5001 milliseconds
I also got this error of w3_total_cache plugin.
Server informatin:
Centos 6.8 (Final)
cURL 7.54.0 (Final)
directadmin
5
Answers
To resolve this you have to set the curl connection time out and time out value at the time of curl initialization.
Just changes this two property value.
For more details check This.
cURL error 28: Resolving timed out after 5001 milliseconds
meansDNS resolving failed
.this image shows the demo.You can set
set_time_limit(120);
in the wp-config.php after the MySQL settings section.
update these two lines here:
/usr/share/icingaweb2/modules/jira/library/Jira/RestApi.php
As reported here:
https://wordpress.org/support/topic/dropbox-upload-fails-with-curl-timeout-error/
You can apply this temporary fix to extend the HTTP request timeout:
WordPress default is 5 seconds.