Hi all,

Sorry for the newbie question, but I'm having trouble figuring out why
my hub.challenge code isn't working.  I've got a buzz search url:
https://www.googleapis.com/buzz/v1/activities/search?q=ipad

It lists its hub as http://pubsubhubbub.appspot.com/  so I've made a
subscribe request to that hub.  A few minutes later I get the
hub.challenge callback to which, I believe, I am responding
correctly.  However, I never receive any data back and instead get a
new challenge every 3 minutes or so.

I've used curl to connect to my endpoint and sent it a made-up
challenge.  Its returning a 200 response code and the body of the
response is the made-up string that was passed to it.  So I think I'm
following the spec correctly.

In my logs, talking to the real server, I have:

I, [2010-05-24T13:30:36.815311 #13571]  INFO : Sending back
eD_Q6OnCULHgbRPlklCqyI7zKAlXkbTTi37V1aEI0fRSU9DL0WW1qyu2h5cAW7OBZnEFk4kSQ308ZPYLG8_4lGaq89hk_1O4lRse2Wa015hMNxLjlKuXHAp632ETPyrr

I, [2010-05-24T13:30:36.816341 #13571]  INFO : Completed in 10ms
(View: 0, DB: 0) | 200 OK [http://xx_host_xx.com/xx_path_xx/
push_entries?
hub.verify_token=ipad&hub.challenge=eD_Q6OnCULHgbRPlklCqyI7zKAlXkbTTi37V1aEI0fRSU9DL0WW1qyu2h5cAW7OBZnEFk4kSQ308ZPYLG8_4lGaq89hk_1O4lRse2Wa015hMNxLjlKuXHAp632ETPyrr&hub.topic=https
%3A%2F%2Fwww.googleapis.com%2Fbuzz%2Fv1%2Factivities%2Fsearch%3Fq
%3Dipad&hub.mode=subscribe&hub.lease_seconds=2592000]

Is there any way to get any diagnostics out of the hub of why its not
accepting my challenge response?  Any ideas on what I could be doing
wrong?

Thanks,
-Chris

Reply via email to