Solved

Zend gdata Connection timed out

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
This article discusses four methods for overlaying images in a container on a web page
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.

757 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now