Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Sep 05, 2011 7:56 pm 
Offline

Joined: Mon Sep 05, 2011 7:44 pm
Posts: 1
Hello Everyone,

I asked this question in the IRC chat last night, and wasn't able to solve it. If anyone there who was assisting me is reading this, I had to run out unexpectedly, so I apologize for leaving.

The title pretty much sums up the issue, CURL takes at least 20 seconds to load the page (testing with the twitter API) and then returns a blank result, or when we're showing curl errors, it shows a timeout error. I have also tested curl in the command line, where it works fine. An example simple CURL call to the twitter API can be found at http://www.strikeinternet.com/includes/ ... status.php

Also, the exact same code hosted on my old server (from a different company) can be seen here http://strikesignup.com/~strike/include ... status.php

And here is a link to the actual php code: http://pastebin.com/twaFXySW

Relating to the CURL slowness, I've had a problem similar to that before, although I don't remember how it was solved other than something to do with reverse DNS. Our resolv.conf file is the exact file recommended by Linode support and the reverse dns for our server's main IP is set to the hostname under the "remote access" tab in the Linode manager.

Thanks in advance for the help!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group