Confusing timeout on RSS feed via WordpressMU plugin, but not manually
Alec Resnick
aresnickety at gmail.com
Tue Apr 21 12:03:50 MSD 2009
I have nginx/0.6.32 running on Ubuntu 8.10 slice @ Slicehost. It's
set up to serve a WordpressMU site through fastcgi via php-cgi. My
configuration file is here http://pastebin.com/m33f949f My
fastcgi_params are the default ones.
I'm running a plugin called WP-o-Matic
(http://wordpress.org/extend/plugins/wp-o-matic/installation/) which
is intended to provide for blog syndication. I can get it to
syndicate other blogs, but nothing from my own domain.
In particular, for example, when I attempt to get it to syndicate
http://alec.thesprouts.org/feed , I get a cURL error (which is what
the plugin uses to grab feeds): "Feed http://alec.thesprouts.org/feed/
could not be parsed (SimplePie said: cURL error 28: Operation timed
out after 30000 milliseconds with 0 bytes received)"
I've tried switching from cURL to fsckopen, an alternative provided by
the plugin, and still the request times out.
I think the issue is with my usage of nginx. If I visit the feed in
browser, there is no issue. Here is the relevant excerpt from the
error debug log for the successful request through firefox:
http://pastebin.com/m7560bdcd
But, when I ask the plugin to syndicate the feed, it makes the same
request, but it times out, and I don't know why. I've set the
user-agent to be spoofed as Firefox (originally, it started out as
cURL identified by the plugin). The relevant debug log is here:
http://pastebin.com/d6ee7d9e2
I don't know quite enough to interpret all of the error logs, but I'm
confused how I can use wget or cURL from the command line and get the
feed in less than one second, but this plugin times out in 30 sec.
I'm pretty sure the issue is with nginx and not the feed, since when I
syndicate the feed through FeedBurner, I have no issue adding it.
However, I'd rather not use FeedBurner.
If anyone has any suggestions as to what might be the issue, or where
I can find more info than the wiki on interpreting the debug logs, it
would be much appreciated.
Gratefully,
a.
--
alec resnick
alec at sproutward.org
http://alecresnick.org
617.229.5036
256 Brookline St. / #2
Cambridge, MA 02139
--
More information about the nginx
mailing list