Forums
XML-RPC Service for you blog cannot be found
-
Hi Folks -
John B here - I'm working for Automattic on this XMLRPC issue and I believe I've coded a fix. I tested this with Michael Cohen's blog (he kindly allowed me temporary access) and it worked like a charm.
I want to test more thoroughly, and so I'm looking for volunteers who are willing to grant me temporary access to their blogs so that I can test the fix and make this problem a thing of the past.
Please contact me at john(at)johnbickerstaff(dot)com if you're interested.
Thanks,
JohnB
-
@gmetrail
Great minds think alike! One of the things I've implemented in this fix (and I should give credit to JosephScott also) is a new view that asks the user for the xmlrpc endpoint URL when the app fails to find it on it's own.
-
I get the error.. my website is http://www.hotforwords.com
I'll email you.
-
Thanks!
-
All,
Please check that xmlrpc is enabled for your blog before we begin testing.
Look in your dashboard under Settings | Writing
Thanks...
-
I am still having the problem. The blog is still under wraps but it can be found here.
http://www.inliquid.com/wordpressThanks for any help...
-
I was still having the problem so I emailed John login info to access my blog and test things out.
Turns out that I didn't have xmlrpc enabled. After I enabled xmlrpc, John re-tested... it worked!
Thanks John!
-
I just installed wordpress this month and only tried to use the iPhone app today. This seems to fit the description of my problem, so I'll gladly give it a shot. Dezell at stonescry dot com
The blog is at http://www.goldengatetutoring.com/blog -
Same problem on WP v2.8.1... App 1.3. Triesd allege trouble shoots, no win.
-
having the same problem...
-
Thanks to those who have contacted me.
I've worked with a couple of you - fabi9 turned out to just need to turn on the xmlrpc.
Some others had configuration where the xmlrpc endpoint was not available in the links for the main page. The new code works for that situation because it invites the user to enter the endpoint.
A further complication is when a linux box has security enabled that prevents hitting the xmlrpc endpoint. This link may be useful to those with that difficulty: http://wordpress.org/support/topic/130095?replies=8
I've received e-mails from a few others - thanks! I'll ping you soon.
-
A note from one of the people I worked with. He added the link to the main page and resolved the precondition error mentioned in the link in the last post. The app worked from that point on.
John – ... I tweaked my .htaccess file and added <link rel=”editURI”… /> to my default theme header and the app is working! It even functions with the “Members Only” plugin activated. The key piece of information that I was overlooking was that darn precondition error. Once I figured out to correct that issue it was smooth sailing! Thanks for all your help!
Readers please note: The full editURI line looks something like this, it tells the iPhone app where to look for the xmlrpc endpoint to ask for further information. Your configuration may be slightly different, so use with care.
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://www.yourdomain.com/xmlrpc.php?rsd" />
-
My blog is hosted on wordpress.com yet my Iphone App denies my access completely and gives out this error message ( Operation could not be completed ( NSXMLParserErrorDomain error 9. ))
Any ideas
-
I had the same problem. When I navigated to the XMLRPC API with my browser, though, I got an error 406. I added a .htaccess file with the following in it:
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>and it was fixed!
My site uses Apache as a webserver (wouldn't have worked otherwise)
HTH
rlc
-
Throw my hat into the mix. Also get this error with self-hosted muwp 2.8.2 and iphone 3.0 with wordpress 1.3 (the app actually says 1.21.1). Tried the solution on the FAQ and all reports OK but no workie on iphone app. It use to work but now does not. http://forgiven.mytimewithgod.net
Weird thing is i can get to the "home" blog, http://mytimewithgod.net -
I’m having this problem, as well. Self-hosted, latest WordPress, iPhone 3.0, Carrington Text theme, Wordpress Mobile Edition installed, and WP Super Cache.
If you would like credentials, let me know.
-
(contact me: baa (a) wegoats.com)
-
I use yahoo webhosting, iPhone 3GS. I do not have the option to ENABLE xmlrpc. Any suggestions?
-
I was curious to see if there was a fix for the "We could not find the XML-RPC service for your blog" on my iPhone 3GS. Any info would be appreciated. Thanks!
-
I'm having the same problem. When I try to access http://www.hellagood.de/blog/xmlrpc.php?rsd I get no error message, just a blank page. XML-RPC is enabled, and I have also tried reverting to the default theme, but the blank page prevails.
I should add that I too am able to post to my blog using BlogWriter Lite, but would much prefer the Wordpress app. Additionally, I have been getting into Posterous lately, and while I initially wasn't able to set up my blog and got the same error message as I do now with the WP app, I used the direct path, i.e. http://www.hellagood.de/blog/xmlrpc.php, as the blog address, and that did the trick.
Does the fact that I can now post from Posterous mean that I will in all likelihood be able to use the next version of the WP app for my blog, or should I be more worried about the blank page, meaning that it probably will not work? Any help would be greatly appreciated.
-
can someone test my stuff
http://basketscenen.se/coacholofssoncant get it to work
cant find bla bla xml
when i test i get this
XML-RPC server accepts POST requests only.can i do something aabout that?
and if so...what -
In the interest of keeping the discussion together, please see this thread for some useful suggestions. If none of those work, please post to that thread.
-
Coach-O -- ju13s
I can't hit the link to your xmlrpc.php endpoint - or to be more accurate it returns a blank page.
I suspect the http problem mentioned below, but can't be sure. I would like to test my new code on your site if you'll allow me - to see if entering the xmlrpc endpoint directly will solve the problem. Please ping me at john(at)johnbickerstaff(dot)com if you have an iPhone dev envrionment or are willing to grant me temp access to the blog...
-
Coach-O
My new code can get a listMethods response from your XML endpoint. This suggests the issue is not with security as I suggested in the previous post, but instead with malformed XML on your webpage...
The good news is that the w3.org validation page finds only two errors. There's a good chance that if you can fix those, the app will connect now - and as I say, the new code will get around this.
Your blog is an idea test case because the errors are so few - if you're willing, try fixing those and try again. Then let us know... I'll make an entry on the other thread - let's continue there...
To see the errors, go to http://validator.w3.org
-
I have http://cumbers.wordpress.com and having just installed the iPhone App I get the XML-RPC error.
Looked under my Dashboard/Settings/Writing and I have no enable xmlrpc option there.
Am happy to give @jb6262 access if the end result is a working iPhone application for me to post entries!
twitter.com/cumbers
-
I think I might have a solution for those obscure problems on hosted blogs. I dug around on my own blog, trying to understand based off jb6262 here how the XML-RPC works. I noticed most blogs gave an XML-output when polled with xmlrpc.php?rsd. Mine didn't. I scratched my head, looked at the code. The PHP-code expects a $_GET with rsd in it. I added a echo before the if that checks for this, posting out the entire GET when accessing with ?rsd. Nothing. What?
Cue lighttpd.conf. Now, the most common configuration of the redirects for lighttpd - i.e. the ones highest on Google - doesn't really pass on the GET values. I went in, added this to the url.rewrite-once bit of my lighttpd.conf:
url.rewrite-once = ( [...] "^/(xmlrpc.php\?rsd)" => "$0", "^/(xmlrpc.php)" => "$0", [...] "^/(.+)/?$" => "/index.php/$1" )Voila, now works! The ?rsd properly gives its output, and the iPhone app now finally recognizes my blog.
-
@cumbers
WordPress.com blogs have XML-RPC turned on, so you don't need to worry about that setting. I strongly suspect that this the problem with the iPhone app not being able to find the RSD link. John has already made changes to help this so it should be fixed in the next version.@ilifin
Not passing the rsd in the GET request would definitely be a problem. The RSD XML document provides information on how blog clients can talk to your WordPress blog. Thanks for posting your changes to the lighttpd to make this work. -
@Coach_0
I tested a blog that gave the same symptoms (blank page for xmlrpc endpoint) and found that with the new code, when I entered the XMLRPC endpoint, I was able to add the blog to the app. I think once we release the new code, you will be able to use the app with your blog.@cumbers
This would be a first for the xmlrpc problem on a wordpress hosted blog... I suppose the theme could be giving us an issue. I'd like to test please - will you send me an e-mail at john(at)johnbickerstaff(dot)com please? -
Just got this from a WPMU user: I'll be testing and posting back here. I'm hopeful the new fix will cover this too, but I'll verify.
Hope all is well. Just wanted to give you a head's up that I've discovered another quirk with the WordPress iPhone app for WPMU. It appears that it's kicking out the "could not find the xml-rpc service for your blog" error when you've got MU blogs set up with a subdirectory install (e.g. website.com/blogname). As I mentioned to you before, it's working ok with subdomain blogs (e.g. blogname.website.com).
I'm pretty sure xml-rpc is set up right, as I'm seeing the right stuff here:
http://blogs.*******.com/*****/xmlrpc.php?rsdI can give you access to our blogs if that would help in troubleshooting. Let me know if you have any thoughts on how to fix.
-
Good news -
I was able to add this blog as well with the new code. When the auto function couldn't add the blog, I was able to enter the xmlrpc endpoint manually and the blog was successfully added.
Topic Closed
This topic has been closed to new replies.
