Page 2 of 3

Re: Can't attach some files in HTML Client

Posted: Thu Jan 16, 2020 1:29 am
by sheepei
a bug for this zimbra version too.
from mailbox.log:

Code: Select all

 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)
I tried reindex the user mailbox and it seems solved, but don't have any idea why couldn't attach any files previously.

Code: Select all

Release 8.8.15_GA_3829.RHEL7_64_20190718141144 RHEL7_64 NETWORK edition, Patch 8.8.15_P4.

Code: Select all

CentOS Linux release 7.6.1810 (Core)

Re: Can't attach some files in HTML Client

Posted: Tue Jan 21, 2020 8:59 pm
by milanlesnikmb
In end of Nov 2019 and beginning of Dec 2019 I did an upgrade OSE 8.8.10_GA_3039 to 8.8.15_GA_3869, first test environment, then production (at customer site), linux centos 6 release X64. In both cases I first run yum, so I updated the distro, then I updated the OSE. Everything went smotly I didn't observe any problem during patching (if anyone is interested in update log – I got one for test site, real domain name and IPs are replaced). Test is clone of production (mailboxes are erased).

Some days after update customer informed me about a problem. When user reply (html client) to an email he can't attach a file. He clicks on reply, attach file and select file but then nothing happens in Firefox or Chrome. But Edge or Internet Explorer work. If user starts a new email then everything works, he can attach a file. The problem appears at both sites (test and production), so I can easily reproduce the problem (look at attached file)

I put a test site behind reverse proxy (haproxy) and the most important difference is autosaving of draft message when I use working browser (Internet Explorer or Edge).

I also did "yum update" at test site yesterday and updated OSE from 8.8.15_p4 to 8.8.15_p6 but it didn't help.

The only workaround which I found (after examining haproxy logs) – user clicks on reply and then clicks on "save draft message" and then he can attach file in Firefox or Chrome.

Any solution?

Here are also logs from reverse proxy

