lidaonwayn / google-api-php-client

Automatically exported from code.google.com/p/google-api-php-client
Apache License 2.0
0 stars 0 forks source link

Messages on php error log for calendar api service #261

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, I created event plugin for wordpress using calendar api service. I got 
messages on php_errors.log

What is the expected output? What do you see instead?
PHP Fatal error:  Uncaught exception 'Google_IOException' with message 'HTTP 
Error: (0) Failed to connect to 2607:f8b0:4003:c01::5f: Network is unreachable' 
in 
/www.domain.com/web/content/wp-content/plugins/event-plugin/src/io/Google_CurlIO
.php:128
Stack trace:
#0 
/www.domain.com/web/content/wp-content/plugins/event-plugin/src/io/Google_REST.p
hp(35): Google_CurlIO->makeRequest(Object(Google_HttpRequest))
#1 
/www.domain.com/web/content/wp-content/plugins/event-plugin/src/service/Google_S
erviceResource.php(177): Google_REST::execute(Object(Google_HttpRequest))
#2 
/www.domain.com/web/content/wp-content/plugins/event-plugin/src/contrib/Google_C
alendarService.php(569): Google_ServiceResource->__call('list', Array)
#3 
/www.domain.com/web/content/wp-content/plugins/event-plugin/src/service/Googl 
in 
/www.domain.com/web/content/wp-content/plugins/event-plugin/src/io/Google_CurlIO
.php on line 128

What version of the product are you using? On what operating system?
PHP Version 5.3.20 on Linux, cURL 7.15.5

Please provide any additional information below.
my plugin running in wordpress multisite

Original issue reported on code.google.com by mrteguhp...@gmail.com on 7 Feb 2013 at 4:23

GoogleCodeExporter commented 9 years ago
Yes we are having same issue

Original comment by pe...@agentpoint.com on 7 Feb 2013 at 4:30

GoogleCodeExporter commented 9 years ago
I have the same issue:

Fatal error: Uncaught exception 'Google_IOException' with message 'HTTP Error: 
(0) Failed to connect to 2a00:1450:4001:c02::54: Network is unreachable' in 
/srv/www/htdocs/job/gcal/vendor/io/Google_CurlIO.php:128 Stack trace: #0 
/srv/www/htdocs/job/gcal/vendor/auth/Google_OAuth2.php(261): 
Google_CurlIO->makeRequest(Object(Google_HttpRequest)) #1 
/srv/www/htdocs/job/gcal/vendor/auth/Google_OAuth2.php(239): 
Google_OAuth2->refreshTokenRequest(Array) #2 
/srv/www/htdocs/job/gcal/vendor/auth/Google_OAuth2.php(216): 
Google_OAuth2->refreshToken('1/CySKxvGU0x94f...') #3 
/srv/www/htdocs/job/gcal/vendor/service/Google_ServiceResource.php(166): 
Google_OAuth2->sign(Object(Google_HttpRequest)) #4 
/srv/www/htdocs/job/gcal/vendor/contrib/Google_CalendarService.php(154): 
Google_ServiceResource->__call('list', Array) #5 
/srv/www/htdocs/job/gcal/header.php(3): 
Google_CalendarListServiceResource->listCalendarList() #6 
/srv/www/htdocs/job/gcal/index.php(58): include('/srv/www/htdocs...') #7 {main} 
thrown in /srv/www/htdocs/job/gcal/vendor/io/Google_CurlIO.php on line 128

Original comment by JuergenW...@gmail.com on 26 Feb 2013 at 1:20

GoogleCodeExporter commented 9 years ago
Looks like you don't have access to make outbound connections from your host. I 
would maybe speak to them about that in the first instance.

Original comment by ianbar...@google.com on 22 Mar 2013 at 6:05