View Single Post
  #3 (permalink)  
Old 07-06-2009, 11:58 PM
WindyT WindyT is offline
Registered User
 
Join Date: Nov 2004
Posts: 36
WindyT is on a distinguished road
Quote:
Originally Posted by eth00 View Post
Have you tried to connect via telnet? That will let you at least know if it is at all related to php or if it is on a server/network level

telnet rest.akismet.com 80

what about connect to it in general?

traceroute rest.akismet.com
ping rest.akismet.com

I was able to ping the site just fine and the traceroute gets to databank.com then is stopped by a firewall
Negative results for "rest.aksimet.com" and positive for "akismet.com"
(they have different IPs. As mentioned earlier, I've greenlighted all akismet related IPs through the firewall)

so, on a hunch, I took out the "rest."

Changing my code in my test script above from
rest.akismet.com
to
akismet.com

changes the result to
Code:
HTTP/1.1 200 OK Content-type: text/html Content-Length: 16 Date: Tue, 07 Jul 2009 03:42:03 GMT Server: LiteSpeed Connection: close Invalid API key.
So, the webpage _can_ make a connection to akismet.com, but not to rest.akismet.com
This means it looks like it's on akismet's end. Funny, because so many times I've seen the "Check the settings on your server" as a reply to issues posed on this topic by others.

Thanks for the clue. My question is still unresolved, but I know more now than I did. I hope to update this thread if I find out more, and if anyone has an idea, feel free.

In the meantime, I'll experiment with the akismet api key checking code within the Wordpress admin page to see what happens when I remove the "rest." from the code. It shouldn't work. I'll do that tomorrow.
Reply With Quote