Solved

Zend gdata Connection timed out

Posted on 2011-02-15
2
588 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

860 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