SamirM
Regular Pleskian
here its is :Could you paste the command output here?
-rw-r--r--. 2 root root 102 Nov 11 22:43 /etc/resolv.conf
here its is :Could you paste the command output here?
That's weird!!!
"lsof /etc/resolv.conf". This way you will be able to check if this file is being used by another process
1) Remove /etc/resolv.conf: rm /etc/resolv.conf
2) Create a new file: touch /etc/resolv.conf
3) Edit this file: vim etc/resolv.conf
i deleted, created a fresh file and it still doesnt allow me to save after i insert the nameserverGot ?
i get the following error when i add the data from the otehr server into the resolv.conf file:
"etc/resolv.conf" E212: Can't open file for writing
Any clues to what I am doing wrong, I am logged in as the root user so i have the priviliges to write to the file, infact any file, just that this particular file doesnt allow it to be saved after writing
@SamirM
please be so kindliy and run the following comand on the cli just to see if curl works now in general or there is still another issue.
on comandline runand post the output here.Code:curl -X POST http://api.wordpress.org/core/version-check/1.7/
Sorry that should ahve read Emerson, my bad.....Can I ask the same question as before?
Does this problem continue to happen on just one site or all?
Who is Ernesto?
This was one of the first things i had done before posting here, however i had changed the values in just the class-http.php fie to 20 instead of 5, now i have increased the values in both the files to 120, and i still have the same error.Ok, let's just take a million steps back for a second.
The issue is curl is timing out from the WP dashboard. From command line, It's working. Let's adjust the timeout values in WP.
By default it's set in 2 core WP files;
WordPress/class-wp-http-curl.php at master · WordPress/WordPress · GitHub
WordPress/class-http.php at master · WordPress/WordPress · GitHub
Let's set "5 seconds" to something crazy in both those files. Something like 120, and then test from there.
Maybe this plugin can help you
Diagnóstico
If you can identify the problem, return the error to try to help you.