List Info

Thread: Repeating /posts/all gives 200 with no posts, instead of 503




Repeating /posts/all gives 200 with no posts, instead of 503
country flaguser name
United States
2007-10-06 10:07:49

Hi,

I have a del.icio.us account with four posts in it that I am using
for testing my application. This morning I sent the API https:/
api.del.icio.us/v1/posts/all several times within 10 minutes or so.

EXPECTED RESULT: Statys 503 "Temporarily Unavailable"

ACTUAL RESULT: Status "OK" with 0 posts in it. Eeek!!!!

After about 10 minutes of head-scratching, and getting the same
result with curl, I switched to testing a different del.icio.us
account. It downloaded my 1 post in that account properly, and after
several repeats I began getting 503 errors as expected. Then I
switched back to the original account, but at that point I got the
503 errors as expected there too.

But it did not stay fixed. I have a 503 recovery algorithm in my
application which at first retries in 5 seconds, then retries in
5*1.77 seconds, then retries in 5*1.77*1.77 seconds, etc. I let it
retry about 9 times, so it got up to 69 seconds backoff. At that
point I got the bad result, status 200 with 0 posts again.

If someone at del.icio.us could please look into this, I'd really
appreciate it since this problem will cause serious user unhappiness.

Here's a screenshot of the Safari window showing my posts on
del.icio.us, the 200 output with no posts from curl in a Terminal
window, and the file written by curl showing the headers:

sheepsystems.com/engineering/del200.png

Feel free to try it yourself. At this point, my jerrykrinock account
seems to be inaccessible from the API. Either I get 503 (bad), or I
get 200 with no posts (very bad).

Thanks alot,

Jerry Krinock

__._,_.___
Recent Activity
Visit Your Group
Y! Messenger

Instant hello

Chat in real-time

with your friends.

New web site?

Drive traffic now.

Get your business

on Yahoo! search.

Yahoo! Groups

Join a yoga group

and take the stress

out of your life.

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )