Solved

Zend gdata Connection timed out

Posted on 2011-02-15
2
578 Views
Last Modified: 2012-05-11
Today I started getting this error on my php page that is reciving data from a google spreadsheet and puts it on a google map:

Fatal error: Uncaught exception 'Zend_Gdata_App_HttpException' with message 'Unable to Connect to tcp://spreadsheets.google.com:80. Error #110: Connection timed out.

Does someone know the solution to this?
0
Comment
Question by:Ritkonsult
2 Comments
 
LVL 4

Accepted Solution

by:
JayDiablo earned 250 total points
ID: 34900625
can you ping spreadsheets.google.com from the server that this php page runs on?

ping spreadsheets.google.com

Open in new window


can you telnet?

telnet spreadsheets.google.com 80

Open in new window


There's a connection error somewhere which is why you're getting the "Connection timed out" message.  Either the time it takes to receive a response is too long, or your server can't connect to google's server.  If you can confirm that your server can connect okay, then it might just be that the connection is taking too long.  Most of Zend's libraries have ways that you can control the timeout limit, bumping that may resolve this issue.  If there's a lot of data being retrieved, perhaps it's best to break it out into batches (if possible).

Also, a quick google search brings up some others having DNS issues with some of Google's services (this was in July of last year however):  http://www.google.com/support/forum/p/apps-apis/thread?tid=230742ad50357e22&hl=en
0
 

Author Comment

by:Ritkonsult
ID: 34906869
It started working today, most have been temporary.

Thanks anyway!
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to dynamically set the form action using jQuery.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question