Can't attach some files in HTML Client

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
yeeP6rai
Posts: 41
Joined: Mon Feb 12, 2018 10:16 am

Can't attach some files in HTML Client

Post by yeeP6rai »

I don't know did it before or after zimbra update from 8.7.11 to 8.8.15, but now I can't attach *.doc or *.odt files for example, but *.pdf I can do.
When i try attach *.doc file, HTML Client say:

Code: Select all

" A client error occurred. Please try again."
and nginx.log file has messages:

Code: Select all

2019/08/23 14:41:23 [info] 17246#0: *188646 epoll_wait() reported that client prematurely closed connection, so upstream connection is closed too while SSL handshaking to upstream, client: 185.13.112.115, server: mail.example.com, request: "GET /img/zimbra/ImgCancel.png HTTP/1.1", upstream: "https://1.2.3.4:8443/img/zimbra/ImgCancel.png", host: "mail.example.com", referrer: "https://mail.example.com/h/search?si=0&so=0&sc=150&st=conversation&action=compose"
2019/08/23 14:41:23 [info] 17246#0: *188650 peer closed connection in SSL handshake while SSL handshaking, client: 185.13.112.115, server: 0.0.0.0:443
2019/08/23 14:41:28 [warn] 17246#0: *188654 a client request body is buffered to a temporary file /opt/zimbra/data/tmp/nginx/client/0000001898, client: 185.13.112.115, server: mail.example.com, request: "POST /h/search?si=0&so=0&sc=150&st=conversation&action=compose HTTP/1.1", host: "mail.example.com", referrer: "https://mail.example.com/h/search?si=0&so=0&sc=150&st=conversation&action=compose"
Any ideas?
yeeP6rai
Posts: 41
Joined: Mon Feb 12, 2018 10:16 am

Re: Can't attach some files in HTML Client

Post by yeeP6rai »

When I try attach *.odt file and upload, mailbox.log has exception:

Code: Select all

2019-08-23 16:37:11,181 INFO  [qtp1010670443-279:https://localhost:7071/service/admin/soap/GetDomainInfoRequest] [ua=ZCS/8.8.15_GA_3829;soapId=6c0fb58b;] soap - GetDomainInfoRequest elapsed=2
2019-08-23 16:37:11,198 INFO  [qtp1010670443-279:https://localhost:7071/service/admin/soap/GetDomainInfoRequest] [name=ivan@mail.example.com;mid=10;ua=ZCS/8.8.15_GA_3829;soapId=6c0fb58c;] soap - GetDomainInfoRequest elapsed=0
2019-08-23 16:37:20,303 WARN  [qtp1010670443-238:https://mail.example.com/h/search?si=0&so=0&sc=2&st=conversation&action=compose&paction=compose] [] webclient - MIME type may not be null
java.lang.IllegalArgumentException: MIME type may not be null
        at org.apache.http.util.Args.notBlank(Args.java:71)
        at org.apache.http.entity.ContentType.create(ContentType.java:226)
        at org.apache.http.entity.ContentType.create(ContentType.java:239)
        at com.zimbra.client.ZMailbox.uploadAttachments(ZMailbox.java:2531)
        at com.zimbra.cs.taglib.bean.ZMessageComposeBean.toOutgoingMessage(ZMessageComposeBean.java:2052)
        at com.zimbra.cs.taglib.tag.SaveDraftTag.doTag(SaveDraftTag.java:98)
        at org.apache.jsp.tag.web.compose.composeCheck_tag$Helper.invoke0(composeCheck_tag.java:2704)
        at org.apache.jsp.tag.web.compose.composeCheck_tag$Helper.invoke(composeCheck_tag.java:3210)
        at org.apache.jsp.tag.web.infra.handleError_tag._jspx_meth_c_005fcatch_005f0(handleError_tag.java:306)
        at org.apache.jsp.tag.web.infra.handleError_tag.doTag(handleError_tag.java:134)
        at org.apache.jsp.tag.web.compose.composeCheck_tag.doTag(composeCheck_tag.java:170)
        at org.apache.jsp.h.search._jspx_meth_app_005fcomposeCheck_005f0(search.java:2350)
        at org.apache.jsp.h.search._jspx_meth_c_005fwhen_005f12(search.java:2322)
        at org.apache.jsp.h.search._jspx_meth_c_005fchoose_005f3(search.java:2269)
        at org.apache.jsp.h.search.access$27(search.java:2256)
        at org.apache.jsp.h.search$Helper.invoke0(search.java:6166)
        at org.apache.jsp.h.search$Helper.invoke(search.java:6296)
        at org.apache.jsp.tag.web.infra.handleError_tag._jspx_meth_c_005fcatch_005f0(handleError_tag.java:306)
        at org.apache.jsp.tag.web.infra.handleError_tag.doTag(handleError_tag.java:134)
        at org.apache.jsp.h.search._jspService(search.java:310)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:476)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330)
        at org.eclipse.jetty.jsp.JettyJspServlet.service(JettyJspServlet.java:112)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:873)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623)
        at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:214)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
        at com.zimbra.cs.servlet.RequestStringFilter.doFilter(RequestStringFilter.java:54)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
        at com.zimbra.webClient.filters.RestFilter.doFilter(RestFilter.java:46)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
        at com.zimbra.webClient.filters.ForwardFilter.doFilter(ForwardFilter.java:88)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
        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:1610)
        at com.zimbra.cs.servlet.ContextPathBasedThreadPoolBalancerFilter.doFilter(ContextPathBasedThreadPoolBalancerFilter.java:107)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
        at com.zimbra.cs.servlet.ZimbraQoSFilter.doFilter(ZimbraQoSFilter.java:125)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
        at org.eclipse.jetty.servlets.DoSFilter.doFilterChain(DoSFilter.java:482)
        at org.eclipse.jetty.servlets.DoSFilter.doFilter(DoSFilter.java:327)
        at org.eclipse.jetty.servlets.DoSFilter.doFilter(DoSFilter.java:297)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
        at com.zimbra.webClient.filters.CharEncodingFilter.doFilter(CharEncodingFilter.java:37)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146)
        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
        at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257)
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1700)
        at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345)
        at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480)
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1667)
        at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
        at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:220)
        at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:152)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
        at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:335)
        at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:753)
        at org.eclipse.jetty.server.handler.DebugHandler.handle(DebugHandler.java:83)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
        at org.eclipse.jetty.server.Server.handle(Server.java:505)
        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:370)
        at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:267)
        at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)
        at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
        at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:427)
        at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:321)
        at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:159)
        at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
        at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
        at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:698)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:804)
        at java.base/java.lang.Thread.run(Thread.java:834)