===================chrome, firefox, no post autosave===========================
Dec 16 21:03:31 localhost haproxy[6578]: 192.168.100.88:51225 [16/Dec/2019:21:03:31.298] fe_proxy443~ be_sbnm/sbnm 0/0/20/35/56 200 5307 - - ---- 1/1/0/1/0 0/0 "GET / HTTP/1.1"
Dec 16 21:03:40 localhost haproxy[6578]: 192.168.100.88:51225 [16/Dec/2019:21:03:40.902] fe_proxy443~ be_sbnm/sbnm 0/0/0/50/50 302 766 - - ---- 1/1/0/1/0 0/0 "POST / HTTP/1.1"
Dec 16 21:03:41 localhost haproxy[6578]: 192.168.100.88:51225 [16/Dec/2019:21:03:40.961] fe_proxy443~ be_sbnm/sbnm 0/0/0/67/207 200 33821 - - ---- 2/2/0/1/0 0/0 "GET / HTTP/1.1"
Dec 16 21:03:41 localhost haproxy[6578]: 192.168.100.88:51230 [16/Dec/2019:21:03:41.170] fe_proxy443~ be_sbnm/sbnm 0/0/18/4/40 200 40014 - - ---- 2/2/0/1/0 0/0 "GET /css/images,common,dwt,msgview,login,zm,spellcheck,skin.css;jsessionid=node01wpo6w50p3y015wwqlvbf805b7.node0?v=191105084811&debug=false&skin=harmony&locale=sl HTTP/1.1"
Dec 16 21:03:41 localhost haproxy[6578]: 192.168.100.88:51225 [16/Dec/2019:21:03:41.389] fe_proxy443~ be_sbnm/sbnm 0/0/0/11/12 200 94750 - - ---- 2/2/1/2/0 0/0 "GET /img/zimbra.png?v=191105084811 HTTP/1.1"
Dec 16 21:03:41 localhost haproxy[6578]: 192.168.100.88:51230 [16/Dec/2019:21:03:41.386] fe_proxy443~ be_sbnm/sbnm 0/0/0/19/19 200 804 - - ---- 2/2/0/1/0 0/0 "GET /img/zimbra.gif?v=191105084811 HTTP/1.1"
Dec 16 21:03:41 localhost haproxy[6578]: 192.168.100.88:51225 [16/Dec/2019:21:03:41.450] fe_proxy443~ be_sbnm/sbnm 0/0/0/1/1 200 200 - - ---- 1/1/0/1/0 0/0 "HEAD /public/blank.html?_=1576526621380 HTTP/1.1"
Dec 16 21:03:41 localhost haproxy[6578]: 192.168.100.88:51225 [16/Dec/2019:21:03:41.504] fe_proxy443~ be_sbnm/sbnm 0/0/0/3/3 200 1433 - - ---- 1/1/0/1/0 0/0 "GET /img/logo/favicon.ico;jsessionid=node01wpo6w50p3y015wwqlvbf805b7.node0 HTTP/1.1"
Dec 16 21:03:41 localhost haproxy[6578]: 192.168.100.88:51225 [16/Dec/2019:21:03:41.542] fe_proxy443~ be_sbnm/sbnm 0/0/0/9/10 200 9214 - - ---- 1/1/0/1/0 0/0 "GET /img/animated/Imgwait_64.gif?v=191105084811 HTTP/1.1"
Dec 16 21:03:41 localhost haproxy[6578]: 192.168.100.88:51225 [16/Dec/2019:21:03:41.561] fe_proxy443~ be_sbnm/sbnm 0/0/0/11/12 200 118628 - - ---- 1/1/0/1/0 0/0 "GET /js/MailCore_all.js.zgz?v=191105084811 HTTP/1.1"
Dec 16 21:03:41 localhost haproxy[6578]: 192.168.100.88:51225 [16/Dec/2019:21:03:41.618] fe_proxy443~ be_sbnm/sbnm 0/0/0/5/5 200 485 - - ---- 2/2/0/1/0 0/0 "POST /service/soap/BatchRequest HTTP/1.1"
Dec 16 21:03:41 localhost haproxy[6578]: 192.168.100.88:51225 [16/Dec/2019:21:03:41.630] fe_proxy443~ be_sbnm/sbnm 0/0/0/10/10 200 3435 - - ---- 2/2/1/2/0 0/0 "GET /skins/_base/logos/AppBanner_white.png?v=191105084811 HTTP/1.1"
Dec 16 21:03:41 localhost haproxy[6578]: 192.168.100.88:51231 [16/Dec/2019:21:03:41.630] fe_proxy443~ be_sbnm/sbnm 0/0/21/9/30 200 448 - - ---- 1/1/0/1/0 0/0 "POST /service/soap/BatchRequest HTTP/1.1"
Dec 16 21:03:41 localhost haproxy[6578]: 192.168.100.88:51231 [16/Dec/2019:21:03:41.687] fe_proxy443~ be_sbnm/sbnm 0/0/0/5/5 200 441 - - ---- 1/1/0/1/0 0/0 "GET /home/arhtest1@sb-nm.si/Contacts?fmt=cf&t=2&all=all HTTP/1.1"
Dec 16 21:03:42 localhost haproxy[6578]: 192.168.100.88:51231 [16/Dec/2019:21:03:42.447] fe_proxy443~ be_sbnm/sbnm 0/0/0/3/4 200 2231 - - ---- 1/1/0/1/0 0/0 "GET /service/zimlet/res/Zimlets-nodev_all.css?language=sl&cosId=e00428a1-0c00-11d9-836a-000d93afea2a HTTP/1.1"
Dec 16 21:03:42 localhost haproxy[6578]: 192.168.100.88:51231 [16/Dec/2019:21:03:42.458] fe_proxy443~ be_sbnm/sbnm 0/0/0/2/4 200 91464 - - ---- 1/1/0/1/0 0/0 "GET /service/zimlet/res/Zimlets-nodev_all.js.zgz?language=sl&cosId=e00428a1-0c00-11d9-836a-000d93afea2a HTTP/1.1"
Dec 16 21:03:42 localhost haproxy[6578]: 192.168.100.88:51231 [16/Dec/2019:21:03:42.479] fe_proxy443~ be_sbnm/sbnm 0/0/0/1/1 200 303 - - ---- 1/1/0/1/0 0/0 "GET /service/zimlet/com_zimbra_ymemoticons/yemoticons.gif HTTP/1.1"
Dec 16 21:03:42 localhost haproxy[6578]: 192.168.100.88:51231 [16/Dec/2019:21:03:42.481] fe_proxy443~ be_sbnm/sbnm 0/0/0/1/1 200 906 - - ---- 1/1/0/1/0 0/0 "GET /service/zimlet/com_zimbra_mailarchive/archiveZimletIcon.png HTTP/1.1"
Dec 16 21:03:42 localhost haproxy[6578]: 192.168.100.88:51231 [16/Dec/2019:21:03:42.505] fe_proxy443~ be_sbnm/sbnm 0/0/0/2/2 200 41703 - - ---- 1/1/0/1/0 0/0 "GET /js/Contacts_all.js.zgz?v=191105084811 HTTP/1.1"
Dec 16 21:03:42 localhost haproxy[6578]: 192.168.100.88:51231 [16/Dec/2019:21:03:42.526] fe_proxy443~ be_sbnm/sbnm 0/0/0/10/10 200 899 - - ---- 2/2/1/2/0 0/0 "GET /service/zimlet/com_zimbra_email/img/EmailZimlet_busy.gif HTTP/1.1"
Dec 16 21:03:42 localhost haproxy[6578]: 192.168.100.88:51233 [16/Dec/2019:21:03:42.543] fe_proxy443~ be_sbnm/sbnm 0/0/18/3/21 200 490 - - ---- 3/3/2/3/0 0/0 "POST /service/soap/BatchRequest HTTP/1.1"
Dec 16 21:03:42 localhost haproxy[6578]: 192.168.100.88:51232 [16/Dec/2019:21:03:42.535] fe_proxy443~ be_sbnm/sbnm 0/0/22/8/30 200 16999 - - CD-- 3/3/1/1/0 0/0 "GET /service/zimlet/com_zimbra_email/img/UnknownPerson_dataNotFound.jpg HTTP/1.1"
Dec 16 21:03:42 localhost haproxy[6578]: 192.168.100.88:51234 [16/Dec/2019:21:03:42.550] fe_proxy443~ be_sbnm/sbnm 0/0/23/9/32 200 1324 - - ---- 2/2/0/1/0 0/0 "GET /js/ZimletApp_all.js.zgz?v=191105084811 HTTP/1.1"
Dec 16 21:03:43 localhost haproxy[6578]: 192.168.100.88:51233 [16/Dec/2019:21:03:43.970] fe_proxy443~ be_sbnm/sbnm 0/0/0/19/19 200 1275 - - ---- 1/1/0/1/0 0/0 "POST /service/soap/SearchConvRequest HTTP/1.1"
Dec 16 21:03:44 localhost haproxy[6578]: 192.168.100.88:51233 [16/Dec/2019:21:03:44.012] fe_proxy443~ be_sbnm/sbnm 0/0/0/9/9 200 3302 - - ---- 1/1/0/1/0 0/0 "GET /img/large/ImgPerson_48.png?v=191105084811 HTTP/1.1"
Dec 16 21:03:44 localhost haproxy[6578]: 192.168.100.88:51233 [16/Dec/2019:21:03:44.100] fe_proxy443~ be_sbnm/sbnm 0/0/0/31/31 200 2146 - - ---- 1/1/0/1/0 0/0 "GET /css/msgview.css?v=191105084811&locale=sl&skin=harmony HTTP/1.1"
Dec 16 21:03:44 localhost haproxy[6578]: 192.168.100.88:51235 [16/Dec/2019:21:03:44.157] fe_proxy443~ be_sbnm/sbnm 0/0/20/7/27 200 2235 - - ---- 2/2/1/2/0 0/0 "GET /img/large/ImgPerson_32.png?v=191105084811 HTTP/1.1"
Dec 16 21:03:44 localhost haproxy[6578]: 192.168.100.88:51236 [16/Dec/2019:21:03:44.174] fe_proxy443~ be_sbnm/sbnm 0/0/22/5/27 200 605 - - ---- 1/1/0/1/0 0/0 "GET /img/mail.png?v=191105084811 HTTP/1.1"
Dec 16 21:03:45 localhost haproxy[6578]: 192.168.100.88:51237 [16/Dec/2019:21:03:45.193] fe_proxy443~ be_sbnm/sbnm 0/0/21/10/32 200 38845 - - ---- 1/1/0/1/0 0/0 "GET /js/Mail_all.js.zgz?v=191105084811 HTTP/1.1"
Dec 16 21:03:48 localhost haproxy[6578]: 192.168.100.88:51239 [16/Dec/2019:21:03:48.186] fe_proxy443~ be_sbnm/sbnm 0/0/19/3/22 200 384 - - ---- 1/1/0/1/0 0/0 "POST /service/soap/GetMiniCalRequest HTTP/1.1"
Dec 16 21:03:52 localhost haproxy[6578]: 192.168.100.88:51239 [16/Dec/2019:21:03:52.146] fe_proxy443~ be_sbnm/sbnm 0/0/0/4/4 200 420 - - ---- 1/1/0/1/0 0/0 "POST /service/soap/SearchRequest HTTP/1.1"
Dec 16 21:03:52 localhost haproxy[6578]: 192.168.100.88:51239 [16/Dec/2019:21:03:52.173] fe_proxy443~ be_sbnm/sbnm 0/0/0/5/5 200 420 - - ---- 1/1/0/1/0 0/0 "POST /service/soap/SearchRequest HTTP/1.1"
=======================end=====================================================================

