6.0.0-beta1
11/8/25

[#13912] activesync error http 500 with WP8.1
Summary activesync error http 500 with WP8.1
Queue Synchronization
Queue Version FRAMEWORK_5_2
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester frederic.g (at) courgette (dot) viewline (dot) net
Created 03/12/2015 (3894 days ago)
Due
Updated 03/18/2015 (3888 days ago)
Assigned 03/13/2015 (3893 days ago)
Resolved 03/18/2015 (3888 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
03/18/2015 05:05:26 PM Michael Rubinsky Comment #5
Assigned to Michael Rubinsky
State ⇒ Resolved
Reply to this comment
Horde_ActiveSync 2.26.2
03/18/2015 05:04:47 PM Git Commit Comment #4 Reply to this comment
Changes have been made in Git (master):

commit a33777f0601d5ff7f1ceea0520df4fd4428fe703
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Wed Mar 18 13:02:39 2015 -0400

     Fix PARTIAL sync handling when no COLLECTIONS are provided.

     Bug: 13912

  .../lib/Horde/ActiveSync/Collections.php           |    4 ++++
  1 files changed, 4 insertions(+), 0 deletions(-)

http://github.com/horde/horde/commit/a33777f0601d5ff7f1ceea0520df4fd4428fe703
03/13/2015 06:28:44 PM Michael Rubinsky Comment #3
Priority ⇒ 1. Low
State ⇒ Feedback
Reply to this comment
The log provided shows no error.

Please provide the portion of the synclog that occurs during the time 
you are receiving this error.
03/13/2015 03:27:43 PM Michael Rubinsky Version ⇒ FRAMEWORK_5_2
 
03/13/2015 03:27:19 PM Michael Rubinsky Version ⇒ Git master
Queue ⇒ Synchronization
 
03/12/2015 04:48:01 PM frederic (dot) g (at) courgette (dot) viewline (dot) net Comment #2
New Attachment: log_term.txt Download
Reply to this comment
missing attachment file
03/12/2015 04:45:46 PM frederic (dot) g (at) courgette (dot) viewline (dot) net Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ activesync error http 500 with WP8.1
Queue ⇒ Horde Groupware Webmail Edition
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
When I synchronize account using Active Sync, synchronization finally 
gets broken with a Windows Phone Lumia 530.
Also tried with a Lumia 735.

I sometime get in logs error http 500.

Sometimes terminal can synchronize, sometimes not.

When I use IOS (7 or 8) no problem happens.

I've tried to remove terminal from horde interface and also recreate 
the account on terminal, but finally problem comes back.

I get often these messages in /var/log/messages:

Mar 12 16:57:01 localhost HORDE: #0 
/usr/share/pear/Horde/ActiveSync/Request/Sync.php(242): 
Horde_ActiveSync_Collections->getMissingCollectionsFromCache()#012#1 
/usr/share/pear/Horde/ActiveSync/Request/Base.php(253): 
Horde_ActiveSync_Request_Sync->_handle()#012#2 
/usr/share/pear/Horde/ActiveSync.php(882): 
Horde_ActiveSync_Request_Base->handle()#012#3 
/usr/share/pear/Horde/Rpc/ActiveSync.php(143): 
Horde_ActiveSync->handleRequest('Sync', '400772f1115dbef...')#012#4 
/usr/share/horde/r
pc.php(158): Horde_Rpc_ActiveSync->getResponse(NULL)#012#5 {main} [pid 
15111 on line 162 of "/usr/share/pear/Horde/Rpc/ActiveSync.php"]
Mar 12 16:57:01 localhost HORDE: Buffer contents:  [pid 15111 on line 
162 of "/usr/share/pear/Horde/Rpc/ActiveSync.php"]
Mar 12 16:57:59 localhost HORDE: [imp] Login success for account 
(t.t.t.t) (forwarded for [a.b.c.d]) to {imap://server.domaine.com/
[pid 15114 on l
ine 157 of "/usr/share/horde/imp/lib/Auth.php"]
Mar 12 16:58:00 localhost HORDE: [imp] Login success for account 
(t.t.t.t) (forwarded for [a.b.c.d]) to {imap://server.domaine.com/
[pid 15113 on l
ine 157 of "/usr/share/horde/imp/lib/Auth.php"]
Mar 12 16:58:01 localhost HORDE: Returning HTTP 500 while handling 
Sync command. [pid 15113 on line 158 of "/usr/share/horde/rpc.php"]
Mar 12 16:58:01 localhost HORDE: Error in communicating with 
ActiveSync server: Did not initialize the PARTIAL sync. [pid 15113 on 
line 162 of "/usr/share/pear/Ho
rde/Rpc/ActiveSync.php"]

And synchronization fails for unknown reason (without error HTTP 500) 
in log file.
Also happens when using WiFi.

  I join terminal log file.

Thanks.

Saved Queries