ActiveSync - Messag...
 
Notifications
Clear all

ActiveSync - Message body could not be downloaded

1 Posts
1 Users
0 Reactions
408 Views
 FiZi
(@fizi)
Posts: 3
Topic starter
 

System details:

  • CentOS 6.4 64-Bit
  • Blackberry Q10 using ActiveSync EAS2.5
  • Zimbra 8.0.5 (and occurred on 8.0.4)
  • ZeXtras 1.8.10 (and occurred on 1.8.9)
  • Apache 2.2.15-29

When trying to load an e-mail with an attachment via ActiveSync I get the error "Message body could not be downloaded" and the e-mail automatically closes. If I'm fast and click the attachment it will download to my phone.

The only thing I can think of that might be causing the problem is my mod_proxy rule I'm using so that Zimbra runs behind my web server. The error being reported by Apache is:

[Wed Sep 25 15:22:15 2013] [error] [client xx.xx.xx.xx] (70007)The timeout specified has expired: proxy: error reading status line from remote server 127.0.0.1
[Wed Sep 25 15:22:15 2013] [error] [client xx.xx.xx.xx] proxy: Error reading from remote server returned by /Microsoft-Server-ActiveSync

If you go to https://mail.fizi.ca/Microsoft-Server-ActiveSync a blank page loads which I assume is expected behaviour but means my mod_proxy rule is working.

My Apache config looks like this:


       ServerName mail.fizi.ca
       DocumentRoot /data/wwwPublic/siteMain
       CustomLog logs/mail.fizi.ca.log combined
       ErrorLog logs/mail.fizi.ca-error.log

       RewriteEngine On
       RewriteCond %{SERVER_PORT} 80
       RewriteRule ^(.*)$  https://mail.fizi.ca$1  [R,L]



        ServerName mail.fizi.ca
        DocumentRoot /data/wwwPublic/siteMain
        CustomLog logs/mail.fizi.ca.log combined
        ErrorLog logs/mail.fizi.ca-error.log

        ProxyRequests On
        ProxyPass /  http://127.0.0.1:65521/  connectiontimeout=300 timeout=300
        ProxyPassReverse /  http://127.0.0.1:65521/ 
        ProxyPreserveHost On

        SSLEngine on
        SSLProtocol all -SSLv2
        SSLCipherSuite ECDHE-RSA-AES128-SHA256:AES128-GCM-SHA256:RC4:HIGH:!MD5:!aNULL:!EDH
        SSLCertificateFile /etc/httpd/conf/certs/fizi.ca.crt
        SSLCertificateKeyFile /etc/httpd/conf/certs/fizi.ca.key
        SSLCertificateChainFile /etc/httpd/conf/certs/ca-bundle.pem

I've tried adding the following to my virtual host per [SOLVED] Zimbra 5 Mobile, sync using SSL and Apache Proxy does not work but that hasn't helped:

 
  ProxyPass  https://webmail.something.net 
  SetEnv force-proxy-request-1.0 1
  SetEnv proxy-nokeepalive 1
 

Any ideas?


[Wed Sep 25 15:22:15 2013] [error] [client xx.xx.xx.xx] (70007)The timeout specified has expired: proxy: error reading status line from remote server 127.0.0.1
[Wed Sep 25 15:22:15 2013] [error] [client xx.xx.xx.xx] proxy: Error reading from remote server returned by /Microsoft-Server-ActiveSync

If you go to https://mail.fizi.ca/Microsoft-Server-ActiveSync a blank page loads which I assume is expected behaviour but means my mod_proxy rule is working.

My Apache config looks like this:

ServerName mail.fizi.ca
DocumentRoot /data/wwwPublic/siteMain
CustomLog logs/mail.fizi.ca.log combined
ErrorLog logs/mail.fizi.ca-error.log

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://mail.fizi.ca$1 [R,L]

ServerName mail.fizi.ca
DocumentRoot /data/wwwPublic/siteMain
CustomLog logs/mail.fizi.ca.log combined
ErrorLog logs/mail.fizi.ca-error.log

ProxyRequests On
ProxyPass / http://127.0.0.1:65521/ connectiontimeout=300 timeout=300
ProxyPassReverse / http://127.0.0.1:65521/
ProxyPreserveHost On

SSLEngine on
SSLProtocol all -SSLv2
SSLCipherSuite ECDHE-RSA-AES128-SHA256:AES128-GCM-SHA256:RC4:HIGH:!MD5:!aNULL:!EDH
SSLCertificateFile /etc/httpd/conf/certs/fizi.ca.crt
SSLCertificateKeyFile /etc/httpd/conf/certs/fizi.ca.key
SSLCertificateChainFile /etc/httpd/conf/certs/ca-bundle.pem

I've tried adding the following to my virtual host per [SOLVED] Zimbra 5 Mobile, sync using SSL and Apache Proxy does not work but that hasn't helped:

 
  ProxyPass  https://webmail.something.net 
  SetEnv force-proxy-request-1.0 1
  SetEnv proxy-nokeepalive 1
 

Any ideas?



ServerName mail.fizi.ca
DocumentRoot /data/wwwPublic/siteMain
CustomLog logs/mail.fizi.ca.log combined
ErrorLog logs/mail.fizi.ca-error.log

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://mail.fizi.ca$1 [R,L]



ServerName mail.fizi.ca
DocumentRoot /data/wwwPublic/siteMain
CustomLog logs/mail.fizi.ca.log combined
ErrorLog logs/mail.fizi.ca-error.log

ProxyRequests On
ProxyPass / http://127.0.0.1:65521/ connectiontimeout=300 timeout=300
ProxyPassReverse / http://127.0.0.1:65521/
ProxyPreserveHost On

SSLEngine on
SSLProtocol all -SSLv2
SSLCipherSuite ECDHE-RSA-AES128-SHA256:AES128-GCM-SHA256:RC4:HIGH:!MD5:!aNULL:!EDH
SSLCertificateFile /etc/httpd/conf/certs/fizi.ca.crt
SSLCertificateKeyFile /etc/httpd/conf/certs/fizi.ca.key
SSLCertificateChainFile /etc/httpd/conf/certs/ca-bundle.pem

I've tried adding the following to my virtual host per [SOLVED] Zimbra 5 Mobile, sync using SSL and Apache Proxy does not work but that hasn't helped:

ProxyPass https://webmail.something.net
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1

Any ideas?



ProxyPass https://webmail.something.net
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1

Any ideas?

 
Posted : 09/26/2013 00:33