==================IE, EDGE, post savedraftrequest=============================
Dec 16 21:00:55 localhost haproxy[6578]: 192.168.100.88:51168 [16/Dec/2019:21:00:54.975] fe_proxy443~ be_sbnm/sbnm 0/0/21/74/95 200 5412 - - ---- 2/2/0/1/0 0/0 "GET / HTTP/1.1"
Dec 16 21:01:04 localhost haproxy[6578]: 192.168.100.88:51168 [16/Dec/2019:21:01:04.198] fe_proxy443~ be_sbnm/sbnm 0/0/0/53/53 302 767 - - ---- 2/2/0/1/0 0/0 "POST / HTTP/1.1"
Dec 16 21:01:04 localhost haproxy[6578]: 192.168.100.88:51168 [16/Dec/2019:21:01:04.258] fe_proxy443~ be_sbnm/sbnm 0/0/0/74/249 200 33838 - - ---- 2/2/1/2/0 0/0 "GET / HTTP/1.1"
Dec 16 21:01:04 localhost haproxy[6578]: 192.168.100.88:51169 [16/Dec/2019:21:01:04.506] fe_proxy443~ be_sbnm/sbnm 0/0/21/3/42 200 40038 - - ---- 2/2/0/1/0 0/0 "GET /css/images,common,dwt,msgview,login,zm,spellcheck,skin.css;jsessionid=node01o2e4qtk8j6h410t7s4rfpmkg16.node0?v=191105084811&debug=false&skin=harmony&locale=sl HTTP/1.1"
Dec 16 21:01:05 localhost haproxy[6578]: 192.168.100.88:51169 [16/Dec/2019:21:01:05.001] fe_proxy443~ be_sbnm/sbnm 0/0/0/3/3 200 200 - - ---- 2/2/0/1/0 0/0 "HEAD /public/blank.html?_=1576526464821 HTTP/1.1"
Dec 16 21:01:05 localhost haproxy[6578]: 192.168.100.88:51172 [16/Dec/2019:21:01:05.159] fe_proxy443~ be_sbnm/sbnm 0/0/19/2/21 200 1433 - - ---- 3/3/0/1/0 0/0 "GET /img/logo/favicon.ico;jsessionid=node01o2e4qtk8j6h410t7s4rfpmkg16.node0 HTTP/1.1"
Dec 16 21:01:05 localhost haproxy[6578]: 192.168.100.88:51169 [16/Dec/2019:21:01:05.285] fe_proxy443~ be_sbnm/sbnm 0/0/0/3/3 200 485 - - ---- 3/3/1/2/0 0/0 "POST /service/soap/BatchRequest HTTP/1.1"
Dec 16 21:01:05 localhost haproxy[6578]: 192.168.100.88:51168 [16/Dec/2019:21:01:05.289] fe_proxy443~ be_sbnm/sbnm 0/0/0/5/5 200 448 - - ---- 3/3/0/1/0 0/0 "POST /service/soap/BatchRequest HTTP/1.1"
Dec 16 21:01:05 localhost haproxy[6578]: 192.168.100.88:51168 [16/Dec/2019:21:01:05.356] fe_proxy443~ be_sbnm/sbnm 0/0/0/5/5 200 441 - - ---- 3/3/0/1/0 0/0 "GET /home/arhtest1@sb-nm.si/Contacts?fmt=cf&t=2&all=all HTTP/1.1"
Dec 16 21:01:05 localhost haproxy[6578]: 192.168.100.88:51172 [16/Dec/2019:21:01:05.941] fe_proxy443~ be_sbnm/sbnm 0/0/0/24/24 404 1655 - - ---- 3/3/0/1/0 0/0 "GET /favicon.ico HTTP/1.1"
Dec 16 21:01:06 localhost haproxy[6578]: 192.168.100.88:51169 [16/Dec/2019:21:01:06.549] fe_proxy443~ be_sbnm/sbnm 0/0/0/3/4 200 2231 - - ---- 2/2/1/2/0 0/0 "GET /service/zimlet/res/Zimlets-nodev_all.css?language=sl&cosId=e00428a1-0c00-11d9-836a-000d93afea2a HTTP/1.1"
Dec 16 21:01:06 localhost haproxy[6578]: 192.168.100.88:51168 [16/Dec/2019:21:01:06.549] fe_proxy443~ be_sbnm/sbnm 0/0/0/3/4 200 91464 - - ---- 2/2/0/1/0 0/0 "GET /service/zimlet/res/Zimlets-nodev_all.js.zgz?language=sl&cosId=e00428a1-0c00-11d9-836a-000d93afea2a HTTP/1.1"
Dec 16 21:01:06 localhost haproxy[6578]: 192.168.100.88:51168 [16/Dec/2019:21:01:06.686] fe_proxy443~ be_sbnm/sbnm 0/0/0/5/5 200 490 - - ---- 2/2/0/1/0 0/0 "POST /service/soap/BatchRequest HTTP/1.1"
Dec 16 21:01:06 localhost haproxy[6578]: 192.168.100.88:51168 [16/Dec/2019:21:01:06.700] fe_proxy443~ be_sbnm/sbnm 0/0/0/6/6 200 393 - - ---- 2/2/0/1/0 0/0 "POST /service/soap/ModifyPropertiesRequest HTTP/1.1"
Dec 16 21:01:07 localhost haproxy[6578]: 192.168.100.88:51168 [16/Dec/2019:21:01:07.877] fe_proxy443~ be_sbnm/sbnm 0/0/0/60/60 200 1275 - - ---- 2/2/0/1/0 0/0 "POST /service/soap/SearchConvRequest HTTP/1.1"
Dec 16 21:01:09 localhost haproxy[6578]: 192.168.100.88:51173 [16/Dec/2019:21:01:09.416] fe_proxy443~ be_sbnm/sbnm 0/0/19/16/35 404 1655 - - ---- 3/3/0/1/0 0/0 "GET /favicon.ico HTTP/1.1"
Dec 16 21:01:11 localhost haproxy[6578]: 192.168.100.88:51168 [16/Dec/2019:21:01:11.109] fe_proxy443~ be_sbnm/sbnm 0/0/0/4/4 200 384 - - ---- 2/2/0/1/0 0/0 "POST /service/soap/GetMiniCalRequest HTTP/1.1"
Dec 16 21:01:15 localhost haproxy[6578]: 192.168.100.88:51168 [16/Dec/2019:21:01:15.025] fe_proxy443~ be_sbnm/sbnm 0/0/0/58/58 200 1306 - - ---- 2/2/0/1/0 0/0 "POST /service/soap/SaveDraftRequest HTTP/1.1"
Dec 16 21:01:15 localhost haproxy[6578]: 192.168.100.88:51168 [16/Dec/2019:21:01:15.166] fe_proxy443~ be_sbnm/sbnm 0/0/0/117/117 200 308 - - ---- 2/2/0/1/0 0/0 "POST /service/upload?fmt=extended,raw HTTP/1.1"
Dec 16 21:01:16 localhost haproxy[6578]: 192.168.100.88:51169 [16/Dec/2019:21:01:16.177] fe_proxy443~ be_sbnm/sbnm 0/0/0/536/536 200 998 - - ---- 3/3/2/3/0 0/0 "POST /service/soap/SearchRequest HTTP/1.1"
Dec 16 21:01:16 localhost haproxy[6578]: 192.168.100.88:51176 [16/Dec/2019:21:01:16.190] fe_proxy443~ be_sbnm/sbnm 0/0/25/499/525 200 998 - - ---- 3/3/1/2/0 0/0 "POST /service/soap/SearchRequest HTTP/1.1"
Dec 16 21:01:16 localhost haproxy[6578]: 192.168.100.88:51168 [16/Dec/2019:21:01:15.321] fe_proxy443~ be_sbnm/sbnm 0/0/0/1498/1498 200 1392 - - ---- 3/3/0/1/0 0/0 "POST /service/soap/SaveDraftRequest HTTP/1.1"
=========================end=====================================================================================

