3 messages in com.googlegroups.google-picasa-data-apiRe: timeouts when requesting feeds| From | Sent On | Attachments |
|---|---|---|
| Aaron | 24 Feb 2008 03:33 | |
| Ryan Boyd (Google) | 24 Feb 2008 09:32 | |
| Aaron | 24 Feb 2008 14:33 |
| Subject: | Re: timeouts when requesting feeds![]() |
|---|---|
| From: | Aaron (anut...@gmail.com) |
| Date: | 02/24/2008 02:33:31 PM |
| List: | com.googlegroups.google-picasa-data-api |
we can also do a curl from the command line no problem so it's something strange with the way ruby is making the connection. we have no proxy server. any ideas?
On Feb 24, 9:32 am, "Ryan Boyd (Google)" <api....@google.com> wrote:
Hi Aaron,
There's no need to be authenticated to do that type of retrieval.
I just tried retrieving the feed using curl: curl "http://picasaweb.google.com/data/feed/base/user/aaronandbecca?kind=photo &max-results=1"
This worked successfully for me on several different networks without sending any sort of auth info.
Is it possible the network you're on requires a proxy server to be used-- something your browser may be handling automatically fro you, but is not being handled in your ruby script?
Cheers, -Ryan
On Sun, Feb 24, 2008 at 3:34 AM, Aaron <anut...@gmail.com> wrote:
Greetings Picaca peeps,
I'm trying to request a feed of a user's photos. Here's the url I'm using:
When I try this via my app (a Ruby application) I get a timeout every time. When I tried it in my browser, the first time it timed out. Then I signed in to picasaweb, and now it works every time.
Does the requestor need to be authenticated? Note that all the albums for this user (er, me) are public.
Suggestions?
[2008-02-24 04:19:30] DEBUG this_url:
http://picasaweb.google.com/data/feed/base/user/aaronandbecca?kind=ph...
[2008-02-24<http://picasaweb.google.com/data/feed/base/user/aaronandbecca?kind=ph...>04:19:45]
ERROR Timeout fetching intas for picasa for
aaron, execution expired
[2008-02-24 04:19:45] DEBUG SQL (0.010542) ROLLBACK
[2008-02-24 04:19:45] FATAL
Timeout::Error (execution expired): /usr/lib/ruby/1.8/timeout.rb:54:in `open' /usr/lib/ruby/1.8/net/http.rb:560:in `connect' /usr/lib/ruby/1.8/timeout.rb:56:in `timeout' /usr/lib/ruby/1.8/timeout.rb:76:in `timeout' /usr/lib/ruby/1.8/net/http.rb:560:in `connect' /usr/lib/ruby/1.8/net/http.rb:553:in `do_start' /usr/lib/ruby/1.8/net/http.rb:542:in `start' /vendor/plugins/atom-tools-0.9.4/lib/atom/http.rb:285:in `http_request' /vendor/plugins/atom-tools-0.9.4/lib/atom/http.rb:151:in `get'




