RuntimeException - invalid encoding of event error

All around Zimbra Chat, give us your feedback, questions and ideas
Post Reply
olegsher
Posts: 1
Joined: Sun Dec 09, 2018 9:28 am

RuntimeException - invalid encoding of event error

Post by olegsher »

Good afternoon.

We use chat service in Zimbra. In general it works normally but I get a lot of error messages in the log about invalid encoding. The messages like below appears in the log literally every 5-6 seconds and just floods the log file.
How can I fix this error or at least stop logging about this error.

Thank you in advance!

Code: Select all

2018-12-09 09:26:26,453 FATAL [qtp66233253-880:https:https://mail.test.net/service/soap/ZxChatRequest] [name=ivan@test.net;mid=443;ip=12.12.12.12;port=53184;ua=ZimbraWebClient - FF63 (Linux)/8.8.10_GA_3041;soapId=16b3467e;] extensions - java.lang.RuntimeException: invalid encoding of event com.zextras.modules.chat.server.events.EventDiscovery
        at com.zextras.modules.chat.server.soap.encoders.SoapEncoderFactoryImpl.fail (SoapEncoderFactoryImpl.java:269)
        at com.zextras.modules.chat.server.soap.encoders.SoapEncoderFactoryImpl.interpret (SoapEncoderFactoryImpl.java:231)
        at com.zextras.modules.chat.server.soap.encoders.SoapEncoderFactoryImpl.interpret (SoapEncoderFactoryImpl.java:30)
        at com.zextras.modules.chat.server.events.EventDiscovery.interpret (EventDiscovery.java:103)
        at com.zextras.modules.chat.server.listener.PingEventQueueListener.encodeEvents (PingEventQueueListener.java:209)
        at com.zextras.modules.chat.server.operations.SoapStartPing.exec (SoapStartPing.java:89)
        at com.zextras.modules.chat.server.events.EventManager.execOperations (EventManager.java:72)
        at com.zextras.modules.chat.server.soap.InitialSoapRequestHandler.handleRequest (InitialSoapRequestHandler.java:164)
        at com.zextras.modules.chat.server.soap.ChatSoapHandler.handleRequest (ChatSoapHandler.java:78)
        at org.openzal.zal.soap.InternalDocumentHelper.handle (InternalDocumentHelper.java:75)
        at org.openzal.zal.soap.InternalDocumentHandler.handle (InternalDocumentHandler.java:42)
        at com.zimbra.soap.SoapEngine.dispatchRequest (SoapEngine.java:646)
        at com.zimbra.soap.SoapEngine.dispatch (SoapEngine.java:491)
        at com.zimbra.soap.SoapEngine.dispatch (SoapEngine.java:278)
        at com.zimbra.soap.SoapServlet.doWork (SoapServlet.java:307)
        at com.zimbra.soap.SoapServlet.doPost (SoapServlet.java:216)
        at javax.servlet.http.HttpServlet.service (HttpServlet.java:707)
        at com.zimbra.cs.servlet.ZimbraServlet.service (ZimbraServlet.java:211)
        at javax.servlet.http.HttpServlet.service (HttpServlet.java:790)
        at org.eclipse.jetty.servlet.ServletHolder.handle (ServletHolder.java:821)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1685)
        at com.zimbra.cs.servlet.CsrfFilter.doFilter (CsrfFilter.java:169)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1668)
        at com.zimbra.cs.servlet.RequestStringFilter.doFilter (RequestStringFilter.java:54)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1668)
        at com.zimbra.cs.servlet.SetHeaderFilter.doFilter (SetHeaderFilter.java:59)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1668)
        at com.zimbra.cs.servlet.ETagHeaderFilter.doFilter (ETagHeaderFilter.java:47)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1668)
        at com.zimbra.cs.servlet.ContextPathBasedThreadPoolBalancerFilter.doFilter (ContextPathBasedThreadPoolBalancerFilter.java:107)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1668)
        at com.zimbra.cs.servlet.ZimbraQoSFilter.doFilter (ZimbraQoSFilter.java:125)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1668)
        at com.zimbra.cs.servlet.ZimbraInvalidLoginFilter.doFilter (ZimbraInvalidLoginFilter.java:117)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1668)
        at org.eclipse.jetty.servlets.DoSFilter.doFilterChain (DoSFilter.java:473)
        at org.eclipse.jetty.servlets.DoSFilter.doFilter (DoSFilter.java:318)
        at org.eclipse.jetty.servlets.DoSFilter.doFilter (DoSFilter.java:288)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1668)
        at org.eclipse.jetty.servlet.ServletHandler.doHandle (ServletHandler.java:581)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle (ScopedHandler.java:143)
        at org.eclipse.jetty.security.SecurityHandler.handle (SecurityHandler.java:524)
        at org.eclipse.jetty.server.session.SessionHandler.doHandle (SessionHandler.java:226)
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle (ContextHandler.java:1158)
        at org.eclipse.jetty.servlet.ServletHandler.doScope (ServletHandler.java:511)
        at org.eclipse.jetty.server.session.SessionHandler.doScope (SessionHandler.java:185)
        at org.eclipse.jetty.server.handler.ContextHandler.doScope (ContextHandler.java:1090)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle (ScopedHandler.java:141)
        at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle (ContextHandlerCollection.java:213)
        at org.eclipse.jetty.server.handler.HandlerCollection.handle (HandlerCollection.java:109)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle (HandlerWrapper.java:119)
        at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle (RewriteHandler.java:318)
        at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle (GzipHandler.java:437)
        at org.eclipse.jetty.server.handler.DebugHandler.handle (DebugHandler.java:84)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle (HandlerWrapper.java:119)
        at org.eclipse.jetty.server.Server.handle (Server.java:517)
        at org.eclipse.jetty.server.HttpChannel.handle (HttpChannel.java:306)
        at org.eclipse.jetty.server.HttpConnection.onFillable (HttpConnection.java:242)
        at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded (AbstractConnection.java:261)
        at org.eclipse.jetty.io.FillInterest.fillable (FillInterest.java:95)
        at org.eclipse.jetty.io.ssl.SslConnection.onFillable (SslConnection.java:192)
        at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded (AbstractConnection.java:261)
        at org.eclipse.jetty.io.FillInterest.fillable (FillInterest.java:95)
        at org.eclipse.jetty.io.SelectChannelEndPoint$2.run (SelectChannelEndPoint.java:75)
        at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun (ExecuteProduceConsume.java:213)
        at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run (ExecuteProduceConsume.java:147)
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob (QueuedThreadPool.java:654)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run (QueuedThreadPool.java:572)
        at java.lang.Thread.run (Thread.java:748)
