Problem with software spark

I have the following problem with the software of spark:

Spark 3.0.2
Ignite Realtime
Apache License, Version 2.0
www.igniterealtime.org
Smack Version: 4.4.6 (4.4.6-4.4 2022-06-29)
JRE Version: 1.8.0_202 32-bit:

I share the log of the spark

Jan 14, 2025 8:10:25 AM org.jivesoftware.spark.util.log.Log error
SEVERE: Exception in Login:
org.jivesoftware.smack.SmackException$EndpointConnectionException: The following addresses failed: ‘RFC 6120 A/AAAA Endpoint + [192.168.1.4:5222] (/192.168.1.4:5222)’ failed because: java.net.ConnectException: Connection timed out: connect
** at org.jivesoftware.smack.SmackException$EndpointConnectionException.from(SmackException.java:334)**
** at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectUsingConfiguration(XMPPTCPConnection.java:664)**
** at org.jivesoftware.smack.tcp.XMPPTCPConnection.connectInternal(XMPPTCPConnection.java:849)**
** at org.jivesoftware.smack.AbstractXMPPConnection.connect(AbstractXMPPConnection.java:526)**
** at org.jivesoftware.gui.LoginUIPanel.login(LoginUIPanel.java:1253)**
** at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)**
** at java.util.concurrent.FutureTask.run(Unknown Source)**
** at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)**
** at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)**
** at java.lang.Thread.run(Unknown Source)**

This is a pretty generic network error. It means that the computer on which Spark is running cannot connect to Openfire that’s running on a different server (that seems to be 192.168.1.4).

As an aside: using IP addresses instead of domain names is a brittle configuration. You should use a proper network name instead of an IP address.

1 Like