Hi,
My blog posts aren't showing on the planet again. They were, and I haven't changed anything at all so I'm not sure if it's a bug or some kind of configuration change.
This is what my ~/.planet reads: [http://ankursinha.in/blog/category/fedora/feed/] name = Ankur Sinha "FranciscoD" face = http://ankursinha.fedorapeople.org/ankur-sinha.png
And I checked that the feed is up. I've posted on 26th Aug and 27th Aug, and neither of them appear on the planet.
Could someone please check what's wrong?
On Wed, 28 Aug 2013 08:51:36 +1000 Ankur Sinha sanjay.ankur@gmail.com wrote:
Hi,
My blog posts aren't showing on the planet again. They were, and I haven't changed anything at all so I'm not sure if it's a bug or some kind of configuration change.
This is what my ~/.planet reads: [http://ankursinha.in/blog/category/fedora/feed/] name = Ankur Sinha "FranciscoD" face = http://ankursinha.fedorapeople.org/ankur-sinha.png
And I checked that the feed is up. I've posted on 26th Aug and 27th Aug, and neither of them appear on the planet.
Could someone please check what's wrong?
Its getting the following error:
ERROR:planet.runner:Error 406 while updating feed http://ankursinha.in/blog/category/fedora/feed/
I have no idea what that means. ;)
Anything else change on that host/site?
kevin
Hi,
On Tue, 2013-08-27 at 17:17 -0600, Kevin Fenzi wrote:
Its getting the following error:
ERROR:planet.runner:Error 406 while updating feed http://ankursinha.in/blog/category/fedora/feed/
Yikes! The feed works. Hrm.
I have no idea what that means. ;)
I couldn't find anything on the web either :/
A HTTP 406 error is a "Not acceptable" error. I'm not sure if that's what the planet error is referring to, though.
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
Anything else change on that host/site?
Not really. A word press upgrade maybe, but that shouldn't break anything IMO.
Looks like it's been getting the error earlier too. I see my blog listed here also.[1]
I rechecked and the feed URL is correct[2]. I'll try another one and see if the error persists. (Maybe planet doesn't like a certain kind of feed URL?):
http://www.ankursinha.in/blog/?cat=fedora&feed=rss2
[1] https://fedorahosted.org/fedora-infrastructure/ticket/3617 [2] http://codex.wordpress.org/WordPress_Feeds
On Wed, Aug 28, 2013 at 2:55 AM, Ankur Sinha sanjay.ankur@gmail.com wrote:
Hi,
On Tue, 2013-08-27 at 17:17 -0600, Kevin Fenzi wrote:
Its getting the following error:
ERROR:planet.runner:Error 406 while updating feed http://ankursinha.in/blog/category/fedora/feed/
Yikes! The feed works. Hrm.
I have no idea what that means. ;)
I couldn't find anything on the web either :/
A HTTP 406 error is a "Not acceptable" error. I'm not sure if that's what the planet error is referring to, though.
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
Anything else change on that host/site?
Not really. A word press upgrade maybe, but that shouldn't break anything IMO.
Looks like it's been getting the error earlier too. I see my blog listed here also.[1]
I rechecked and the feed URL is correct[2]. I'll try another one and see if the error persists. (Maybe planet doesn't like a certain kind of feed URL?):
http://www.ankursinha.in/blog/?cat=fedora&feed=rss2
[1] https://fedorahosted.org/fedora-infrastructure/ticket/3617 [2] http://codex.wordpress.org/WordPress_Feeds -- Thanks, Warm regards, Ankur (FranciscoD)
http://fedoraproject.org/wiki/User:Ankursinha
Join Fedora! Come talk to us! http://fedoraproject.org/wiki/Fedora_Join_SIG
-- websites mailing list websites@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/websites
It probably means that the Planet sends an Accept, Accept-Langauge or Accept-Encoding header that your server won't accept. I'd need to see the request and response headers to know for sure, but I think it might have to do with gzip compression. perhaps your webserver forces gzip and the planet doesn't send Accept-Encoding: gzip?
On Wed, 2013-08-28 at 03:14 +0300, Elad Alfassa wrote:
It probably means that the Planet sends an Accept, Accept-Langauge or Accept-Encoding header that your server won't accept. I'd need to see the request and response headers to know for sure, but I think it might have to do with gzip compression. perhaps your webserver forces gzip and the planet doesn't send Accept-Encoding: gzip?
Quite possible. I have a default wordpress 3.6 deployment that my hosting service provides. This is what I get:
$ curl -v http://ankursinha.in/blog/category/fedora/feed/ > original-URL.txt % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* About to connect() to ankursinha.in port 80 (#0)
- Trying 174.122.46.31...
- Connected to ankursinha.in (174.122.46.31) port 80 (#0)
GET /blog/category/fedora/feed/ HTTP/1.1 User-Agent: curl/7.29.0 Host: ankursinha.in Accept: */*
< HTTP/1.1 200 OK < Date: Wed, 28 Aug 2013 01:22:27 GMT < Server: Apache/2.2.24 (Unix) mod_ssl/2.2.24 OpenSSL/0.9.8e-fips-rhel5 Phusion_Passenger/4.0.10 mod_bwlimited/1.4 mod_fcgid/2.3.6 < X-Powered-By: PHP/5.3.15 < X-Pingback: http://ankursinha.in/blog/xmlrpc.php < ETag: "77a0cdcc7149b53fe34d5d596358533e" < Last-Modified: Tue, 27 Aug 2013 13:47:35 GMT < Transfer-Encoding: chunked < Content-Type: text/xml; charset=UTF-8 < { [data not shown] 100 182k 0 182k 0 0 90096 0 --:--:-- 0:00:02 --:--:-- 90123
- Connection #0 to host ankursinha.in left intact
The data does seem to be simple xml too:
http://ur1.ca/f98dp -> http://paste.fedoraproject.org/35328/53061137
On Wed, 2013-08-28 at 11:26 +1000, Ankur Sinha wrote:
The data does seem to be simple xml too:
New blog post, still not on planet. :(
On Fri, 2013-08-30 at 01:30 +1000, Ankur Sinha wrote:
New blog post, still not on planet. :(
Well, threebean and giarc sat and dug it out with me earlier today. The issue seems to be with the useragent that httplib2 sends over. For some reason, the server doesn't like it, as threebean uncovered:
import httplib2 h = httplib2.Http() response, content = h.request("http://ankursinha.in/blog/feed/") response.status
406
response, content = h.request("http://ankursinha.in/blog/feed/",
headers={'user-agent': 'trololololololol 9000'})
response.status
200
Googling up seems to point to mod_security rules (not much idea what this is exactly). I'm heading to file a ticket with my host now.
Other blogs that *seem* to be affected, and need to be notified are owned by these users:
http://fabian-affolter.ch/blog : Fabian Affolter
and
http://www.gadgetwisdom.com/ : (Not sure who controls this one)
*Phew*
/me goes to blog about this debugging session.
websites@lists.fedoraproject.org