Page 1 of 1

Mail problems with htc desire

Posted: Wed Jun 16, 2010 9:39 am
by a.schild
We have a client with a htc desire.

Calendar and Contacts sync fine, but mail does not behave correctly.

In mail we see these problems:

- In the inbox many mails are not visible at all.
For example we have 6 mails in the inbox, the htc only shows (for example) 4 of them

- When a mail was shown on the htc, and we forward that one in outlook (But still let it in the inbox)
it vanishes on the htc device. (But we see the corresponding sent-item on the htc device)

- Many mails show empty on the htc, but show correctly on outlook or the web frontend

What might be the problem ?


We see alot of such stack traces on the server:

Code: Select all

2010-06-07 08:51:05,848 FATAL [WirelessServlet.doPost:127] SERVLET - deviceId: HTCAndbfd5e7f8, user: xxxxx@xxxxxx.ch - Uncaught and unhandle
d exception was reported by the server:
com.scalix.wireless.api.service.PlatformException
        at com.scalix.wireless.api.service.Connection.execute(Connection.java:132)
        at com.scalix.wireless.api.service.PlatformClient.getAttachment(PlatformClient.java:386)
        at com.scalix.wireless.controller.command.GetAttachmentCommand.doGetAttach(GetAttachmentCommand.java:111)
        at com.scalix.wireless.controller.command.GetAttachmentCommand.execute(GetAttachmentCommand.java:77)
        at com.scalix.wireless.handlers.WirelessRequestImpl.execute(WirelessRequestImpl.java:176)
        at com.scalix.wireless.HttpRequestHandler.handleRequest(HttpRequestHandler.java:138)
        at com.scalix.wireless.WirelessServlet.doPost(WirelessServlet.java:113)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        at org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:158)
        at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
        at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:156)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:775)
        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:704)
        at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:897)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
        at java.lang.Thread.run(Unknown Source)


André

Re: Mail problems with htc desire

Posted: Wed Jun 16, 2010 2:17 pm
by billb3
Have you tried clearing the imap cache for the user?

What version of Android is that running?

Re: Mail problems with htc desire

Posted: Wed Jun 16, 2010 2:19 pm
by sgreen
You might want to try Roadsync, it is a $10 app in the market we make all our android users, including me, use. It has a free demo so he can try it out.

Re: Mail problems with htc desire

Posted: Wed Jun 16, 2010 4:53 pm
by a.schild
billb3 wrote:Have you tried clearing the imap cache for the user?

No, but will try it and come back with results

billb3 wrote:What version of Android is that running?

It's android 2.1

http://www.htc.com/www/product/desire/specification.html

Re: Mail problems with htc desire

Posted: Wed Jun 16, 2010 5:03 pm
by a.schild
sgreen wrote:You might want to try Roadsync, it is a $10 app in the market we make all our android users, including me, use. It has a free demo so he can try it out.

What advantages does this bring me ?

Re: Mail problems with htc desire

Posted: Thu Jun 17, 2010 2:46 am
by a.schild
Activesync is at 1.0.2 GA, Server is 11.4.6-GA (Small business edition)

In the server log I still see these messages:

Code: Select all

2010-06-17 04:26:55,846  WARN [SyncCommand.doChanges:972] COMMAND - deviceId: HTCAndbfd5e7f8, user: xxxxxxxx@xxxxxx.ch  - faile
d to create mime message encoding for changed item.
com.scalix.wireless.api.service.PlatformException
        at com.scalix.wireless.api.service.Connection.execute(Connection.java:132)
        at com.scalix.wireless.api.service.PlatformClient.changeMessage(PlatformClient.java:897)
        at com.scalix.wireless.controller.command.SyncCommand.doChanges(SyncCommand.java:946)
        at com.scalix.wireless.controller.command.SyncCommand.execute(SyncCommand.java:126)
        at com.scalix.wireless.handlers.WirelessRequestImpl.execute(WirelessRequestImpl.java:176)
        at com.scalix.wireless.HttpRequestHandler.handleRequest(HttpRequestHandler.java:138)
        at com.scalix.wireless.WirelessServlet.doPost(WirelessServlet.java:113)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        at org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:158)
        at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
        at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:156)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:775)
        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:704)
        at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:897)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
        at java.lang.Thread.run(Unknown Source)


followed (or prefixed?) with this stack trace

Code: Select all

