pubsubhubbub.appspot.com return error 500 when checking a feed

164 views
Skip to first unread message

Jérémy Benoist

unread,
Jun 22, 2013, 7:30:28 AM6/22/13
to pubsub...@googlegroups.com
I just add pubhubsubbub support for my new platform.
I've sent few feed to the hub and when I check the topic detail, I got a 500 for every feed I've sent.



Each feed I send to publish, goes 500 after when checking.

I ping hub using basic cURL in PHP. And it returns a 204, seems ok to me then.

I don't know what can be wrong with my feed, or what I've to define.
Any idea?

Jérémy Benoist

unread,
Jun 23, 2013, 1:58:35 AM6/23/13
to pubsub...@googlegroups.com
In fact, it seems to be every time a ping the hub in *the first time*.
After few hours, the 500 is gone and it display every thing ok.

Here is a fresh one (well, sent 14 hours ago..), displaying a 500 https://pubsubhubbub.appspot.com/topic-details?hub.url=http://api.f43.me/iphonix

Julien Genestoux

unread,
Jun 23, 2013, 2:49:43 AM6/23/13
to pubsub...@googlegroups.com
Is that happening with every hub or just the google one?
Thanks,


--


--
 
---
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.
 
 

Jeremy Benoist

unread,
Jun 23, 2013, 9:09:24 AM6/23/13
to pubsub...@googlegroups.com
Well, I'm playing with the hub from Google at the moment. And it seems that for every new feed, I got a 500. Then few hours/days later, the feed seems ok, and few hours/days later again, Reader/Feedly/etc.. use the hub.

About superfeedr, is there a way to see what the hub store for a given feed? Like the "topic details" from Google?

Thanks

-- 
Jeremy

You received this message because you are subscribed to a topic in the Google Groups "Pubsubhubbub" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pubsubhubbub/WZZhzSz-0Hk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pubsubhubbub...@googlegroups.com.

Julien Genestoux

unread,
Jun 23, 2013, 4:19:41 PM6/23/13
to pubsub...@googlegroups.com
I'm not familiar with the topic details (link maybe?) but we can provide some things indeed, like analytics, etc...
Thanks,

Jérémy Benoist

unread,
Jun 23, 2013, 5:27:39 PM6/23/13
to pubsub...@googlegroups.com

​Being able to retrieve information for a given feed using an URL or an API 
--
Jeremy

Julien Genestoux

unread,
Jun 23, 2013, 5:54:19 PM6/23/13
to pubsub...@googlegroups.com
Jeremy, 
Ha, then, yes we have something like this for subscribers but it's easy to open it up to publishers for their own feeds.

Here is an example of what you can get :

<feed xmlns="http://www.w3.org/2005/Atom"><status xmlns="http://superfeedr.com/xmpp-pubsub-ext" feed="http://blog.superfeedr.com/atom.xml"><http code="304">Fetched (ring) 304</http><next_fetch>2013-06-24T06:04:18Z</next_fetch><period>43200</period><last_fetch>2013-06-23T18:04:18Z</last_fetch><last_parse>2013-06-23T08:05:28Z</last_parse><last_maintenance_at>2013-06-23T08:05:28Z</last_maintenance_at><publisher>true</publisher></status></feed>



--


Roman

unread,
Jun 24, 2013, 9:38:03 AM6/24/13
to pubsub...@googlegroups.com
Hi Jérémy,

If the topic-details page says the hub received HTTP 500 when trying to fetch your feed, it usually means your server did indeed reply HTTP 500.

There could be bugs, though. I was away for a few days and now all the feeds you linked to look OK. Could you send me a couple of fresh ones that exhibit this behavior? I'll check them in the hub.

Roman.


--

Jeremy Benoist

unread,
Jun 24, 2013, 10:58:07 AM6/24/13
to pubsub...@googlegroups.com
Hi Roman,

Thanks for your reply.

Here is a fresh example I just sent to the hub: https://pubsubhubbub.appspot.com/topic-details?hub.url=http://api.f43.me/macgeneration and which return a 500.
On my side, there is no 500 reported on my server for all these feeds.




You received this message because you are subscribed to a topic in the Google Groups "Pubsubhubbub" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pubsubhubbub/WZZhzSz-0Hk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pubsubhubbub...@googlegroups.com.

Roman

unread,
Jun 24, 2013, 11:03:20 AM6/24/13
to pubsub...@googlegroups.com
Thanks, Jérémy!

I see now that the diagnostics page itself gives HTTP 500 (I initially assumed that the diagnostics page works and says that the hub encountered HTTP 500 when trying to fetch a feed). I'm looking into it.

Roman.

Roman

unread,
Jun 26, 2013, 5:09:38 AM6/26/13
to pubsub...@googlegroups.com
This problem is now fixed, https://pubsubhubbub.appspot.com/topic-details shouldn't be returning HTTP 500 anymore.

Roman.

Jeremy Benoist

unread,
Jun 26, 2013, 6:02:56 AM6/26/13
to pubsub...@googlegroups.com
Thanks you Roman!

I've tested with a new feed, and the hub return the right information.

By the way, is this hub will be affected by the end of Google Reader? Or it's really not related?

Jeremy

Roman

unread,
Jun 26, 2013, 10:35:27 AM6/26/13
to pubsub...@googlegroups.com
The Google hub will continue running and won't be affected by the Reader shutdown.

Roman.

Julien Genestoux

unread,
Jul 4, 2013, 12:20:15 PM7/4/13
to pubsub...@googlegroups.com
Jeremy,

It is now possible to retrieve a given feed's status for hosted hubs:

http:/<hub domain>/?hub.mode=retrieve&hub.topic=<feed>
For example:

http://pubsubhubbub.superfeedr.com/?hub.mode=retrieve&hub.topic=http://push-pub.appspot.com/feed

Let me know if that was what you were looking for!
Thanks,

Jeremy Benoist

unread,
Jul 4, 2013, 12:31:37 PM7/4/13
to pubsub...@googlegroups.com
Oh, here I can retrieve all feeds associated to a hub, right?
I was looking for a something like Google does: retrieve the last item from a feed that is associated to a hub.
Something to perform a quick check if the hub is up to date with the feed.

Thanks for your answer!

Julien Genestoux

unread,
Jul 4, 2013, 1:25:20 PM7/4/13
to pubsub...@googlegroups.com
Well, that's what this does.
You actually get the last 10 entries to the feed.

Thanks,
Reply all
Reply to author
Forward
0 new messages