Am working behind a proxy and when i tried to make a HTTP secure
connection i get the following error
Fatal error: Uncaught exception 'Zend_Gdata_App_HttpException' with
message 'Unable to Connect to www.google.com:80. Error #111:
Connection refused' in /nfs/www/sensoria/docs/components/
com_eventmanager/gdata/ZendGdata-1.0.0/library/Zend/Gdata/App.php:409
Stack trace: #0 /nfs/www/sensoria/docs/components/com_eventmanager/
gdata/ZendGdata-1.0.0/library/Zend/Gdata/App.php(606): Zend_Gdata_App-
>post('<atom:entry xml...', 'http://www.goog...') #1 /nfs/www/sensoria/
docs/components/com_eventmanager/gdata/ZendGdata-1.0.0/library/Zend/
Gdata/Calendar.php(152): Zend_Gdata_App-
>insertEntry(Object(Zend_Gdata_Calendar_EventEntry), 'http://
www.goog...', 'Zend_Gdata_Cale...') #2 /nfs/www/sensoria/docs/
components/com_eventmanager/eventmanager.php(34): Zend_Gdata_Calendar-
>insertEvent(Object(Zend_Gdata_Calendar_EventEntry)) #3 /nfs/www/
sensoria/docs/components/com_eventmanager/eventmanager.php(310):
createEvent(NULL, 'test', 'test123', 'fast', '2006-12-01',
'2006-12-08', '03:00', '-08') #4 /nfs/www/sensoria/docs/
index.php(183): require_onc in /nfs/www/sensoria/docs/components/
com_eventmanager/gdata/ZendGdata-1.0.0/library/Zend/Gdata/App.php on
line 409
the code i used to connect is..
set_include_path('components/com_eventmanager/gdata/ZendGdata-1.0.0/
library');
require_once 'Zend/Loader.php';
Zend_Loader::loadClass('Zend_Gdata');
Zend_Loader::loadClass('Zend_Gdata_AuthSub');
Zend_Loader::loadClass('Zend_Gdata_ClientLogin');
Zend_Loader::loadClass('Zend_Gdata_Calendar');
Zend_Loader::loadClass('Zend_Http_Client');
$user = '[EMAIL PROTECTED]';
$pass = 'xxxxxxx';
$client = new Zend_Http_Client('https://www.google.com/', array(
'adapter' => 'Zend_Http_Client_Adapter_Proxy',
'proxy_host' => 'my.proxy.de',
'proxy_port' => 8080,
));
$authenticatedClient =
Zend_Gdata_ClientLogin::getHttpClient($user,
$pass, Zend_Gdata_Calendar::AUTH_SERVICE_NAME, $client, 'project-
test-1.0');
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---