Welcome Guest, Not a member yet? Register   Sign In
XMLRPC Error Solved
#1

[eluser]Mortred[/eluser]
Hi!

If you get a persistent "Did not receive a '200 OK' response from remote server." from your xmlrpc setup, I finally have a solution for this. Perhaps if you are running Vista and have xampp from apachefriends.org then it's a good chance we both have the same problem and I have the solution.

First, disable UAC on Vista (google for how) then restart.

Second, if you have two CIs on your htdocs(client and server), change the url of your server from "localhost" to "127.0.0.1" when initiating a xmlrpc request in your client.

example:
Code:
//normally, we would write:
$this->xmlrpc->server("http://localhost/project/xmlrpcserver/", 80);

//what i did, is change the 'localhost' to '127.0.0.1'
$this->xmlrpc->server("http://127.0.0.1/project/xmlrpcserver/", 80);

and that persistent error disappeared and got my xmlrpc server working.

I'm just here to share this and I hope I helped. Thanks.
#2

[eluser]Andrew Cairns[/eluser]
thanks Mortred,
im sure this will help someome Smile

User Account Control:
http://www.howtogeek.com/howto/windows-v...ows-vista/
http://technet.microsoft.com/en-us/libra...09691.aspx
#3

[eluser]jfurey[/eluser]
Thanks guys - this was bugging me out massively but the old '127.0.0.1' fix sorted it out.
#4

[eluser]t0mc4t[/eluser]
Hello,

Thanks.. this help me to solve the same issue.. Smile
Anyway... on live site, should we also using the IP address instead of URL?
Thank you..




Theme © iAndrew 2016 - Forum software by © MyBB