2019-08-23 16:37:20,305 WARN  [qtp1010670443-238:https://mail.example.com/h/search?si=0&so=0&sc=2&st=conversation&action=compose&paction=compose] [] webclient - local exception
com.zimbra.cs.taglib.bean.ZTagLibException: MIME type may not be null
ExceptionId:qtp1010670443-238:https://mail.example.com/h/search?si=0&so=0&sc=2&st=conversation&action=compose&paction=compose:1566567440305:7319c5ddea1c47e4
Code:ztaglib.TAG_EXCEPTION
        at com.zimbra.cs.taglib.bean.ZTagLibException.TAG_EXCEPTION(ZTagLibException.java:60)
        at com.zimbra.cs.taglib.bean.ZExceptionBean.<init>(ZExceptionBean.java:82)
        at com.zimbra.cs.taglib.tag.GetExceptionTag.doTag(GetExceptionTag.java:42)
        at org.apache.jsp.tag.web.infra.handleError_tag.doTag(handleError_tag.java:157)
        at org.apache.jsp.tag.web.compose.composeCheck_tag.doTag(composeCheck_tag.java:170)
        at org.apache.jsp.h.search._jspx_meth_app_005fcomposeCheck_005f0(search.java:2350)
        at org.apache.jsp.h.search._jspx_meth_c_005fwhen_005f12(search.java:2322)
        at org.apache.jsp.h.search._jspx_meth_c_005fchoose_005f3(search.java:2269)
        at org.apache.jsp.h.search.access$27(search.java:2256)
        at org.apache.jsp.h.search$Helper.invoke0(search.java:6166)
        at org.apache.jsp.h.search$Helper.invoke(search.java:6296)
        at org.apache.jsp.tag.web.infra.handleError_tag._jspx_meth_c_005fcatch_005f0(handleError_tag.java:306)
        at org.apache.jsp.tag.web.infra.handleError_tag.doTag(handleError_tag.java:134)
        at org.apache.jsp.h.search._jspService(search.java:310)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:476)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330)
        at org.eclipse.jetty.jsp.JettyJspServlet.service(JettyJspServlet.java:112)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:873)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623)
        at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:214)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
        at com.zimbra.cs.servlet.RequestStringFilter.doFilter(RequestStringFilter.java:54)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
        at com.zimbra.webClient.filters.RestFilter.doFilter(RestFilter.java:46)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
        at com.zimbra.webClient.filters.ForwardFilter.doFilter(ForwardFilter.java:88)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
        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:1610)
        at com.zimbra.cs.servlet.ContextPathBasedThreadPoolBalancerFilter.doFilter(ContextPathBasedThreadPoolBalancerFilter.java:107)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
        at com.zimbra.cs.servlet.ZimbraQoSFilter.doFilter(ZimbraQoSFilter.java:125)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
        at org.eclipse.jetty.servlets.DoSFilter.doFilterChain(DoSFilter.java:482)
        at org.eclipse.jetty.servlets.DoSFilter.doFilter(DoSFilter.java:327)
        at org.eclipse.jetty.servlets.DoSFilter.doFilter(DoSFilter.java:297)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
        at com.zimbra.webClient.filters.CharEncodingFilter.doFilter(CharEncodingFilter.java:37)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146)
        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
        at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257)
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1700)
        at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345)
        at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480)
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1667)
        at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
        at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:220)
        at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:152)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
        at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:335)
        at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:753)
        at org.eclipse.jetty.server.handler.DebugHandler.handle(DebugHandler.java:83)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
        at org.eclipse.jetty.server.Server.handle(Server.java:505)
        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:370)
        at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:267)
        at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)
        at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
        at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:427)
        at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:321)
        at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:159)
        at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
        at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
        at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
        at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:698)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:804)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.IllegalArgumentException: MIME type may not be null
        at org.apache.http.util.Args.notBlank(Args.java:71)
        at org.apache.http.entity.ContentType.create(ContentType.java:226)
        at org.apache.http.entity.ContentType.create(ContentType.java:239)
        at com.zimbra.client.ZMailbox.uploadAttachments(ZMailbox.java:2531)
        at com.zimbra.cs.taglib.bean.ZMessageComposeBean.toOutgoingMessage(ZMessageComposeBean.java:2052)
        at com.zimbra.cs.taglib.tag.SaveDraftTag.doTag(SaveDraftTag.java:98)
        at org.apache.jsp.tag.web.compose.composeCheck_tag$Helper.invoke0(composeCheck_tag.java:2704)
        at org.apache.jsp.tag.web.compose.composeCheck_tag$Helper.invoke(composeCheck_tag.java:3210)
        at org.apache.jsp.tag.web.infra.handleError_tag._jspx_meth_c_005fcatch_005f0(handleError_tag.java:306)
        at org.apache.jsp.tag.web.infra.handleError_tag.doTag(handleError_tag.java:134)
        ... 79 more
