powered by Jive Software

STUN error since 3.2

This error starts when I start WF since we went to 3.2, now we have 3.2.2:

(en) … Disabling STUN server java.net.BindException: Cannot assign requested address: Cannot bind at java.net.PlainDatagramSocketImpl.bind0(Native Method) at java.net.PlainDatagramSocketImpl.bind(Unknown Source) at java.net.DatagramSocket.bind(Unknown Source) at java.net.DatagramSocket.(XMPPServer.java:148) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown

Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at

org.jivesoftware.wildfire.starter.ServerStarter.start(ServerStarter.java:93)

at

org.jivesoftware.wildfire.starter.ServerStarter.main(ServerStarter.java:49)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.exe4j.runtime.LauncherEngine.launch(Unknown Source) at com.exe4j.runtime.WinLauncher.main(Unknown Source) Wildfire 3.2.2 Admin console listening at

https://harmonieweb.org:9091 Error trying to connect to remote server:

conference.xmpp-arg.scj7jtag.com(DNS lookup:

conference.xmpp-arg.scj7jtag.com:5269) java.net.UnknownHostException:

conference.xmpp-arg.scj7jtag.com at

java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at

org.jivesoftware.wildfire.session.OutgoingServerSession.createOutgoingSession(Ou tgoingServerSession.java:253)

at

org.jivesoftware.wildfire.session.OutgoingServerSession.authenticateDomain(Outgo ingServerSession.java:142)

at

org.jivesoftware.wildfire.server.OutgoingSessionPromise$PacketsProcessor.sendPac ket(OutgoingSessionPromise.java:199)

at

org.jivesoftware.wildfire.server.OutgoingSessionPromise$PacketsProcessor.run(Out goingSessionPromise.java:184)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown

Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown

Source) at java.lang.Thread.run(Unknown Source) Error trying to connect to remote server: conference.xmpp-mia.msa.com(DNS lookup:

conference.xmpp-mia.msa.com:5269) java.net.UnknownHostException:

conference.xmpp-mia.msa.com at java.net.PlainSocketImpl.connect(Unknown

Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at

org.jivesoftware.wildfire.session.OutgoingServerSession.createOutgoingSession(Ou tgoingServerSession.java:253)

at

org.jivesoftware.wildfire.session.OutgoingServerSession.authenticateDomain(Outgo ingServerSession.java:142)

at

org.jivesoftware.wildfire.server.OutgoingSessionPromise$PacketsProcessor.sendPac ket(OutgoingSessionPromise.java:199)

at

org.jivesoftware.wildfire.server.OutgoingSessionPromise$PacketsProcessor.run(Out goingSessionPromise.java:184)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown

Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown

Source) at java.lang.Thread.run(Unknown Source) Error trying to connect to remote server: xmpp-arg.scj7jtag.com(DNS lookup:

xmpp-arg.scj7jtag.com:5269) java.net.UnknownHostException:

xmpp-arg.scj7jtag.com at java.net.PlainSocketImpl.connect(Unknown

Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at

org.jivesoftware.wildfire.session.OutgoingServerSession.createOutgoingSession(Ou tgoingServerSession.java:253)

at

org.jivesoftware.wildfire.session.OutgoingServerSession.authenticateDomain(Outgo ingServerSession.java:184)

at

org.jivesoftware.wildfire.server.OutgoingSessionPromise$PacketsProcessor.sendPac ket(OutgoingSessionPromise.java:199)

at

org.jivesoftware.wildfire.server.OutgoingSessionPromise$PacketsProcessor.run(Out goingSessionPromise.java:184)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown

Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown

Source) at java.lang.Thread.run(Unknown Source) Error trying to connect to remote server: xmpp-mia.msa.com(DNS lookup: xmpp-mia.msa.com:5269)

java.net.UnknownHostException: xmpp-mia.msa.com at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at

org.jivesoftware.wildfire.session.OutgoingServerSession.createOutgoingSession(Ou tgoingServerSession.java:253)

at

org.jivesoftware.wildfire.session.OutgoingServerSession.authenticateDomain(Outgo ingServerSession.java:184)

