Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
cURL error 6: name lookup timed out
Avatar
William Mikell
Member
sp_UserOfflineSmall Offline
Sep 30, 2016 - 11:38 am

Not getting any where with hosting support. What do I need to direct them to do or is there a workaround?

Your server has returned a status code ofwhile attempting to communicate with the Simple:Press server to establish up to date version information.
Additionally, WordPress reported the following: cURL error 6: name lookup timed out
WordPress will retry this operation automatically but if the condition persists we firstly recommend seeking assistance from your hosting support team and then contacting Simple:Press support if they are unable to help.

This started after we added a SSL to the site.

Thank You

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 30, 2016 - 8:42 pm

but you are not using an https url for our site, are you?

Avatar
William Mikell
Member
sp_UserOfflineSmall Offline
Oct 1, 2016 - 10:19 am

Not sure I''m using a plugin called real simple SSL that forces SSL and check's the database. Where would I look

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 1, 2016 - 12:51 pm

might have to ask your host where that message is coming from and what url timed out...

Avatar
William Mikell
Member
sp_UserOfflineSmall Offline
Oct 1, 2016 - 2:03 pm

I get the typical low level don't want to work response from them.

Added core control plugin this is the error I get

URL https://simple-press.com/downl.....-press.xml
Method GET
Result error
Error Details
http_request_failed cURL error 6: name lookup timed out
Time Taken 5.00107693672 seconds
HTTP Args
timeout (integer) 5
redirection (integer) 5
httpversion (string) 1.0
user-agent (string) WordPress/4.6.1; https://www.myeroticnight.com
reject_unsafe_urls (boolean) false
blocking (boolean) true
headers

Array ( )
cookies

Array ( )
compress (boolean) false
decompress (boolean) true
sslverify (boolean) true
sslcertificates (string) /home/myerotic/public_html/wp-includes/certificates/ca-bundle.crt
stream (boolean) false
filename NULL
limit_response_size NULL
HTTP Transports WP_Http_Streams
Request Time 2016-10-01 13:50:01 --400

 

Other than getting them to increase the timeout any other suggestions?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 1, 2016 - 2:21 pm

of course they dont...  😉

but that gives me the info I wanted... and verifies that the call to our server api is not https...

so take the url and punch it into  your browser... what do you get?  should be a xml response...

its definitely working and we have thousands of requests to it daily...  so why is it timing out for you?

The 5 second timeout is set by us... the WP default (we use their api) is 1 second... we increased it not for any particular reason but just trying to be safe...  harder to imagine your server would be that slow in talking to ours, but we can try a test and increase it to see what happens...

if you go to file wp-content/plugins/simple-press/sp-startup/site/sp-site-support-functions.php and edit that file around line 665 you will find this line:

        $options = array('timeout' => 5);

try increasing the 5 to 10 or something else as a data point..

Avatar
William Mikell
Member
sp_UserOfflineSmall Offline
Oct 1, 2016 - 2:30 pm

That did it thank you

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 1, 2016 - 2:43 pm

really?  what did you change it to??

Avatar
William Mikell
Member
sp_UserOfflineSmall Offline
Oct 1, 2016 - 2:53 pm

10

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 1, 2016 - 3:02 pm

odd that your server communicating with ours would take that long... in testing (and of course far from comprehensive or statistically valid), most connections happen in second or less...

I will open a ticket and see if any downside to increasing that time or allowing a method for users to increase...  thanks for the update...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625