Forum OpenACS Development: Re: Error: POST /RPC2/

Collapse
6: Re: Error: POST /RPC2/ (response to 5)
Posted by Iuri Sampaio on
Gustaff,

That's probably there from old oacs legacy. Even though, I was pretty sure I had downloaded xml-rpc pkg from CVS, oacs-core.

Anyway, I've followed your guides, restarted Naviserver, and called http://ndc.iurix.com/ws-ndc/ and it returned the same error. The release is

http://openacs.org/repository/download/apm/xml-rpc-0.3.apm

I believe the cause is not the one we expected.

[20/Sep/2016:02:02:36][15344.b4863b70][-conn:iurix:0-] Warning: ns_httpopen POST http://www.iurix.com/RPC2 d3 30 {<?xml version="1.0"?> ix_ndc.get_result...

444

} is deprecated. Use 'ns_http' instead!
[20/Sep/2016:02:02:36][15344.b5263b70][-conn:iurix:1-] Notice: 'ns_tmpnam ' is deprecated. Use 'ns_mktemp ?template?' instead.
[20/Sep/2016:02:02:36][15344.b5263b70][-conn:iurix:1-] Warning: ns_unlink /tmp/fileycXivT3532794781.xmlrpc2 is deprecated. Use 'file delete' instead!
[20/Sep/2016:02:02:36][15344.b5263b70][-conn:iurix:1-] Error: POST /RPC2/, PeerAddress: 192.199.241.135
invalid command name "ns_xml"
while executing
"

Collapse
7: Re: Error: POST /RPC2/ (response to 6)
Posted by Iuri Sampaio on
Gustaff,

Right there! I did install ns_xmlrpc within /tcl/. I removed it and the error is gone. It seems ns_xmlrpc was overlapping /packages/xml-rpc

Best wishes

[20/Sep/2016:02:47:15][22190.b47d9b70][-conn:iurix:0-] Warning: /RPC2/ has no doc(title) set, fallback to instance_name.
...

444} is deprecated. Use 'ns_http' instead!
[20/Sep/2016:02:47:20][22190.b51d9b70][-conn:iurix:1-] Notice: Running ad_proc ws_ndc.get_result...
[20/Sep/2016:02:47:20][22190.b51d9b70][-conn:iurix:1-] Error: xmlrpc_invoke: error in xmlrpc method REQUEST: <?xml version="1.0"?>ix_ndc.get_resultix-ndc414835444 RESULT: <?xml version="1.0"?>faultCode1faultStringEmail required
Email required
while executing
"lars_blog_auth_for_xmlrpc -username $username -password $password"
(procedure "ix_ndc.get_result" line 4)
invoked from within