I investigated http://track.sipfoundry.org/browse/XX-5723 - DNS server
on master is not reloaded after a redundant proxy is added
and http://track.sipfoundry.org/browse/XX-5740 - HA : services with
registered distributor server does not start untill the profile is sent
for second time.
These issues are marked as duplicates.
The scenario followed in XX-5740 has some steps reversed: in a HA
config, sending profiles must be done after the secondary server is
added and running, not before.
Sending profiles before adding the server fails with
"java.net.ConnectException: Connection refused".
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:352)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:214)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:201)
at java.net.Socket.connect(Socket.java:530)
at java.net.Socket.connect(Socket.java:480)
at sun.net.NetworkClient.doConnect(NetworkClient.java:169)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:406)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:541)
at com.ibm.net.ssl.www2.protocol.https.c.<init>(c.java:95)
at com.ibm.net.ssl.www2.protocol.https.c.a(c.java:44)
at com.ibm.net.ssl.www2.protocol.https.d.getNewHttpClient(d.java:22)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:724)
at com.ibm.net.ssl.www2.protocol.https.d.connect(d.java:58)
at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:827)
at com.ibm.net.ssl.www2.protocol.https.b.getOutputStream(b.java:79)
at
org.apache.xmlrpc.DefaultXmlRpcTransport.sendXmlRpc(DefaultXmlRpcTransport.java:83)
at
org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:71)
at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:193)
at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:184)
at
org.sipfoundry.sipxconfig.xmlrpc.XmlRpcClientInterceptor$1.call(Unknown
Source)
On the other hand, I tried to reproduce XX-5723 but I didn't manage.
Looking in the logs I found:
java.net.UnknownHostException: moon.qantom.int
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:196)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:368)
at java.net.Socket.connect(Socket.java:526)
at java.net.Socket.connect(Socket.java:476)
at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:407)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:542)
at com.ibm.net.ssl.www2.protocol.https.c.<init>(c.java:67)
at com.ibm.net.ssl.www2.protocol.https.c.a(c.java:87)
at com.ibm.net.ssl.www2.protocol.https.d.getNewHttpClient(d.java:31)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:799)
at com.ibm.net.ssl.www2.protocol.https.d.connect(d.java:55)
at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:902)
at com.ibm.net.ssl.www2.protocol.https.b.getOutputStream(b.java:86)
at
org.apache.xmlrpc.DefaultXmlRpcTransport.sendXmlRpc(DefaultXmlRpcTransport.java:83)
at
org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:71)
at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:193)
at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:184)
at
org.sipfoundry.sipxconfig.xmlrpc.XmlRpcClientInterceptor$1.call(Unknown
Source)
On my system, all the configuration files are replicated ok and all
services for secondary server are in 'running' state after sending profiles.
I assume XX-5723 is having the same root cause as XX-5740 (sending
profiles before adding the secondary server).
Any different opinion on this one?
If not, I will return the issue and ask to be retested by adding the
secondary first and then sending profiles.
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/