Page 1 of 2

Read receipt error

Posted: Fri Nov 18, 2016 1:47 am
by buruguduy
Hello guys,

I do have a problem again, this time from a sister company with Zimbra 8.5 OSE installed on Ubuntu 14.04. Recently, they started to utilize the "Read Receipt" Now, I'm bugged with some messages which prompts error "A network service error has occurred." (see 1st and 2nd pop up image attachments).

The error also transends their server and I have experienced the error prompt with our server on another network on another Zimbra install (see read receipt error.gif).

Error is experienced inside their domain as well as outside (my mailbox).

Re: Read receipt error

Posted: Fri Nov 18, 2016 2:11 am
by buruguduy
Received another one. I've copied the error..so this is from my zimbra (old version).

A network service error has occurred.
method: [unknown]
msg: system failure: error while sending read receipt
code: service.FAILURE
detail: soap:Receiver
trace: com.zimbra.common.service.ServiceException: system failure: error while sending read receipt ExceptionId:btpool0-12352://server.oldzimbra.local/service/soap/SendDeliveryReportRequest:1479435029487:5257ba4cf713c187 Code:service.FAILURE at com.zimbra.common.service.ServiceException.FAILURE(ServiceException.java:248) at com.zimbra.cs.service.mail.SendDeliveryReport.sendReport(SendDeliveryReport.java:144) at com.zimbra.cs.service.mail.SendDeliveryReport.handle(SendDeliveryReport.java:75) at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEngine.java:412) at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:287) at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:158) at com.zimbra.soap.SoapServlet.doWork(SoapServlet.java:294) at com.zimbra.soap.SoapServlet.doPost(SoapServlet.java:215) at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) at com.zimbra.cs.servlet.ZimbraServlet.service(ZimbraServlet.java:208) at javax.servlet.http.HttpServlet.service(HttpServlet.java:814) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166) at com.zimbra.cs.servlet.SetHeaderFilter.doFilter(SetHeaderFilter.java:79) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81) at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:132) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:218) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:422) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.handler.rewrite.RewriteHandler.handle(RewriteHandler.java:230) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.handler.DebugHandler.handle(DebugHandler.java:77) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:583) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:986) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:414) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:429) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451) Caused by: javax.mail.internet.AddressException: Empty address in string ``'' at javax.mail.internet.InternetAddress.checkAddress(InternetAddress.java:1091) at javax.mail.internet.InternetAddress.parse(InternetAddress.java:1033) at javax.mail.internet.InternetAddress.parseHeader(InternetAddress.java:600) at javax.mail.internet.MimeMessage.getAddressHeader(MimeMessage.java:690) at javax.mail.internet.MimeMessage.getRecipients(MimeMessage.java:523) at javax.mail.Message.getAllRecipients(Message.java:301) at javax.mail.internet.MimeMessage.getAllRecipients(MimeMessage.java:538) at javax.mail.Transport.send(Transport.java:120) at com.zimbra.cs.service.mail.SendDeliveryReport.sendReport(SendDeliveryReport.java:142) ... 36 more
request:

Body: {
SendDeliveryReportRequest: {
_jsns: "urn:zimbraMail",
mid: "121076"
}
},
Header: {
context: {
_jsns: "urn:zimbra",
account: {
_content: "buruguduy@oldzimbra.com",
by: "name"
},
authToken: "(removed)",
notify: {
seq: 323
},
session: {
_content: 145418,
id: 145418
},
userAgent: {
name: "ZimbraWebClient - FF3.0 (Win)",
version: "7.1.3_GA_3346"
}
}
}

Re: Read receipt error

Posted: Fri Nov 18, 2016 2:30 am
by buruguduy
The error below is from a user/mailbox from the same server:


A network service error has occurred.
method: [unknown]
msg: system failure: error while sending read receipt
code: service.FAILURE
detail: soap:Receiver
trace: qtp509886383-1091389:http://192.168.0.2:80/service/soap/SendDeliveryReportRequest:1479436286489:fd2286c92f25326a
request:
Body: {
SendDeliveryReportRequest: {
_jsns: "urn:zimbraMail",
mid: "1280"
}
},
Header: {
context: {
_jsns: "urn:zimbra",
account: {
_content: "user2@zimbradomain.com",
by: "name"
},
authToken: "(removed)",
csrfToken: "0_b6345b3d0506d807fbcbe858d2b9d96ecd72f143",
session: {
_content: 174010,
id: 174010
},
userAgent: {
name: "ZimbraWebClient - GC54 (Win)",
version: "8.5.0_GA_3042"
}
}
}

Re: Read receipt error

Posted: Fri Nov 18, 2016 9:50 pm
by tonster
The error from the browser is really useless. Get the error from the server.

Sent from my SM-G925T using Tapatalk

Re: Read receipt error

Posted: Sat Nov 19, 2016 1:43 am
by DualBoot
It seems that the original sender address is wrong :

Code: Select all

Empty address in string ``'' at

Re: Read receipt error

Posted: Mon Nov 21, 2016 1:30 am
by buruguduy
Thanks ton and dualboot!

I was trying to tail /opt/zimbra/log/mailbox.log and /var/log/zimbra.log and can't seem to find any interesting logs in relation with the error. This is when I opened the return message with return receipt. What I have not tried (yet) is to check the logs.

Thanks!

Re: Read receipt error

