Arjun Nair wrote:
Damian Krzeminski wrote:
Damian Krzeminski wrote:
Please check this out:
<http://permalink.gmane.org/gmane.comp.voip.sipx.devel/17391>
Laurentiu sees other XML/RPC methods - related to replication - work
correctly: which seems to rule out at least some cert configuration problems.
Do we use stricter authentication for this method?
Other ideas?
Please respond on the list if you can think of something.
D.
Anybody else has any ideas on that?
D.
"2009-07-02T12:17:12.647000Z":15:JAVA:INFO:harkonen.itcnetworks.ro:pool-2-thread-1:00000000:XmlRpcClientInterceptor:"XML/RPC
SwAdminRpc.exec with [moon.itcnetworks.ro, update] on https://moon.itcnetworks.ro:8092/RPC2"
>From the logs it looks like your primary server is "harkonen.itcnetworks.ro" and your
secondary is "moon.itcnetworks.ro". Is that right?
Yes, it is right.
Can you try calling SwAdminRpc.exec with the host name "harkonen.itcnetworks.ro" instead
of "moon.itcnetworks.ro".. From the sipXsupervisor side, it looks like either the
connection is not SSL or the host name does not match the name in the peer certificate.
Arjun
So, without HA configuration SwAdminRpc.exec works fine. I was able to
update harkonen.itcnetworks.ro from UI (Software Updates page).
From sipxsupervisor.log:
"2009-07-14T07:08:56.647883Z":478:SIP:INFO:harkonen.itcnetworks.ro:HttpServer-3:B7BEBB90:Supervisor:"HttpServer::processRequest
POST '/RPC2'"
"2009-07-14T07:08:56.647997Z":479:XMLRPC:INFO:harkonen.itcnetworks.ro:HttpServer-3:B7BEBB90:Supervisor:"XmlRpcDispatch::processRequest
requestBody = \n<?xml
version=\"1.0\"?><methodCall><methodName>SwAdminRpc.exec</methodName><params><param><value>harkonen.itcnetworks.ro</value></param><param><value>update</value></param></params></methodCall>"
"2009-07-14T07:08:56.800972Z":480:SUPERVISOR:INFO:harkonen.itcnetworks.ro:HttpServer-3:B7BEBB90:Supervisor:"FileResourceManager::save
FileResource('/var/sipxdata/tmp/update.output')"
"2009-07-14T07:08:56.802360Z":481:SUPERVISOR:INFO:harkonen.itcnetworks.ro:HttpServer-3:B7BEBB90:Supervisor:"FileResourceManager::save
FileResource('/var/sipxdata/tmp/update.err')"
"2009-07-14T07:08:56.803405Z":482:XMLRPC:INFO:harkonen.itcnetworks.ro:HttpServer-3:B7BEBB90:Supervisor:"XmlRpcDispatch::processRequest
method 'SwAdminRpc.exec' response status=OK\n<?xml version=\"1.0\"
encoding=\"UTF-8\"?>\n<methodResponse><!-- SwAdminRpc.exec
-->\n<params>\n<param>\n<value><array><data>\n<value><string>/var/sipxdata/tmp/update.output</string></value>\n<value><string>/var/sipxdata/tmp/update.err</string></value>\n</data></array></value>\n</param>\n</params>\n</methodResponse>"
"2009-07-14T07:08:56.806686Z":483:KERNEL:INFO:harkonen.itcnetworks.ro:HttpServer-3:B7BEBB90:Supervisor:"OsSSLConnectionSocket::close"
"2009-07-14T07:08:56.830938Z":484:KERNEL:INFO:harkonen.itcnetworks.ro:HttpServer-3:B7BEBB90:Supervisor:"OsSSLConnectionSocket::close"
But, please note that in HA configuration replications from send
profiles and snapshot page work fine.
Laurentiu
_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/