Re: Can't attach some files in HTML Client

Posted: Wed Jan 22, 2020 3:17 pm
by imanudin11
Hello,

I wrote a temporary solution to this problem on my blog. Please see the guidance here: https://imanudin.net/2020/01/22/solved- ... html-mode/

Good Luck :)

Re: Can't attach some files in HTML Client

Posted: Wed Jan 22, 2020 8:00 pm
by milanlesnikmb
I'll try the fix and post the results.

I forgot to mention - I tried HTML/TEXT mode, attach text file, docx, pdf - the result was the same - Chrome/FF didn't work, IE/Edge work.

Re: Can't attach some files in HTML Client

Posted: Wed Jan 22, 2020 8:17 pm
by milanlesnikmb
Chrome test, HTML/Text mode, try to attach PDF file - it doesn't work (rebooted server).

IE test, HTML/Text mode, attach the same PDF file - it works.

Reverting test installation back to snapshot

No luck.

Re: Can't attach some files in HTML Client

Posted: Thu Jan 23, 2020 2:09 am
by imanudin11
milanlesnikmb wrote:Chrome test, HTML/Text mode, try to attach PDF file - it doesn't work (rebooted server).

IE test, HTML/Text mode, attach the same PDF file - it works.

Reverting test installation back to snapshot