Posted: Mon Nov 21, 2016 2:43 am
by buruguduy
Did monitor mailbox.log and it seems that I have found entries (there's authToken: "(removed)" in GUI log posted above), which may lead to some things, however, honestly, I'm not really sure if this is related:

2016-11-21 10:10:25,453 ERROR [qtp509886383-1128864:http://192.168.0.2:80/m/zmain] [] webclient - no valid authtoken present
com.zimbra.common.service.ServiceException: no valid authtoken present
ExceptionId:qtp509886383-1128864:http://192.168.0.2:80/m/zmain:1479694225453:fd2286c92f25326a
Code:service.AUTH_REQUIRED
at com.zimbra.common.service.ServiceException.AUTH_REQUIRED(ServiceException.java:312)
at com.zimbra.cs.taglib.ZJspSession.getZMailbox(ZJspSession.java:463)
at com.zimbra.cs.taglib.tag.ZimbraSimpleTag.getMailbox(ZimbraSimpleTag.java:29)
at com.zimbra.cs.taglib.tag.GetMailboxTag.doTag(GetMailboxTag.java:57)
at org.apache.jsp.m.mojs._jspService(org.apache.jsp.m.mojs:112)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at com.zimbra.webClient.servlet.JspServlet.service(JspServlet.java:58)
at org.eclipse.jetty.servlet.JspPropertyGroupServlet.service(JspPropertyGroupServlet.java:139)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:738)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:551)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:586)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1111)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:478)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1045)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.Dispatcher.include(Dispatcher.java:169)
at org.apache.taglibs.standard.tag.common.core.ImportSupport.acquireString(ImportSupport.java:347)
at org.apache.taglibs.standard.tag.common.core.ImportSupport.doEndTag(ImportSupport.java:204)
at org.apache.jsp.m.zmain._jspx_meth_c_import_0(org.apache.jsp.m.zmain:2233)
at org.apache.jsp.m.zmain.access$29(org.apache.jsp.m.zmain:2221)
at org.apache.jsp.m.zmain$zmainHelper.invoke3(org.apache.jsp.m.zmain:5314)
at org.apache.jsp.m.zmain$zmainHelper.invoke(org.apache.jsp.m.zmain:5346)
at org.apache.jsp.tag.web.mobile.moHandleError_tag._jspx_meth_c_catch_0(org.apache.jsp.tag.web.mobile.moHandleError_tag:151)
at org.apache.jsp.tag.web.mobile.moHandleError_tag.doTag(org.apache.jsp.tag.web.mobile.moHandleError_tag:89)
at org.apache.jsp.m.zmain._jspx_meth_mo_handleError_1(org.apache.jsp.m.zmain:2217)
at org.apache.jsp.m.zmain._jspx_meth_c_if_12(org.apache.jsp.m.zmain:2139)
at org.apache.jsp.m.zmain._jspx_meth_c_if_11(org.apache.jsp.m.zmain:2032)
at org.apache.jsp.m.zmain._jspService(org.apache.jsp.m.zmain:214)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at com.zimbra.webClient.servlet.JspServlet.service(JspServlet.java:58)
at org.eclipse.jetty.servlet.JspPropertyGroupServlet.service(JspPropertyGroupServlet.java:139)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:738)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1651)
at com.zimbra.cs.servlet.RequestStringFilter.doFilter(RequestStringFilter.java:54)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1622)
at com.zimbra.webClient.filters.ForwardFilter.doFilter(ForwardFilter.java:88)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1622)
at com.zimbra.cs.servlet.SetHeaderFilter.doFilter(SetHeaderFilter.java:59)
at com.zimbra.webClient.filters.SetHeaderFilter.doFilter(SetHeaderFilter.java:248)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1622)
at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:83)
at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:351)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1622)
at com.zimbra.cs.servlet.ContextPathBasedThreadPoolBalancerFilter.doFilter(ContextPathBasedThreadPoolBalancerFilter.java:107)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1622)
at com.zimbra.cs.servlet.ZimbraQoSFilter.doFilter(ZimbraQoSFilter.java:107)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1622)
at org.eclipse.jetty.servlets.DoSFilter.doFilterChain(DoSFilter.java:457)
at org.eclipse.jetty.servlets.DoSFilter.doFilter(DoSFilter.java:326)
at org.eclipse.jetty.servlets.DoSFilter.doFilter(DoSFilter.java:299)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1622)
at com.zimbra.webClient.filters.CharEncodingFilter.doFilter(CharEncodingFilter.java:37)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1622)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:549)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:544)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1111)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:478)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1045)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:199)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:309)
at org.eclipse.jetty.server.handler.DebugHandler.handle(DebugHandler.java:81)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:462)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:279)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:232)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:534)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536)
at java.lang.Thread.run(Thread.java:745)
2016-11-21 10:10:25,454 ERROR [qtp509886383-1128864:http://192.168.0.2:80/m/zmain] [] webclient - no valid authtoken present
com.zimbra.common.service.ServiceException: no valid authtoken present
ExceptionId:qtp509886383-1128864:http://192.168.0.2:80/m/zmain:1479694225454:fd2286c92f25326a
Code:service.AUTH_REQUIRED

Re: Read receipt error

Posted: Mon Nov 21, 2016 9:55 am
by DualBoot
This is not related.

Re: Read receipt error

Posted: Tue Nov 22, 2016 12:47 am
by buruguduy
Ok, thanks. I need to find out more. Do you have a hint on what I'm supposed to look out for?

Re: Read receipt error

Posted: Tue Nov 22, 2016 2:06 pm
by Gren Elliot
The original report mentions:
name: "ZimbraWebClient - FF3.0 (Win)", version: "7.1.3_GA_3346"
which suggests an old version of Zimbra.
The post at Fri Nov 18, 2016 2:30 does suggest version 8.5.0_GA_3042 though. If you can get a stack trace from that server's mailbox.log - look for the string:

Code: Select all

    mail.SendDeliveryReport


I'm guessing the reply-to address or something similar is empty and there is a bug in the code that it can't handle that. A stack trace pinpointing where it happens would be useful.
Alternatively, a show original from the web client would probably give us the data we need to diagnose further.