-
How did you start the server (were you restarting)?
I don't know if the server works anyway correctly in this situation
The server itself should work just fine, but it wouldn't be accessible on the problematic port. You can execute
lsof -iTCP -sTCP:LISTEN -Pn
to see which ports are being listened on. -
excerpts from the config:
bosh { seeOtherHost (class: none) {} } c2s { connections { 5222 { 'new-connections-throttling' = 2000L } } seeOtherHost (class: none) {} 'urn:xmpp:sm:3' () { active = true } } ws2s { connections { ports = [ 5290, 5291 ] 5291 { socket = 'ssl' type = 'accept' } } seeOtherHost (class: none) {} 'urn:xmpp:sm:3' { active = true } }
@hantu85 do you think that reconfiguring CM beans to apply the configuration could cause such behaviour?
-
Yes, it could as port
5291
is listed "twice", once in theports
property and also in as a separate entry.I would suggest to change this part of the config to look like the following one:
bosh { seeOtherHost (class: none) {} } c2s { connections { 5222 { 'new-connections-throttling' = 2000L } } seeOtherHost (class: none) {} 'urn:xmpp:sm:3' () { active = true } } ws2s { connections { 5291 () { socket = 'ssl' type = 'accept' } } seeOtherHost (class: none) {} 'urn:xmpp:sm:3' { active = true } }
We can skip
ports
section as port5290
is enabled by default and we want just to enable and configure port5291
.
Describe the bug Sometimes at the startup I see in the logs:
To Reproduce It doesn't happens always, there is only one instance of tigase in the virtual machine and that port is not bound by any other process
Impact I don't know if the server works anyway correctly in this situation
Expected behavior No warning at startup
Details (please complete the following information):