2019-08-23 16:37:20,326 INFO  [qtp1010670443-279:https://localhost:7071/service/admin/soap/GetDomainInfoRequest] [ua=ZCS/8.8.15_GA_3829;soapId=6c0fb58d;] soap - GetDomainInfoRequest elapsed=0
2019-08-23 16:37:20,351 INFO  [qtp1010670443-230:https://localhost:7071/service/admin/soap/GetDomainInfoRequest] [name=ivan@mail.example.com;mid=10;ua=ZCS/8.8.15_GA_3829;soapId=6c0fb58e;] soap - GetDomainInfoRequest elapsed=0
2019-08-23 16:37:51,971 INFO  [qtp1010670443-18:https://localhost:7071/service/admin/soap/GetDomainInfoRequest] [ua=ZCS/8.8.15_GA_3829;soapId=6c0fb58f;] soap - GetDomainInfoRequest elapsed=0
2019-08-23 16:39:44,701 INFO  [Timer-Zimbra] [] SessionCache - Removed 1 idle sessions (ADMIN). 2 active sessions remain.
2019-08-23 16:40:05,556 INFO  [qtp1010670443-285:https://localhost:7071/service/admin/soap/AuthRequest] [name=zimbra;ua=zmprov/8.8.15_GA_3829;soapId=6c0fb590;] soap - AuthRequest elapsed=7
2019-08-23 16:40:09,210 INFO  [qtp1010670443-279:https://localhost:7071/service/admin/soap/GetAllServersRequest] [name=zimbra;ua=zmprov/8.8.15_GA_3829;soapId=6c0fb591;] soap - GetAllServersRequest elapsed=9
2019-08-23 16:44:44,701 INFO  [Timer-Zimbra] [] SessionCache - Removed 1 idle sessions (SOAP). 1 active sessions remain.
vdagost-fr
Posts: 43
Joined: Mon Apr 11, 2016 11:59 am

Re: Can't attach some files in HTML Client

Post by vdagost-fr »

Hello

Same problem with Zimbra 8.8.15 on CentOS and RHEL 6.7.

I filled a bug report :
https://bugzilla.zimbra.com/show_bug.cgi?id=109220

When I look at the POST request the Content-Type is provided :
-----------------------------3399145694174
Content-Disposition: form-data; name="fileUpload"; filename="DAA_CVT.odt"
Content-Type: application/vnd.oasis.opendocument.text
Victor
vdagost-fr
Posts: 43
Joined: Mon Apr 11, 2016 11:59 am

Re: Can't attach some files in HTML Client

Post by vdagost-fr »

Upgrading to Patch 8.8.15_P1 or setting zimbra_use_owasp_html_sanitizer to false did not fix the issue :(
hisfran
Posts: 31
Joined: Tue Apr 29, 2014 2:10 pm

Re: Can't attach some files in HTML Client

Post by hisfran »

I'm experiencing a similar problem with 1 customer.
Zimbra webmail using Webmail Advanced/Ajax Client.
The problem happens using Firefox or Internet Explorer.
Zimbra 8.8.15 p1
OS: Ubuntu 16.04 TLS
He reports the problem started right after we upgraded to 8.8.15 p1.

Note I an unable to reproduce the issue on a test account: it works for me in Chrome, Firefox and Internet Explorer so it is not a widespread issue.

I've opened a support ticket with Zimbra but so far no guidance or answer...
Any ideas?

Francoise (Fran)
hisfran
Posts: 31
Joined: Tue Apr 29, 2014 2:10 pm

Re: Can't attach some files in HTML Client

Post by hisfran »

I see the same exception "MIME type may not be null" in mailbox.log

2019-09-12 10:49:05,805 WARN [qtp961409111-268834:https://mailxx.xxx.com/h/search?si=3&so ... on=compose] [] webclient - MIME type may not be null
java.lang.IllegalArgumentException: MIME type may not be null
com.zimbra.cs.taglib.bean.ZTagLibException: MIME type may not be null
Caused by: java.lang.IllegalArgumentException: MIME type may not be null
2019-09-12 10:49:05,805 WARN [qtp961409111-268834:https://mailxx.xxx.com/h/search?si=3&so ... on=compose] [] webc
lient - local exception

2019-09-12 10:49:05,811 WARN [qtp961409111-266808://localhost:8080/service/soap/GetMsgRequest] [name=ccc@xxx.com;mid=186;oip=64.26.99.248
;ua=zclient/8.8.15_GA_3847;soapId=4799c2ed;] smime - SmimeCryptoHandler : SMIME feature not enabled on account ccc@xxx.com
2019-09-12 10:49:05,811 INFO [qtp961409111-266808://localhost:8080/service/soap/GetMsgRequest] [name=ccc@xxx.com;mid=186;oip=64.26.99.248
;ua=zclient/8.8.15_GA_3847;soapId=4799c2ed;] soap - GetMsgRequest elapsed=1
2019-09-12 10:49:05,818 INFO [qtp961409111-268669:https://localhost:7071/service/admin/so ... nfoRequest] [name=ccc@xxx.com;mid=1
86;ua=ZCS/8.8.15_GA_3847;soapId=4799c2ef;] soap - GetDomainInfoRequest elapsed=0

and the same trace in nginx.log file

2019/09/12 10:49:05 [warn] 5260#0: *2087295 a client request body is buffered to a temporary file /opt/zimbra/data/tmp/nginx/client/0000004603, client: 64.26.99.248, server: mailxx.xxx.com, request: "POST /h/search?si=3&so=0&sc=755&st=conversation&action=compose HTTP/1.1", host: "mailxx.xxx.com", referrer: "https://mailxx.xxx.com/h/search?si=3&so ... on=compose"

Not sure where else to look next.
allende8807
Posts: 3
Joined: Fri Mar 23, 2018 3:14 pm

Re: Can't attach some files in HTML Client

Post by allende8807 »

After upgrading from ZCS 8.8.8 to 8.8.15 have the same error.
Release 8.8.15_GA_3829.RHEL7_64_20190718141144 RHEL7_64 FOSS edition, Patch 8.8.15_P1.

Unable to attach file using the Standard HTML interface.
rizkypratama
Posts: 30
Joined: Mon Apr 18, 2016 3:11 am

Re: Can't attach some files in HTML Client

Post by rizkypratama »

Hello,

I have same the problem, I use Zimbra 8.8.15 Patch 2, on Ubuntu 18.04

Has anyone can to fix it? because this is quite disturbing for users who use HTML mode, so can't upload attachments such as odt, doc and many more related to document files
zimbra_admin
Posts: 1
Joined: Sun Oct 27, 2019 1:32 pm

Re: Can't attach some files in HTML Client

Post by zimbra_admin »

Hello,

Patch 3 is not fixed yet this problem.
Is a solution to fix it by editing zimbra files?

Thanks
User avatar
ratko
Posts: 9
Joined: Fri Sep 12, 2014 10:11 pm

Re: Can't attach some files in HTML Client

Post by ratko »

Just to confirm that bug still exist on 8.8.15_P5 on CentOS 6.10.

>

Code: Select all

Release 8.8.15_GA_3869.RHEL6_64_20190917004220 RHEL6_64 FOSS edition, Patch 8.8.15_P5.
Post Reply