2010-06-17 04:26:55,850  WARN [SyncCommand.doChanges:934] Fetching pre-existing Calendar object in order to perform a Change operat
ion FAILED. Results may not be expected, particularly in the Organizer/Attendee realm
com.scalix.wireless.api.service.PlatformException
        at com.scalix.wireless.api.service.Connection.execute(Connection.java:132)
        at com.scalix.wireless.api.service.PlatformClient.getMessagesBody(PlatformClient.java:315)
        at com.scalix.wireless.controller.command.SyncCommand.doChanges(SyncCommand.java:913)
        at com.scalix.wireless.controller.command.SyncCommand.execute(SyncCommand.java:126)
        at com.scalix.wireless.handlers.WirelessRequestImpl.execute(WirelessRequestImpl.java:176)
        at com.scalix.wireless.HttpRequestHandler.handleRequest(HttpRequestHandler.java:138)
        at com.scalix.wireless.WirelessServlet.doPost(WirelessServlet.java:113)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        at org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:158)
        at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
        at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:156)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:775)
        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:704)
        at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:897)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
        at java.lang.Thread.run(Unknown Source)

Re: Mail problems with htc desire

Posted: Thu Jun 17, 2010 2:14 pm
by sgreen
It actually works?
It provides one consistent client across your business rather than relaying on either the stock android one or the HTC one and all the versions there of.


Do what you like, just trying to help. I make no money from it. We just use it to minimize the amount of headache we have with android and activesync.

Re: Mail problems with htc desire

Posted: Thu Jun 17, 2010 4:12 pm
by a.schild
sgreen wrote:It actually works?
It provides one consistent client across your business rather than relaying on either the stock android one or the HTC one and all the versions there of.

Just that description is what I did not find on the webseite.

sgreen wrote:Do what you like, just trying to help. I make no money from it. We just use it to minimize the amount of headache we have with android and activesync.

Sorry if you feel offended, it was in no way meant :oops:
I'm always glad to see different solutions for problems.

Thanks you

André

Re: Mail problems with htc desire

Posted: Fri Jun 18, 2010 4:33 am
by a.schild
a.schild wrote:
billb3 wrote:Have you tried clearing the imap cache for the user?

No, but will try it and come back with results


Clearing the imap cache did not help...

Re: Mail problems with htc desire

Posted: Fri Jun 18, 2010 1:18 pm
by sgreen
No, problem. If you do get a chance to try it let me know how it works.
We are using it on HTC incredibles with no issue, and it would be nice to know it works on the desire too.

Re: Mail problems with htc desire

Posted: Wed Jun 30, 2010 12:42 pm
by tenaciousC
Hi,

Have upgraded my HTC Hero (which was working perfectly with Scalix) to 2.1-update1. Since then, same problems as above.

Has anyone logged a bug for this on bugzilla?

Seems (for me) problem can be recreated by sending mail from Outlook to account with Active sync. On first opening, mail body will be visible. Upon subsequent reopening it will not be visible. Also, have seen mails not show up at all on device.

This is a big problem for us as we have a number of users who will upgrade into this bad state. Need to get this looked into pretty fast!

Cheers

C

Re: Mail problems with htc desire

Posted: Thu Jul 01, 2010 3:44 pm
by sgreen
Same problem with Incredible, Seems to only impact HTC phones as far as we can tell. Using alternate clients is another fix as I already mentioned. Just adding support to the idea of a bug for this.

Re: Mail problems with htc desire

Posted: Thu Jul 01, 2010 6:14 pm
by tenaciousC
sgreen wrote:Same problem with Incredible, Seems to only impact HTC phones as far as we can tell. Using alternate clients is another fix as I already mentioned. Just adding support to the idea of a bug for this.


https://bugzilla.scalix.com/show_bug.cgi?id=21420

:-) Am using roadsync to good effect in the meantime. It seems confined to the HTC mail client on these devices.

Cheers

C

Re: Mail problems with htc desire

Posted: Fri Jul 02, 2010 9:00 am
by a.schild
tenaciousC wrote:
sgreen wrote:Same problem with Incredible, Seems to only impact HTC phones as far as we can tell. Using alternate clients is another fix as I already mentioned. Just adding support to the idea of a bug for this.


https://bugzilla.scalix.com/show_bug.cgi?id=21420

:-) Am using roadsync to good effect in the meantime. It seems confined to the HTC mail client on these devices.


We are also seeing problems with Roadsync:

- Mail works sucessfully (Did only sync some partial with the HTC)
- Kalendar items sometimes span over 2 days. (We have the server in UTC and the HTC Client in european summertime)
- Contacts, looked ok with HTC, with roadsync we lost all öäü etc. and the place+zip are now shown in the street field
- Todos are not synched at all

????

Re: Mail problems with htc desire

Posted: Fri Jul 09, 2010 8:39 pm
by mxx
You can't sync tasks with scalix activesync yet.
I use my outlook client to also sync tasks with toodledo and a really nice toodledo client app on my legend.