2 messages in com.googlegroups.bloggerdevRe: Zend_Gdata_App_HttpException
FromSent OnAttachments
stua...@gmail.com29 Aug 2007 04:06 
Jeff Scudder05 Sep 2007 13:31 
Subject:Re: Zend_Gdata_App_HttpException
From:Jeff Scudder (j.@google.com)
Date:09/05/2007 01:31:15 PM
List:com.googlegroups.bloggerdev

On Aug 29, 2:32 pm, Bill Lazar <bla@gmail.com> wrote:

Did you change the Google API key to one which is authorized for your work server? I know this caught me up the first time.

Bill

On Aug 29, 2007, at 4:06 AM, stua@gmail.com wrote:

HI folks, I've written a small app which uses the PHP libraries. The application tries to connect to google using the following:

$client = Zend_Gdata_ClientLogin::getHttpClient($email, $password, 'blogger'); $gdClient = new Zend_Gdata($client);

This works perfectly well on my personal server, but not at all on the server which it needs to run on. Here I get the following exception:

Fatal error: Uncaught exception 'Zend_Gdata_App_HttpException' with message 'Unable to Connect to ssl://www.google.com:443. Error #110: Connection timed out' in /home/content/v/i/e/foo/html/blogger/Zend/ Gdata/ClientLogin.php:116 Stack trace: #0 /home/content/v/i/e/foo/ html/ blogger/blogger.php(18): Zend_Gdata_ClientLogin::getHttpClient('foo...', 'bar!', 'blogger') #1 {main} thrown in /home/content/v/i/e/foo/html/blogger/Zend/Gdata/ ClientLogin.php on line 116

The server seems is live, so what could be causing this?

Some server details:

PHP 5.1.4 zend extension: 220051025

Cheers

Regards Stu

I think I saw this error when I first set up my Apache webserver to run with PHP5. I had neglected to enable SSL support so my PHP scripts couldn't make any HTTPS connections (required for client login). Depending on your server setup, you might be able to install PHP and enable SSL using:

./configure ... --with-openssl ...

Happy coding,

Jeff