Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Zend gdata Connection timed out

Posted on 2011-02-15
2
Medium Priority
?
641 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 1000 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

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

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

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 title says it all. Writing any type of PHP Application or API code that provides high throughput, while under a heavy load, seems to be an arcane art form (Black Magic). This article aims to provide some general guidelines for producing this typ…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses
Course of the Month20 days, 15 hours left to enroll

864 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