Jive Software Open Source

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Openfire (ARCHIVED)
  • JM-976

A couple of times a day people can't login and the service won't stop without ending the task.

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 3.2.0
  • Fix Version/s: 3.2.1
  • Component/s: None
  • Labels:
    None
  • Environment:

    Windows Server 2003 SP1
    Intel Pentium III Xeon 550Mhz 2.0 GB Ram

  • Acceptance Test - Add?:
    No

Description

Ever since we upgraded to version 3.2 a couple of times a day I have to stop the service (it won't stop on it's own so I have to end the task) and restart it again. The behavior is that people start to not see each other online and then they try to log out and log back in and it won't let them back in.

There are a lot of errors like this in the error.log


2007.02.14 12:29:29 [org.jivesoftware.wildfire.interceptor.InterceptorManager.invokeInterceptors(InterceptorManager.java:239)
] Error in interceptor
java.lang.NullPointerException
at org.jivesoftware.wildfire.audit.spi.AuditorImpl$AuditPacket.<init>(AuditorImpl.java:384)
at org.jivesoftware.wildfire.audit.spi.AuditorImpl.writePacket(AuditorImpl.java:140)
at org.jivesoftware.wildfire.audit.spi.AuditorImpl.audit(AuditorImpl.java:121)
at org.jivesoftware.wildfire.audit.spi.AuditManagerImpl$AuditorInterceptor.interceptPacket(AuditManagerImpl.java:281)
at org.jivesoftware.wildfire.interceptor.InterceptorManager.invokeInterceptors(InterceptorManager.java:227)
at org.jivesoftware.wildfire.MessageRouter.route(MessageRouter.java:72)
at org.jivesoftware.wildfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:71)
at org.jivesoftware.wildfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:53)
at org.jivesoftware.wildfire.component.InternalComponentManager.sendPacket(InternalComponentManager.java:186)
at org.jivesoftware.wildfire.gateway.BaseTransport.sendPacket(BaseTransport.java:1464)
at org.jivesoftware.wildfire.gateway.BaseTransport.sendComposingNotification(BaseTransport.java:1523)
at org.jivesoftware.wildfire.gateway.protocols.oscar.BasicFlapConnection.handleSnacPacket(BasicFlapConnection.java:176)
at org.jivesoftware.wildfire.gateway.protocols.oscar.BOSConnection.handleSnacPacket(BOSConnection.java:65)
at org.jivesoftware.wildfire.gateway.protocols.oscar.BaseFlapConnection$4.handleSnacPacket(BaseFlapConnection.java:66)
at net.kano.joscar.snac.AbstractSnacProcessor.processPacket(AbstractSnacProcessor.java:474)
at net.kano.joscar.snac.AbstractSnacProcessor.access$100(AbstractSnacProcessor.java:134)
at net.kano.joscar.snac.AbstractSnacProcessor$1.handlePacket(AbstractSnacProcessor.java:208)
at net.kano.joscar.flap.AbstractFlapProcessor.processPacketSynchronously(AbstractFlapProcessor.java:231)
at net.kano.joscar.flap.AsynchronousFlapProcessor$BackgroundPacketProcessor.tryProcessingPackets(AsynchronousFlapProcessor.java:75)
at net.kano.joscar.flap.AsynchronousFlapProcessor$BackgroundPacketProcessor.run(AsynchronousFlapProcessor.java:63)
at java.lang.Thread.run(Unknown Source)


Also at the very end was this one