at

org.jivesoftware.wildfire.server.OutgoingSessionPromise$PacketsProcessor.sendPac ket(OutgoingSessionPromise.java:199)

at

org.jivesoftware.wildfire.server.OutgoingSessionPromise$PacketsProcessor.run(Out goingSessionPromise.java:184)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown

Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown

Source) at java.lang.Thread.run(Unknown Source) Error trying to connect to remote server: scj7jtag.com(DNS lookup: scj7jtag.com:5269)

java.net.UnknownHostException: scj7jtag.com at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at

org.jivesoftware.wildfire.session.OutgoingServerSession.createOutgoingSession(Ou tgoingServerSession.java:253)

at

org.jivesoftware.wildfire.session.OutgoingServerSession.authenticateDomain(Outgo ingServerSession.java:184)

at

org.jivesoftware.wildfire.server.OutgoingSessionPromise$PacketsProcessor.sendPac ket(OutgoingSessionPromise.java:199)

at

org.jivesoftware.wildfire.server.OutgoingSessionPromise$PacketsProcessor.run(Out goingSessionPromise.java:184)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown

Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown

Source) at java.lang.Thread.run(Unknown Source) Error trying to connect to remote server: msa.com(DNS lookup: msa.com:5269)

java.net.SocketTimeoutException: connect timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at

org.jivesoftware.wildfire.session.OutgoingServerSession.createOutgoingSession(Ou tgoingServerSession.java:253)

at

org.jivesoftware.wildfire.session.OutgoingServerSession.authenticateDomain(Outgo ingServerSession.java:184)

at

org.jivesoftware.wildfire.server.OutgoingSessionPromise$PacketsProcessor.sendPac ket(OutgoingSessionPromise.java:199)

at

org.jivesoftware.wildfire.server.OutgoingSessionPromise$PacketsProcessor.run(Out goingSessionPromise.java:184)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown

Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown

Source) at java.lang.Thread.run(Unknown Source)

more info:

…this did not happen with 3.1.1, only when we put 3.2 on, then that had a problem with https, so we went to 3.2.1 and now 3.2.2, still have the problem, my guess is the stun does not find the full fqdn, chat.harmonieweb.org, just harmonieweb.org. When I click on enable stun server, it says it can’‘t start and turns of the enable button. I get the error I’'m about to paste when you start WF

Disabling STUN server java.net.BindException: Cannot assign requested address: Cannot bind at java.net.PlainDatagramSocketImpl.bind0(Native Method) at java.net.PlainDatagramSocketImpl.bind(Unknown Source) at java.net.DatagramSocket.bind(Unknown Source) at java.net.DatagramSocket.(XMPPServer.java:148) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown

Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at

org.jivesoftware.wildfire.starter.ServerStarter.start(ServerStarter.java:93)

at

org.jivesoftware.wildfire.starter.ServerStarter.main(ServerStarter.java:49)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.exe4j.runtime.LauncherEngine.launch(Unknown)

Just this first part is related to STUN.

And seems like WF cannot bind two IPs and two port in your server.

Regards,

Thiago

Check if you have a local IP in your WF server.

If you dont have, so you have a NAT in front of your WF, so STUN MUST NOT work.

If you have it, send me your settings and your network IPs in that machine so I can check.

Regards,

Thiago

I Have the same problem with version 3.2.

In my case, when i work with the default wildfire.xml the server starts-up fine. yet, when i change this wildfire.xml to work with my own database the wildfire bring the same BindException. the same file worked well with version 3.1.

Will be grateful for any help

Matias.

Hey Randy,

Are you trying to use STUN and it doesn’'t work? Or the problem is that https://[your_server]:9091 is no longer working? If the latter then check your log files for related errors or warnings. Make sure that your keystore has an RSA certificate. Note that as of Wildfire 3.2.* the bundled keystore does no longer provide dummy self-signed certificates and that they are create after the setup process has been completed or they were created from the admin console. So if you just replaced your [wildfire home]/resources/security/keystore file with the bundled one then you will need to create new certificates.

Regards,

– Gato