No luck.
Hello,
I try on my Chrome and it works normally. Maybe you can try some investigation like :
  • - Disable all extension on your Chrome
    - Clear cache your Chrome
    - Upgrade chrome version if any
BR,
https://imanudin.net

Re: Can't attach some files in HTML Client

Posted: Thu Jan 23, 2020 8:15 am
by milanlesnikmb
Just tried - Firefox X64 win10, ver. 72.0.2 (last), clear entire history (everything), advanced mode, text or html - it doesn't work.

Which version of Zimbra do you have - 8.8.15, patch level? I've 8.8.15_P4
imanudin11 wrote:
milanlesnikmb wrote:Chrome test, HTML/Text mode, try to attach PDF file - it doesn't work (rebooted server).

IE test, HTML/Text mode, attach the same PDF file - it works.

Reverting test installation back to snapshot

No luck.
Hello,
I try on my Chrome and it works normally. Maybe you can try some investigation like :
  • - Disable all extension on your Chrome
    - Clear cache your Chrome
    - Upgrade chrome version if any
BR,
https://imanudin.net

Re: Can't attach some files in HTML Client

Posted: Fri Jan 24, 2020 2:15 am
by imanudin11
milanlesnikmb wrote:Just tried - Firefox X64 win10, ver. 72.0.2 (last), clear entire history (everything), advanced mode, text or html - it doesn't work.