2007.02.14 15:03:15 [org.jivesoftware.wildfire.session.OutgoingServerSession.createOutgoingSession(OutgoingServerSession.java:338)
] Error creating secured outgoing session to remote server: msn.dsdemail.com(DNS lookup: msn.dsdemail.com:5269)
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at com.sun.net.ssl.internal.ssl.EngineInputRecord.bytesInCompletePacket(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.readNetRecord(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.unwrap(Unknown Source)
at javax.net.ssl.SSLEngine.unwrap(Unknown Source)
at org.jivesoftware.wildfire.net.TLSStreamHandler.doHandshake(TLSStreamHandler.java:211)
at org.jivesoftware.wildfire.net.TLSStreamHandler.start(TLSStreamHandler.java:157)
at org.jivesoftware.wildfire.net.SocketConnection.startTLS(SocketConnection.java:164)
at org.jivesoftware.wildfire.session.OutgoingServerSession.secureAndAuthenticate(OutgoingServerSession.java:366)
at org.jivesoftware.wildfire.session.OutgoingServerSession.createOutgoingSession(OutgoingServerSession.java:302)
at org.jivesoftware.wildfire.session.OutgoingServerSession.authenticateDomain(OutgoingServerSession.java:142)
at org.jivesoftware.wildfire.server.OutgoingSessionPromise$PacketsProcessor.sendPacket(OutgoingSessionPromise.java:199)
at org.jivesoftware.wildfire.server.OutgoingSessionPromise$PacketsProcessor.run(OutgoingSessionPromise.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)


Issue Links

is related to

Bug - A problem which impairs or prevents the functions of the product. JM-979 Fix NPE when auditing message received from legacy network

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Source
  • Reviews
  • Builds
Hide
Permalink
Gaston Dombiak added a comment - 02/15/07 02:23 AM

Errors are unrelated to subject of issue. First error was fixed and it happens when auditing messages received from the gateway (e.g. ICQ). Second error is related to s2s and indicates that a secured connection was not possible with remote server since remote server rejected server's certificate.

Show
Gaston Dombiak added a comment - 02/15/07 02:23 AM Errors are unrelated to subject of issue. First error was fixed and it happens when auditing messages received from the gateway (e.g. ICQ). Second error is related to s2s and indicates that a secured connection was not possible with remote server since remote server rejected server's certificate.
Hide
Permalink
Nathan Palmer added a comment - 02/15/07 06:32 PM

Hmm.. Any idea where I would look for an indication of what the problem is. The same thing happened this morning. I was already logged in and I could see people. It was reported to me that there were login issues. So I logged out and back in with Spark 2.0.8 and after a while it came back with Invalid username or password. I tried with Pandion and it logged in but I didn't get any presense information from people online. There are people that show up as online in the web admin.

I tried to stop the service which was unsuccessful so I had to end the "wildfire-service.exe" task using Task Manager.

The error.log file is full of that same error which you say is fixed (in 3.2.1.. and we're on 3.2.0)

The warn.log file is full of this.

2007.02.14 19:41:59 Closing session due to incorrect hostname in stream header. Host: msn.dsdemail.com. Connection: org.jivesoftware.wildfire.net.SocketConnection@bc780e socket: Socket[addr=/10.1.1.23,port=20434,localport=5269] session: null

Show
Nathan Palmer added a comment - 02/15/07 06:32 PM Hmm.. Any idea where I would look for an indication of what the problem is. The same thing happened this morning. I was already logged in and I could see people. It was reported to me that there were login issues. So I logged out and back in with Spark 2.0.8 and after a while it came back with Invalid username or password. I tried with Pandion and it logged in but I didn't get any presense information from people online. There are people that show up as online in the web admin. I tried to stop the service which was unsuccessful so I had to end the "wildfire-service.exe" task using Task Manager. The error.log file is full of that same error which you say is fixed (in 3.2.1.. and we're on 3.2.0) The warn.log file is full of this. 2007.02.14 19:41:59 Closing session due to incorrect hostname in stream header. Host: msn.dsdemail.com. Connection: org.jivesoftware.wildfire.net.SocketConnection@bc780e socket: Socket[addr=/10.1.1.23,port=20434,localport=5269] session: null
Hide
Permalink
Nathan Palmer added a comment - 02/15/07 11:32 PM

It happened again.

The only thing that I can think of that this problem could be related to is the IM Gateway plugin. It's the only plugin that we are using other than the ones that get installed by default. I have removed it and we'll see how it goes from here.

Show
Nathan Palmer added a comment - 02/15/07 11:32 PM It happened again. The only thing that I can think of that this problem could be related to is the IM Gateway plugin. It's the only plugin that we are using other than the ones that get installed by default. I have removed it and we'll see how it goes from here.
Hide
Permalink
Stephane Bonnell added a comment - 02/16/07 04:05 PM

Hi,

I have exactly the same problem on my server running under Linux Gentoo.
It shouldn't be related to IM gateway plugin since I am not using them. I am using external python transports.
It shouldn't be related to heavy duty also, since I am the only user (even if connected 2 times) on the server .

Show
Stephane Bonnell added a comment - 02/16/07 04:05 PM Hi, I have exactly the same problem on my server running under Linux Gentoo. It shouldn't be related to IM gateway plugin since I am not using them. I am using external python transports. It shouldn't be related to heavy duty also, since I am the only user (even if connected 2 times) on the server .
Hide
Permalink
Gaston Dombiak added a comment - 02/16/07 05:59 PM

Is any of your clients using the old ssl method (port 5223)? JM-970 was reported and fix.

Show
Gaston Dombiak added a comment - 02/16/07 05:59 PM Is any of your clients using the old ssl method (port 5223)? JM-970 was reported and fix.
Hide
Permalink
Nathan Palmer added a comment - 02/16/07 06:27 PM

Yes, most of us are because of this issue: http://www.igniterealtime.org/forum/thread.jspa?threadID=24518&tstart=0

I noticed that 2.3.1 was released today and it did it again this morning so I am going to upgrade.

Show
Nathan Palmer added a comment - 02/16/07 06:27 PM Yes, most of us are because of this issue: http://www.igniterealtime.org/forum/thread.jspa?threadID=24518&tstart=0 I noticed that 2.3.1 was released today and it did it again this morning so I am going to upgrade.
Hide
Permalink
Nathan Palmer added a comment - 02/19/07 06:16 PM

It looks like this might be fixed now by upgrading to 2.3.1. I has lasted all through the 16th, 17th, 18th and now it's the morning of the 19th. Before I had to stop and restart the service 2 times per day.

Show
Nathan Palmer added a comment - 02/19/07 06:16 PM It looks like this might be fixed now by upgrading to 2.3.1. I has lasted all through the 16th, 17th, 18th and now it's the morning of the 19th. Before I had to stop and restart the service 2 times per day.
Hide
Permalink
Nathan Palmer added a comment - 02/20/07 05:44 PM

Upgrading to 3.2.1 has fixed my issue. Stephanie if you are working on 3.2.0 I would suggest upgrading to 3.2.1 or greater to see if it solves your problem.

Show
Nathan Palmer added a comment - 02/20/07 05:44 PM Upgrading to 3.2.1 has fixed my issue. Stephanie if you are working on 3.2.0 I would suggest upgrading to 3.2.1 or greater to see if it solves your problem.
Hide
Permalink
Stephane Bonnell added a comment - 02/20/07 08:20 PM

I am trying to. But for the moment the gentoo ebuild is not working (some glitches on my system)...
For the moment I changed the way my clients connects to net use old SSL methode and use only new TLS.

PS: this is Stephane (a guy) without any "i"

Show
Stephane Bonnell added a comment - 02/20/07 08:20 PM I am trying to. But for the moment the gentoo ebuild is not working (some glitches on my system)... For the moment I changed the way my clients connects to net use old SSL methode and use only new TLS. PS: this is Stephane (a guy) without any "i"

People

  • Assignee:
    Gaston Dombiak
    Reporter:
    Nathan Palmer
Vote (1)
Watch (1)

Dates

  • Created:
    02/15/07 12:16 AM
    Updated:
    02/20/07 08:20 PM
    Resolved:
    02/20/07 05:44 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for igniterealtime.org. Try JIRA - bug tracking software for your team.