unable to subscribe to google hub

37 views
Skip to first unread message

surya

unread,
May 22, 2013, 11:38:43 PM5/22/13
to pubsub...@googlegroups.com
I am using Django-push (https://github.com/brutasse/django-push) project.. 
/subscriber is the include url for django_push.subscriber.urls
As there is only one feed I am on test-site, the call back url is /subscriber/1

1) I invoked Subscription.objects.subscribe(feed_url, hub=hub)

Then, I observed the below GET with 200 19 response
/subscriber/1/?hub.topic= &hub.challenge= &hub.verify_token= &hub.mode= &hub.lease_seconds= 

I went back to https://pubsubhubbub.appspot.com/subscribe and tested the callback url and its saying "not verified"

2) After the above, I went back to my blog, created new entries, 2 minutes later, I observed a POST request on the url /hub resulting 404

What's going on?

Thanks for your time

Roman

unread,
May 23, 2013, 9:54:19 AM5/23/13
to pubsub...@googlegroups.com
Hi,

I'm not familiar with Django-push, so forgive my naive questions.

On Thu, May 23, 2013 at 5:38 AM, surya <kastur...@gmail.com> wrote:
I am using Django-push (https://github.com/brutasse/django-push) project.. 
/subscriber is the include url for django_push.subscriber.urls
As there is only one feed I am on test-site, the call back url is /subscriber/1

1) I invoked Subscription.objects.subscribe(feed_url, hub=hub)

Then, I observed the below GET with 200 19 response
/subscriber/1/?hub.topic= &hub.challenge= &hub.verify_token= &hub.mode= &hub.lease_seconds= 

Are you saying you sent a subscription request to https://pubsubhubbub.appspot.com/ and the above URL was requested from your site? Did you redact the URL or does it really has empty values as all parameters? What did you subscriber reply (both HTTP code and body are important)?
 

I went back to https://pubsubhubbub.appspot.com/subscribe and tested the callback url and its saying "not verified"

What else does it say?

2) After the above, I went back to my blog, created new entries, 2 minutes later, I observed a POST request on the url /hub resulting 404

Are you saying the hub delivered something to your subscriber even though the subscription hasn't been verified?

What's going on?

I have no idea yet :-)
 

Thanks for your time

--
 
---
You received this message because you are subscribed to the Google Groups "Pubsubhubbub" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pubsubhubbub...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages