<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Synchronization problem with Kronolith</title> 
  <pubDate>Fri, 10 Apr 2026 09:35:36 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/12934</link> 
  <atom:link rel="self" type="application/rss+xml" title="Synchronization problem with Kronolith" href="https://bugs.horde.org/ticket/12934/rss" /> 
  <description>Synchronization problem with Kronolith</description> 
 
   
   
  <item> 
   <title>Hi,

Since the beginning, we have a weird behaviour when a</title> 
   <description>Hi,

Since the beginning, we have a weird behaviour when accepting meetings in Outlook 2013 or Windows Phone calendar application (WP8.0) using EAS with horde server (latest stable version of all modules).

When receiving an invitation from anybody :
- If i accept the invitation from my phone, the meeting is only visible in the WP calendar and is not synchronized with Kronolith. So, the meeting isn&#039;t also visible in the OL2013 calendar.
- If i accept the invitation from OL2013, the meeting is only visible in the OL2013 calendar and is not synchronized with Kronolith. So, the meeting isn&#039;t also available in the WP calendar.
- If i accept the invitation from the horde imp application, the meeting is visible on all the devices. The horde to multiple devices synchronization is working well.

When creating a new meeting :
- From OL2013, WP or Kronolith, the meeting is correctly synchronized on all the devices.

Here is the log when accepting a meeting in OL2013 :

Jan 23 22:45:32 server1 HORDE: [horde] Returning HTTP 500 while handling MeetingResponse command. [pid 31372 on line 156 of &quot;/usr/share/horde/rpc.php&quot;]
Jan 23 22:45:32 server1 HORDE: [horde] Error in communicating with ActiveSync server: Protocol Error [pid 31372 on line 162 of &quot;/usr/share/pear/Horde/Rpc/ActiveSync.php&quot;]
Jan 23 22:45:32 server1 HORDE: [horde] #0 /usr/share/pear/Horde/ActiveSync/Request/Base.php(249): Horde_ActiveSync_Request_MeetingResponse-&gt;_handle()#012#1 /usr/share/pear/Horde/ActiveSync.php(898): Horde_ActiveSync_Request_Base-&gt;handle()#012#2 /usr/share/pear/Horde/Rpc/ActiveSync.php(143): Horde_ActiveSync-&gt;handleRequest(&#039;MeetingResponse&#039;, &#039;1CCF41137AF3454...&#039;)#012#3 /usr/share/horde/rpc.php(156): Horde_Rpc_ActiveSync-&gt;getResponse(NULL)#012#4 {main} [pid 31372 on line 162 of &quot;/usr/share/pear/Horde/Rpc/ActiveSync.php&quot;]
Jan 23 22:45:32 server1 HORDE: [horde] Buffer contents:  [pid 31372 on line 162 of &quot;/usr/share/pear/Horde/Rpc/ActiveSync.php&quot;]

I don&#039;t know if this is a known behaviour or a bug. Maybe, we have a configuration problem but i need help to debug.

Thanks in advance

Kind Regards

Richard</description> 
   <pubDate>Thu, 23 Jan 2014 22:07:29 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12934#t82128</link> 
  </item> 
   
  <item> 
   <title>&gt; Hi,
&gt;
&gt; Since the beginning, we have a weird behaviour w</title> 
   <description>&gt; Hi,
&gt;
&gt; Since the beginning, we have a weird behaviour when accepting 
&gt; meetings in Outlook 2013 or Windows Phone calendar application 
&gt; (WP8.0) using EAS with horde server (latest stable version of all 
&gt; modules).

Not sure what you mean by &quot;since the beginning&quot; since OL2013 support was added fairly recently.

Anyway,I remember there being a known feature/bug in OL2013 where accepting meeting requests puts the resulting calendar entry in the *local* calendar and not the ActiveSync calendar so it is never synchronized. I haven&#039;t checked for any updates on this lately, but a google search should shed light on this.

&gt; When receiving an invitation from anybody :
&gt; - If i accept the invitation from my phone, the meeting is only 
&gt; visible in the WP calendar and is not synchronized with Kronolith.
&gt; So, the meeting isn&#039;t also visible in the OL2013 calendar.
&gt; - If i accept the invitation from OL2013, the meeting is only visible 
&gt; in the OL2013 calendar and is not synchronized with Kronolith. So, 
&gt; the meeting isn&#039;t also available in the WP calendar.


Cannot reproduce. Accepting the meeting on my WP 8 device sends the correct MEETING_RESPONSE command to the server which triggers the creation of the new event. Additionally, the device asks to send the response to the ORGANIZER and if selected, sends an appropriate iTip.  The only issue was Horde was also generating an iTip response so the ORGANIZER may have received multiple response emails but that should have no affect on the creation of the calendar entry.

&gt; Here is the log when accepting a meeting in OL2013 :
&gt;
&gt; Jan 23 22:45:32 server1 HORDE: [horde] Returning HTTP 500 while 
&gt; handling MeetingResponse command. [pid 31372 on line 156 of 
&gt; &quot;/usr/share/horde/rpc.php&quot;]
&gt; Jan 23 22:45:32 server1 HORDE: [horde] Error in communicating with 
&gt; ActiveSync server: Protocol Error [pid 31372 on line 162 of 
&gt; &quot;/usr/share/pear/Horde/Rpc/ActiveSync.php&quot;]

^^^ This suggests that there is either an issue with the Wbxml that the client is sending up to the server, or we are not properly parsing some data correctly. I would need to see the synclog to see what is going on.

</description> 
   <pubDate>Fri, 24 Jan 2014 05:57:57 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12934#t82129</link> 
  </item> 
   
  <item> 
   <title>Hi Michael.
First of all, many thanks for helping me.
Answ</title> 
   <description>Hi Michael.
First of all, many thanks for helping me.
Answers in the text.

&gt;&gt; Hi,
&gt;&gt;
&gt;&gt; Since the beginning, we have a weird behaviour when accepting
&gt;&gt; meetings in Outlook 2013 or Windows Phone calendar application
&gt;&gt; (WP8.0) using EAS with horde server (latest stable version of all
&gt;&gt; modules).
&gt;
&gt; Not sure what you mean by &quot;since the beginning&quot; since OL2013 support 
&gt; was added fairly recently.

Sorry Michael.
I meant since we have started to use Horde, a year ago (so it was horde 5 !!)
As for information, we are french so we are using french version of OL2013 and accentuated characters.

&gt;
&gt; Anyway,I remember there being a known feature/bug in OL2013 where 
&gt; accepting meeting requests puts the resulting calendar entry in the 
&gt; *local* calendar and not the ActiveSync calendar so it is never 
&gt; synchronized. I haven&#039;t checked for any updates on this lately, but a 
&gt; google search should shed light on this.
&gt;
&gt;&gt; When receiving an invitation from anybody :
&gt;&gt; - If i accept the invitation from my phone, the meeting is only
&gt;&gt; visible in the WP calendar and is not synchronized with Kronolith.
&gt;&gt; So, the meeting isn&#039;t also visible in the OL2013 calendar.
&gt;&gt; - If i accept the invitation from OL2013, the meeting is only visible
&gt;&gt; in the OL2013 calendar and is not synchronized with Kronolith. So,
&gt;&gt; the meeting isn&#039;t also available in the WP calendar.
&gt;
&gt;
&gt; Cannot reproduce. Accepting the meeting on my WP 8 device sends the 
&gt; correct MEETING_RESPONSE command to the server which triggers the 
&gt; creation of the new event. Additionally, the device asks to send the 
&gt; response to the ORGANIZER and if selected, sends an appropriate iTip. 
&gt;  The only issue was Horde was also generating an iTip response so the 
&gt; ORGANIZER may have received multiple response emails but that should 
&gt; have no affect on the creation of the calendar entry.
&gt;
&gt;&gt; Here is the log when accepting a meeting in OL2013 :
&gt;&gt;
&gt;&gt; Jan 23 22:45:32 server1 HORDE: [horde] Returning HTTP 500 while
&gt;&gt; handling MeetingResponse command. [pid 31372 on line 156 of
&gt;&gt; &quot;/usr/share/horde/rpc.php&quot;]
&gt;&gt; Jan 23 22:45:32 server1 HORDE: [horde] Error in communicating with
&gt;&gt; ActiveSync server: Protocol Error [pid 31372 on line 162 of
&gt;&gt; &quot;/usr/share/pear/Horde/Rpc/ActiveSync.php&quot;]
&gt;
&gt; ^^^ This suggests that there is either an issue with the Wbxml that 
&gt; the client is sending up to the server, or we are not properly 
&gt; parsing some data correctly. I would need to see the synclog to see 
&gt; what is going on.
&gt;
&gt;

Here is the synclog for the test ran this morning (trace_synclog.txt)
1) Log in on horde with user tritem.test
2) Under kronolith, new meeting inviting richard.beltrame@tritem.net
3) Under OL2013, receiving the invitation and accepting
Result : the meeting is visible in OL2013 but not synchronized on horde kronolith.</description> 
   <pubDate>Fri, 24 Jan 2014 10:26:52 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12934#t82130</link> 
  </item> 
   
  <item> 
   <title>Outlook is sending an invalid response according to MS&#039;s own</title> 
   <description>Outlook is sending an invalid response according to MS&#039;s own specifications.

2014-01-24T11:12:17+01:00 DEBUG: [23761] I  &lt;MeetingResponse:MeetingResponse&gt;
2014-01-24T11:12:17+01:00 DEBUG: [23761] I   &lt;MeetingResponse:Request&gt;
2014-01-24T11:12:17+01:00 DEBUG: [23761] I    &lt;MeetingResponse:FolderId&gt;
2014-01-24T11:12:17+01:00 DEBUG: [23761] I      @Calendar@
2014-01-24T11:12:17+01:00 DEBUG: [23761] I    &lt;/MeetingResponse:FolderId&gt;
2014-01-24T11:12:17+01:00 DEBUG: [23761] I    &lt;MeetingResponse:UserResponse&gt;
2014-01-24T11:12:17+01:00 ERR: [23761] Unmatched end tag:
2014-01-24T11:12:17+01:00 ERR: Array
(
    [1] =&gt; 1
    [2] =&gt; MeetingResponse:UserResponse
    [4] =&gt; 1
)

2014-01-24T11:12:17+01:00 ERR: Protocol Error


According to the MS-ASCMD: 6.21 MeetingResponse Request Schema, the UserResponse element comes before the FolderId element in a &lt;xs:sequence&gt; block. Since it is arriving in an unexpected order, the parsing fails. I can work around it in code since there is really no technical requirement to have the response value before parsing the folderid, other than the specs stating it must be in that sequence. 

It&#039;s bad enough that different clients implement things so differently, but when different versions of the same client do this it is VERY frustrating.</description> 
   <pubDate>Fri, 24 Jan 2014 14:58:24 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12934#t82133</link> 
  </item> 
   
  <item> 
   <title>Michael,

Thanks for this clear and fast analysis.

If y</title> 
   <description>Michael,

Thanks for this clear and fast analysis.

If you can find a workaroud for this problem, it will be great because i had already missed some meetings because they weren&#039;t not synchronized to my phone.
I&#039;m now used to accept the meetings from horde but it&#039;s not the simpliest way (i also use a tablet, so 3 devices !!) and i often triple check the 3 calendars ...

I totally agree with you about the non respect of Microsoft own specifications and the frustration which comes with. Unfortunately, it&#039;s not the first time and i guess it won&#039;t neither be the last ...

Thanks again for your great work and support on Horde.
It really rocks.

Kind regards

Richard


&gt; Outlook is sending an invalid response according to MS&#039;s own specifications.
&gt;
&gt; 2014-01-24T11:12:17+01:00 DEBUG: [23761] I  &lt;MeetingResponse:MeetingResponse&gt;
&gt; 2014-01-24T11:12:17+01:00 DEBUG: [23761] I   &lt;MeetingResponse:Request&gt;
&gt; 2014-01-24T11:12:17+01:00 DEBUG: [23761] I    &lt;MeetingResponse:FolderId&gt;
&gt; 2014-01-24T11:12:17+01:00 DEBUG: [23761] I      @Calendar@
&gt; 2014-01-24T11:12:17+01:00 DEBUG: [23761] I    &lt;/MeetingResponse:FolderId&gt;
&gt; 2014-01-24T11:12:17+01:00 DEBUG: [23761] I    &lt;MeetingResponse:UserResponse&gt;
&gt; 2014-01-24T11:12:17+01:00 ERR: [23761] Unmatched end tag:
&gt; 2014-01-24T11:12:17+01:00 ERR: Array
&gt; (
&gt;     [1] =&gt; 1
&gt;     [2] =&gt; MeetingResponse:UserResponse
&gt;     [4] =&gt; 1
&gt; )
&gt;
&gt; 2014-01-24T11:12:17+01:00 ERR: Protocol Error
&gt;
&gt;
&gt; According to the MS-ASCMD: 6.21 MeetingResponse Request Schema, the 
&gt; UserResponse element comes before the FolderId element in a 
&gt; &lt;xs:sequence&gt; block. Since it is arriving in an unexpected order, the 
&gt; parsing fails. I can work around it in code since there is really no 
&gt; technical requirement to have the response value before parsing the 
&gt; folderid, other than the specs stating it must be in that sequence.
&gt;
&gt; It&#039;s bad enough that different clients implement things so 
&gt; differently, but when different versions of the same client do this 
&gt; it is VERY frustrating.
</description> 
   <pubDate>Fri, 24 Jan 2014 16:05:59 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12934#t82134</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (master):

commit ff812e6838ab</title> 
   <description>Changes have been made in Git (master):

commit ff812e6838abd3d55bec040904558c7a168d89d7
Author: Michael J Rubinsky &lt;mrubinsk@horde.org&gt;
Date:   Mon Jan 27 09:46:50 2014 -0500

    Bug: 12934 Don&#039;t assume these are in the correct order.

 .../Horde/ActiveSync/Request/MeetingResponse.php   |   48 +++++++++++---------
 1 files changed, 27 insertions(+), 21 deletions(-)

http://git.horde.org/horde-git/-/commit/ff812e6838abd3d55bec040904558c7a168d89d7</description> 
   <pubDate>Mon, 27 Jan 2014 14:48:49 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12934#t82144</link> 
  </item> 
   
  <item> 
   <title>Horde_ActiveSync 2.12.1</title> 
   <description>Horde_ActiveSync 2.12.1</description> 
   <pubDate>Mon, 27 Jan 2014 14:50:00 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12934#t82145</link> 
  </item> 
   
  <item> 
   <title>&gt; Horde_ActiveSync 2.12.1

Hi Michael,

Thanks for this </title> 
   <description>&gt; Horde_ActiveSync 2.12.1

Hi Michael,

Thanks for this new version.

I tried the update but unfortunately, it still doesn&#039;t work for me.
You will find the sync log attached.

I can&#039;t find any error &quot;Unmatched end tag&quot; like before, but the accepted meeting under OL2013 doesn&#039;t appear in my kronolith agenda.

May you have a look ?
If you need any other information, tell me.

Thanks

Richard</description> 
   <pubDate>Mon, 27 Jan 2014 23:20:07 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12934#t82162</link> 
  </item> 
   
  <item> 
   <title>This log only shows 1 message being deleted, and  2 messages</title> 
   <description>This log only shows 1 message being deleted, and  2 messages being sent to the client, one of which looks like a meeting request. Nothing else. It doesn&#039;t show the meeting request being read, it doesn&#039;t show an iTip email being sent, and it certainly doesn&#039;t show a MEETING_RESPONSE command being sent from OL to the server. If OL doesn&#039;t send the appropriate commands when &quot;accept&quot; is chosen on the client there is nothing we can do about it. </description> 
   <pubDate>Tue, 28 Jan 2014 14:22:03 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12934#t82166</link> 
  </item> 
   
  <item> 
   <title>&gt; This log only shows 1 message being deleted, and  2 messag</title> 
   <description>&gt; This log only shows 1 message being deleted, and  2 messages being 
&gt; sent to the client, one of which looks like a meeting request. 
&gt; Nothing else. It doesn&#039;t show the meeting request being read, it 
&gt; doesn&#039;t show an iTip email being sent, and it certainly doesn&#039;t show 
&gt; a MEETING_RESPONSE command being sent from OL to the server. If OL 
&gt; doesn&#039;t send the appropriate commands when &quot;accept&quot; is chosen on the 
&gt; client there is nothing we can do about it.

Sorry Michael.
I made a mistake with the log file (took my phone device log file and not OL2013 log file !!)

Here is the good log file and there is a new ERR (Horde_ActiveSync v2.12.1)

Kind regards

Richard</description> 
   <pubDate>Tue, 28 Jan 2014 15:36:35 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12934#t82167</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (master):

commit fdfdf4ed18b0</title> 
   <description>Changes have been made in Git (master):

commit fdfdf4ed18b07155cf0a91311b0c041b9cd8de9d
Author: Michael J Rubinsky &lt;mrubinsk@horde.org&gt;
Date:   Tue Jan 28 10:54:46 2014 -0500

    Another fix for Bug: 12934.
    
    Wonderful. Outlook sends the collection id as the *calendar* id, not
    the email folder&#039;s id when sending meeting responses regardless of
    which interface the response is sent from, email or calendar. Thank
    goodness that it at least keeps the original message UID so we can
    still find it in the INBOX.
    
    So, we now have to always retry with the INBOX collection if fetching
    the response fails. If the user moves the invitation out of the INBOX
    before responding to it, we don&#039;t really have any chance of finding it
    so must give up.

 .../Horde/ActiveSync/Request/MeetingResponse.php   |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/fdfdf4ed18b07155cf0a91311b0c041b9cd8de9d</description> 
   <pubDate>Tue, 28 Jan 2014 15:58:56 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12934#t82168</link> 
  </item> 
   
  <item> 
   <title>Fixed in the just released Horde_ActiveSync-2.12.2</title> 
   <description>Fixed in the just released Horde_ActiveSync-2.12.2</description> 
   <pubDate>Tue, 28 Jan 2014 16:08:21 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12934#t82169</link> 
  </item> 
   
  <item> 
   <title>&gt; Fixed in the just released Horde_ActiveSync-2.12.2

Grea</title> 
   <description>&gt; Fixed in the just released Horde_ActiveSync-2.12.2

Great, it works now.

Thanks very much

Kind.

Richard</description> 
   <pubDate>Tue, 28 Jan 2014 16:16:23 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/12934#t82170</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
