Project

General

Profile

see-other-host issue

tao zhong
Added almost 2 years ago

login()

Recv (oid=1516369375): xmpp5.dev,

Received see-other-host=xmpp5.dev

See other host: xmpp5.dev

...

Preparing connection to xmpp5.dev:5222

Opening connection to xmpp5.dev/127.0.53.53:5222;

The IP is incorrect, the file /etc/hosts :

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4

::1 localhost localhost.localdomain localhost6 localhost6.localdomain6

192.168.1.82 xmpp4.dev xmpp4

192.168.1.83 xmpp5.dev xmpp5

192.168.1.84 xmpp6.dev xmpp6

tigase-server etc/init.properties :

--comp-class-1 = tigase.muc.MUCComponent

--virt-hosts = dev

--user-db-uri = jdbc:mysql://192.168.1.243/tigasedb?user=tigase&password=Gt86589089

--user-db = mysql

--admins = admin@dev

--comp-name-4 = message-archive

--comp-name-3 = proxy

config-type = --gen-config-def

--comp-name-2 = pubsub

--comp-name-1 = muc

--cluster-mode = true

--cluster-nodes=xmpp4.dev,xmpp5.dev,xmpp6.dev

--cluster-connect-all = true

--sm-plugins = +message-archive-xep-0136

--debug = server

--comp-class-4 = tigase.archive.MessageArchiveComponent

--comp-class-3 = tigase.socks5.Socks5ProxyComponent

--comp-class-2 = tigase.pubsub.PubSubComponent

--monitoring=jmx:9050

Any suggestion, thanks


Replies (1)

Added by tao zhong almost 2 years ago

Already solved this problem caused by DNSresolver, config tigase-server /etc/hosts

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4

::1 localhost localhost.localdomain localhost6 localhost6.localdomain6

192.168.1.82 192.168.1.82

192.168.1.83 192.168.1.83

192.168.1.84 192.168.1.84

but will the load-balance strategy see-other-host-hashed work under these circumstances?

    (1-1/1)