Erik's solution worked for me.  Specifically, I had to add

                'adapter'    => 'Zend_Http_Client_Adapter_Proxy',
                'proxy_host' => 'proxy.shr.secureserver.net',
                'proxy_port' => 3128,

in the code where the Zend_Http_Client object was being configured.
You can find this in the "GData\ClientLogin.php" file at or near line
97.  Simply adding these three lines did the trick.  There were
already some configuration options there, so it was easy to locate the
place to add these lines.  Note: I am using Zend 1.0.0 RC2, which I am
assuming is different from the version Erik was using.

Hope this helps other GoDaddy customers who have struggled to find a
solution to this issue.

On Jun 8, 2:00 pm, Erik <[EMAIL PROTECTED]> wrote:
> Hi, this is not helping. However, In the Godaddy help I found out that
> Godaddy uses a proxy for the google checkout application. So I tried
> to use this proxy settings and it seems to be working.
> This is what I used:
>
>         $config = array(
>                 'adapter'    => 'Zend_Http_Client_Adapter_Proxy',
>                 'proxy_host' => 'proxy.shr.secureserver.net',
>                 'proxy_port' => 3128
>         );
>         // Instantiate a client object
>         $clientp = new Zend_Http_Client($myCalendar, $config);
>         $client = Zend_Gdata_ClientLogin::getHttpClient($user, $pass,
> 'cl', $clientp);
>
> On 8 jun, 19:19, "Lane LiaBraaten (Google)" <[EMAIL PROTECTED]>
> wrote:> Hi Erik,
>
> > cederstrom posted this link in another 
> > thread:http://www.nabble.com/SSLv2-error-when-using-Gdata-API-t2960985s16154...
>
> > Let us know if that solves your problem,
> > Lane
>
> > On Jun 8, 7:54 am, Erik <[EMAIL PROTECTED]> wrote:
>
> > > When I try to authenticate I get the following error:
>
> > > Fatal error: Uncaught exception 'Zend_Gdata_HttpException' with
> > > message 'Unable to Connect to sslv2://www.google.com:443. Error #110:
> > > Connection timed out' in /home/content/d/i/s/dispuutjupiter/html/Zend/
> > > Gdata/AuthSub.php:106 Stack trace: #0
>
> > > My site is hosted at godaddy and I'm running PHP Version 5.1.4. To me
> > > it seems that the problem is located in the ClientLogin.php file.
>
> > > Can anyone help me to get this working?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data API" group.
To post to this group, send email to 
[email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to