Which version of Zimbra do you have - 8.8.15, patch level? I've 8.8.15_P4
Hello,
I am using this version

Code: Select all

zimbra@mail:~$ zmcontrol -v
Release 8.8.15.GA.3869.UBUNTU18.64 UBUNTU18_64 FOSS edition, Patch 8.8.15_P6.
Or you can try to clear work folder

Code: Select all

su - zimbra
zmcontrol stop
cd /opt/zimbra/jetty/
mv work old-work
mkdir work
zmcontrol start
BR,
https://imanudin.net

Re: Can't attach some files in HTML Client

Posted: Fri Jan 24, 2020 2:18 am
by imanudin11
yeeP6rai wrote: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)
Hello,

I wrote a temporary solution to this problem on my blog. Please see the guidance here: https://imanudin.net/2020/01/22/solved- ... html-mode/

Good Luck :)

BR,
https://imanudin.net

Re: Can't attach some files in HTML Client

Posted: Fri Jan 24, 2020 8:00 am
by milanlesnikmb
Hello

Updated to p6 (yum update): Release 8.8.15_GA_3869.RHEL6_64_20190917004220 RHEL6_64 FOSS edition, Patch 8.8.15_P6

and did everything bellow. Still doesn't work.

Regards Milan
imanudin11 wrote:
milanlesnikmb wrote:Just tried - Firefox X64 win10, ver. 72.0.2 (last), clear entire history (everything), advanced mode, text or html - it doesn't work.

Which version of Zimbra do you have - 8.8.15, patch level? I've 8.8.15_P4
Hello,
I am using this version

Code: Select all

zimbra@mail:~$ zmcontrol -v
Release 8.8.15.GA.3869.UBUNTU18.64 UBUNTU18_64 FOSS edition, Patch 8.8.15_P6.
Or you can try to clear work folder

Code: Select all

su - zimbra
zmcontrol stop
cd /opt/zimbra/jetty/
mv work old-work
mkdir work
zmcontrol start
BR,
https://imanudin.net