powered by Jive Software

"Your connection was closed due to an error."

We are having an issue with everybody getting dropped from the server with “Your connection was closed due to an error.” in red being printed in their active conversation windows. There are no corresponding errors on the server.

It was happening at least half a dozen times a day after the original deployment of the server, then it gradually stopped. Two days ago I have attempted to add a VeriSign certificate (once again unsuccessfully, as per this thread) and after that the disconnects started happening again, up to dozen times a day.

Server information:

Version:

Openfire 3.3.2

Server Home:

C:\Program Files\Openfire

Environment

JVM Version and Vendor:

1.6.0_01 Sun Microsystems Inc. – Java HotSpot™ Server VM

Appserver:

jetty-6.1.x

OS / Hardware:

Windows 2003 / x86

Locale / Timezone:

en / Pacific Standard Time (-8 GMT)

We’re using LDAP for authentication.

Any help will be greatly appreciated - this is getting to the point where the project might get canned in favor of MS Office Communicator if we can’t show a setup reliable enough to justify going with the Enterprise OpenFire deployment.

So a couple things I’ll need to investigate this issue.

  1. Could you supply the error logs from Spark (Help | View Logs)

  2. Could you clear your error logs from the server and run till you hit that error. Then paste the error logs here.

Thank You,

Derek

Thank you for the suggestion ddman, and I will definately do just that as soon as I replicate the problem - just like I said in my last post, the problem has cleared itself up gradually. It isn’t happening anymore, however I do suspect that as soon as I try to add/regenerate the SSL certificates again - the issue will come back. Since I’m in the middle of trying to add Verisign certifictes to the server, I’m sure it won’t take long before I can get you the logs again.

Hi,

if are you using compression within Spark you should try to disable it.

LG

I am getting this error too, on a brand new install. Happens intermittently for all users.

The error in the client is always to do with setting or getting presence information.

04-Dec-2007 15:26:54 org.jivesoftware.spark.util.log.Log error

SEVERE: Could not stop flashing because null

java.lang.NullPointerException

at org.jivesoftware.spark.PresenceManager.getPresence(PresenceManager.java:97)

at org.jivesoftware.spark.ui.SparkTabHandler.decorateStaleTab(SparkTabHandler.java :40)

at org.jivesoftware.spark.decorator.DefaultTabHandler.isTabHandled(DefaultTabHandl er.java:77)

at org.jivesoftware.spark.ChatManager.notifySparkTabHandlers(ChatManager.java:780)

at org.jivesoftware.spark.ui.ChatContainer$15.run(ChatContainer.java:985)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

04-Dec-2007 15:27:01 org.jivesoftware.spark.util.log.Log error

SEVERE: Could not stop flashing because null

java.lang.NullPointerException

at org.jivesoftware.spark.PresenceManager.getPresence(PresenceManager.java:97)

at org.jivesoftware.spark.ui.SparkTabHandler.decorateStaleTab(SparkTabHandler.java :40)

at org.jivesoftware.spark.decorator.DefaultTabHandler.isTabHandled(DefaultTabHandl er.java:77)

at org.jivesoftware.spark.ChatManager.notifySparkTabHandlers(ChatManager.java:780)

at org.jivesoftware.spark.ui.ChatContainer$15.run(ChatContainer.java:985)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

04-Dec-2007 16:33:22 org.jivesoftware.spark.util.log.Log error

SEVERE:

java.lang.NullPointerException

at org.jivesoftware.spark.ui.ContactList.updateUserPresence(ContactList.java:277)

at org.jivesoftware.spark.ui.ContactList.access$700(ContactList.java:98)

at org.jivesoftware.spark.ui.ContactList$19$4$1.run(ContactList.java:1679)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

04-Dec-2007 16:50:56 org.jivesoftware.spark.util.log.Log error

SEVERE: Could not stop flashing because null

java.lang.NullPointerException

at org.jivesoftware.spark.PresenceManager.getPresence(PresenceManager.java:97)

at org.jivesoftware.spark.decorator.DefaultTabHandler.isTabHandled(DefaultTabHandl er.java:52)

at org.jivesoftware.spark.ChatManager.notifySparkTabHandlers(ChatManager.java:780)

at org.jivesoftware.spark.ui.ChatContainer$15.run(ChatContainer.java:985)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

It goes on like that, happens once every 10 minutes or so!

I have disabled SSL and I hope this fixes, if not I will paste server logs as well.

It did not fix it, neither did disabling the ldap vcard avatar plugin. There is no corresponding error in the server logs - however it happens to the clients at about the same time, implying it is triggered by the sever somehow. Interestingly, we have had no reports of disconnection from someone using Pidgin to access Openfire so it does seem to be an Openfire -> Spark problem.

Any help on this would be greatly appreciated and if we could get this going we would definitely consider the enterprise version.

Cheers,

Seb

Very special circumstances I realize, but every data point may help.

I’m seeing the same error:

Spark Client 2.5.8

Connecting to ZImbra XMPP server (I was told it’s Wildfire, but do not know what version).

  • There is rarely a corresponding erro log in the Spark Client, none for today and it’s ha[[ened at least 10 tims so far.
  • I can see auth requests on the Zimbra side, but I do not see any errors reproted there.
  • It happens frequently, about every 10 minutes or so (and that’s reflected in the zimbra log file as well).
  • I do not get disconnected form our older (3.0.1) Wildfire server, where I can remain logged in all-day long (in the Spark 2.5.8 client) without being disconnected at all. It’s running on a reasonable old server to boot.

I am having the very same issue. Did you resolve this problem?