powered by Jive Software

Invalid name or server not reachable from client

Hi,

I have issue in connecting spark client from project to openfire 3.9.1, following issue logged in log file.

WARNING: Exception in Login:

XMPPError connecting to domainname:5222.: remote-server-error(502) XMPPError connecting to domainname:5222.

ā€“ caused by: java.net.ConnectException: Connection refused: connect

at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection. java:524)

at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:953)

at org.jivesoftware.LoginDialog$LoginPanel.login(LoginDialog.java:938)

at org.jivesoftware.LoginDialog$LoginPanel.access$400(LoginDialog.java:232)

at org.jivesoftware.LoginDialog$LoginPanel$1.construct(LoginDialog.java:666)

at org.jivesoftware.spark.util.SwingWorker$2.run(SwingWorker.java:141)

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

Nested Exception:

java.net.ConnectException: Connection refused: connect

at java.net.DualStackPlainSocketImpl.connect0(Native Method)

at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)

at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)

at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)

at java.net.AbstractPlainSocketImpl.connect(Unknown Source)

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

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

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

at org.jivesoftware.smack.proxy.DirectSocketFactory.createSocket(DirectSocketFacto ry.java:28)

at org.jivesoftware.smack.XMPPConnection.connectUsingConfiguration(XMPPConnection. java:512)

at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:953)

at org.jivesoftware.LoginDialog$LoginPanel.login(LoginDialog.java:938)

at org.jivesoftware.LoginDialog$LoginPanel.access$400(LoginDialog.java:232)

at org.jivesoftware.LoginDialog$LoginPanel$1.construct(LoginDialog.java:666)

at org.jivesoftware.spark.util.SwingWorker$2.run(SwingWorker.java:141)

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

Any support