nekihrvoje
Posts: 3
Joined: Tue Dec 18, 2018 10:53 am

Re: RuntimeException - invalid encoding of event error

Post by nekihrvoje »

Hi,
we are also having problems with chat after 8.8.8 => 8.8.10.
In web client all our chat contacts have disappeared and you can't add any contacts. It only works with pidgin. Thunderbird keeps disconnecting.

Code: Select all

  2018-12-18 11:48:50,726 FATAL [qtp1286783232-149:https:https://webmail.test.com/service/soap/ZxChatRequest] [name=hrvoje@test.com;mid=9;ip=192.168.122.181;port=39190;ua=ZimbraWebClient - GC70 (Linux)/8.8.10_GA_3041;soapId=61cf931a;] extensions - java.lang.RuntimeException: invalid encoding of event com.zextras.modules.chat.server.events.EventDiscovery
Can we expect this to be fixed in any time soon or do we need to search for alternatives? There are 300 views from Dec 09 and no answers.
nekihrvoje
Posts: 3
Joined: Tue Dec 18, 2018 10:53 am

Re: RuntimeException - invalid encoding of event error

Post by nekihrvoje »

Updated to 8.8.11.
Now we don't get the

Code: Select all

java.lang.RuntimeException: invalid encoding of event com.zextras.modules.chat.server.events.EventDiscovery
but the log is full of:

Code: Select all

 INFO  [nioEventLoopGroup-6-7] [] extensions - Closed XMPP connection of user test.user@test.com
and xmpp clients keep disconnecting.
nekihrvoje
Posts: 3
Joined: Tue Dec 18, 2018 10:53 am

Re: RuntimeException - invalid encoding of event error

Post by nekihrvoje »

Applied all the patches, undeployed/deployed chat zimlet & updated zimlet.
The problem still persists.
Is there any solution?
Will this be fixed?
phoenix
Ambassador
Ambassador
Posts: 27262
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: RuntimeException - invalid encoding of event error

Post by phoenix »

nekihrvoje wrote:Will this be fixed?
Not unless there's a bug report filed but then Zimbra no longer takes any notice of bug reports filed by the Open Source Community (i.e. The people that do the QA and bug finding for Zimbra).
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
Post Reply