Project

General

Profile

MUC --external config question

Geoffrey Hamamoto
Added about 5 years ago

We have MUC configured as an external component as follows:

tigase-server init.properties:

--external=muc.company.com:muc-secret:listen:5270:imp-tigase02:accept:ReceiverBareJidLB

muc init.properties:

--external=muc.company.com:muc-secret:connect:5270:company.com;imp-tigase01;imp-tigase02:accept

My question is what is done with the first item in the remote hostname addresses list of the muc.properties? In the example above this is company.com.

We are seeing many log lines like:

2013-11-15 00:25:57 IOService.accept() INFO: Problem connecting to remote host: company.com, address: null, socket: Socket[unconnected] - exception: java.net.NoRouteToHostException: No route to host, session data: {socket=plain, port-no=5270, remote-host=company.com, local-host=muc.company.com, ifc=[Ljava.lang.String;@61128f5a, repo-item=muc.company.com:muc-secret:connect:5270:company.com;imp-tigase01;imp-tigase02:accept:tigase.server.ext.lb.ReceiverBareJidLB, type=connect, max-reconnects=7086012}

Thank you


Replies (1)

Added by Wojciech Kapcia TigaseTeam about 5 years ago

Configuration looks correct; if you specify multiple hosts in the connection string then the first one should be discarded and treated only as a domain name. Which Tigase version are you using exactly?

    (1-1/1)