[commits] [Wiki] changed: ActiveSync

Wiki Guest wikiguest at horde.org
Tue Jun 11 00:45:43 UTC 2013


guest [59.167.157.243]  Tue, 11 Jun 2013 00:45:43 +0000

Modified page: http://wiki.horde.org/ActiveSync
New Revision:  192
Change log:  Add info about Horde Activesync behind Apache proxy

@@ -173,8 +173,30 @@

  +++ Issues/Workarounds

  For some reason, Outlook 2013 doesn't use EAS to provide Free/Busy  
lookup, even though the version of the EAS protocol it uses supports  
it. If you want Outlook to be able to lookup Free/Busy information  
using Horde/Kronolith you need to provide it with the Free/Busy URL.  
Under //File -> Options -> Calendar Options// select the "Free/Busy  
Options" button. Enter Kronolith's Free/Busy URL:  
http://example.com/horde/kronolith/fb.php?u=%NAME%. The %NAME% string  
will be replaced by the user portion of the SMTP mailing address used  
in the meeting request.
+
+++ Setting up Horde !ActiveSync behind a Reverse Proxy Server
+
+Horde !ActiveSync connections are held open for a period of time up  
to $conf[activesync][ping][heartbeatmax] (max 3540 seconds). This can  
cause issues with proxy servers timing out on connections, resulting  
in errors like this in your proxy server's web server log:
+
+<code>
+[Mon Jun 10 22:24:56 2013] [error] [client 101.169.127.248]  
(70007)The timeout specified has expired: proxy: error reading status  
line from remote server 192.168.1.230
+[Mon Jun 10 22:24:56 2013] [error] [client 101.169.127.248] proxy:  
Error reading from remote server returned by  
/Microsoft-Server-ActiveSync
+</code>
+
+You need to ensure that your proxy server's configuration for the  
proxy allows for this.
+
+For an Apache proxy, my proxy server's timeout configuration is this:
+
+<code>
+  ProxyPass        / https://192.168.1.230/ connectiontimeout=600  
timeout=3000
+  ProxyPassReverse / https://192.168.1.230/
+</code>
+
+That allows for up to 600 seconds for a connection to be established  
(should cover ALL possibilities!) and then holds that connection open  
for up to 3000 seconds. My $conf[activesync][ping][heartbeatmax] is  
2700 seconds.
+
+This configuration completely got rid of remote server errors on my  
proxy server, and also slightly reduced chat between the devices and  
Horde, which should increase battery life.

  ++ What to do if you have problems (or How to help us help you)

  **First off, you should check the list of  
((ActiveSync/KnownIssues|known issues)) to see if your problem is  
expected or not**. You can also check the Horde bug tracker to see if  
your issue has been reported already.



More information about the commits mailing list