CodeIgniter Forums
XMLRPC Error Solved - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: XMLRPC Error Solved (/showthread.php?tid=14331)



XMLRPC Error Solved - El Forum - 12-29-2008

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


XMLRPC Error Solved - El Forum - 12-29-2008

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

User Account Control:
http://www.howtogeek.com/howto/windows-vista/disable-user-account-control-uac-the-easy-way-on-windows-vista/
http://technet.microsoft.com/en-us/library/cc709691.aspx


XMLRPC Error Solved - El Forum - 10-19-2009

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


XMLRPC Error Solved - El Forum - 04-05-2010

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