Solved

Zend gdata Connection timed out

Posted on 2011-02-15
2
610 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
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…
The viewer will learn how to dynamically set the form action using jQuery.

691 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