On Fri, Jan 18, 2013 at 7:43 PM, Joe Webb <[email protected]> wrote:

> Hi Roman
>
> Thanks for offering to help.
>
> Regarding #1, could you please point me to the new spec.  I have been
> reading this version
> http://pubsubhubbub.googlecode.com/svn/trunk/pubsubhubbub-core-0.3.htmlwhich 
> listed about auto renewal initiated by the hub
>

See https://superfeedr-misc.s3.amazonaws.com/pubsubhubbub-core-0.4.html.
It's still a draft but it's pretty well polished at this point.

Regarding #2, upon further experiment this is what I noticed.
> a) I can query for my existing subscriptions, and see them listed as
> expired (they expired 8-10 day ago).  I query appspot using the bottom form
> here https://pubsubhubbub.appspot.com/subscribe.  Is the hub supposed to
> keep expired subscription?
>

Yes, the hub is supposed to keep expired submissions for diagnostics.


>  Is there a difference between subscribing to a feed with previously
> expired subscription vs a new feed wi no subscription?
>

There shouldn't be.

b) Using the top form on the same page, i resubscribe (w/o unsubscribing
> first) to the topic above. Then I query again and the hub now says it cant
> find that subscription.  Somehow a subscribe is forcing the hub to drop the
> expired subscription, however it didn't subscribe.  Doing a subscribe a
> second time, does work.
>

That's weird. As far as I remember, it deletes subscriptions if your
subscriber gives 404 when the hub tries to verify the subscription request.
Are you sure you return 200 with correct challenge when replying to
subscription verification requests?


>
> c) I receive some updates from one feed. But when I queried the hub about
> that subscription, it says my subscription was expired 6 days ago. But the
> hub kept sending updates to me.  This seems like a bug, but it works in my
> favor :)
>

Yes, this is a known bug. The subscriptions don't really expire in
pubsubhubbub.appspot.com.

I think I dont fully understand the different states of the subscription on
> the hub side which makes it look like the hub behavior is sort of random.
>  Is there anything we can read on this topic?
>

Not really. The good thing is that I'm about to roll out a pretty big
update to the hub which hopefully will fix these problems. It will also
make debugging much easier on the hub side.


>
> But so far my understanding is, we subscribe to a feed, and every 5 days
> we subscribe again (using the same http request), the hub would renew our
> subscription.
>

Yes, please keep doing that. I'll make sure this works as intended in the
hub.

But that give me Conflit 409.  I think I can always do an unsubscribe and
> create a new subscription for the same feed, but that's not very clean.
>

Indeed, you shouldn't need to do that.

I can send log and more details if you can have your contact info.
>

Please do: [email protected].

Roman.

Reply via email to