Summary | ActiveSync no longer works |
Queue | Synchronization |
Queue Version | Git master |
Type | Bug |
State | Not A Bug |
Priority | 2. Medium |
Owners | mrubinsk (at) horde (dot) org |
Requester | lehmann (at) ans-netz (dot) de |
Created | 03/14/2014 (4135 days ago) |
Due | |
Updated | 03/27/2014 (4122 days ago) |
Assigned | 03/20/2014 (4129 days ago) |
Resolved | 03/27/2014 (4122 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
0360 46 61 74 61 6c 20 65 72 72 6f 72 3c 2f 62 3e 3a Fatal error</b>:
0370 20 20 43 6c 61 73 73 20 27 48 6f 72 64 65 5f 4d Class 'Horde_M
0380 61 70 69 5f 54 69 6d 65 7a 6f 6e 65 27 20 6e 6f api_Timezone' no
0390 74 20 66 6f 75 6e 64 20 69 6e 20 3c 62 3e 2f 75 t found in <b>/u
03a0 73 72 2f 6c 6f 63 61 6c 2f 73 68 61 72 65 2f 70 sr/local/share/p
03b0 65 61 72 2f 48 6f 72 64 65 2f 41 63 74 69 76 65 ear/Horde/Active
03c0 53 79 6e 63 2f 4d 65 73 73 61 67 65 2f 41 70 70 Sync/Message/App
03d0 6f 69 6e 74 6d 65 6e 74 2e 70 68 70 3c 2f 62 3e ointment.php</b>
03e0 20 6f 6e 20 6c 69 6e 65 20 3c 62 3e 32 37 39 3c on line <b>279<
03f0 2f 62 3e 3c 62 72 20 2f 3e 0a /b><br />.
kinda bad that this can be found nowhere..... installed Horde_Mapi and
now it works. Sorry for the noise - obviously the FreeBSD port misses
this dependency.... I'll inform the port maintainer
wireshark won't work...
use them. Just have to make sure to start the trace before the initial
negotiation takes place.
Android versions down to 2.x if you have any android version you are
sure will work...
(various different ROMS) as well as the emulator.
and will try to further debug this problem. Problem in my setup is,
that everything is done over SSL and wireshark won't work...
Android versions down to 2.x if you have any android version you are
sure will work...
different ROMS) as well as the emulator.
of 32 tags seems to be supported - check line 426 where the
assignment takes place and line 81 where the array is declared.
Another point is - why is the xml not completly logged? Is it
invalid in genral or just not logged completly?
somewhere that stops processing. Check the server error log and/or the
horde debug log.
Also wireshark trace will show exactly what is being sent to the
client, so that would be useful in figuring out what is wrong with the
wbxml, though my guess is that some error text is being leaked into
the wbxml stream.
New Attachment: 4_4_2.log
As I also develop Android apps, I just fired up a clean android 4.4.2
emulator on my Desktop and configured an Exchange Account and ran the
Calendar sync... See the attached exception
How can it work on an Android phone at all? I can also try other
Android versions down to 2.x if you have any android version you are
sure will work...
Checking the source at (no idea what Android version it is)
https://android.googlesource.com/platform/packages/apps/Exchange/+/ics-mr1/src/com/android/exchange/adapter/Parser.java
I guess, that the xml might be invalid or "to deep" as only a depth of
32 tags seems to be supported - check line 426 where the assignment
takes place and line 81 where the array is declared.
Another point is - why is the xml not completly logged? Is it invalid
in genral or just not logged completly?
DEBUG: [9357] O <Folders>
DEBUG: [9357] O <Folder>
DEBUG: [9357] O <SyncKey>
DEBUG: [9357] O {53330849-eef8-45ba-9b6a-6e4a4e6f48ba}2
DEBUG: [9357] O </SyncKey>
DEBUG: [9357] O <FolderId>
DEBUG: [9357] O @Calendar@
DEBUG: [9357] O </FolderId>
DEBUG: [9357] O <Status>
DEBUG: [9357] O 1
DEBUG: [9357] O </Status>
INFO: [9357] Horde_Core_ActiveSync_Driver::getMessage(@Calendar@,
20130525100228.Q9N04N7InFClaWmpHdJ8Vg1@nnnn)
- The first two logs where written when a new event was created on
the mobile and the mobile tried to "upload" this change to horde
anything from horde. This is absolutely not a horde issue.
(the mobile had nothing to upload then) - this resulted in the other
two log fragments
version being used. I know you said that's not the case, but it's the
only explanation I can come up with.
Since I can't reproduce any of this, you are going to have to track
this down further on your own.
commit is not going to change the outcome of the detection which
version to use.
New Attachment: new_log.txt
- The first two logs where written when a new event was created on the
mobile and the mobile tried to "upload" this change to horde
- I then deleted this event on the mobile, and restarted the sync (the
mobile had nothing to upload then) - this resulted in the other two
log fragments
Assigned to Michael Rubinsky
commit 6a4b0c8538c84001dd327f598c618b0a0628a3b8
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date: Mon Mar 24 00:10:16 2014 -0400
Revert "Default to EAS 14.1"
This reverts commit 91b38c1af3389e897a5ff6d836cf925a8fd1b059.
Figures. Adding a default that was supposed to make testing easier
broke functionality because no unit test was covering the functionality.
Possible fix for
Bug: 13052framework/ActiveSync/lib/Horde/ActiveSync.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
As you can see in the mobiles log, The mobile failed to process:
2014-03-14T22:07:07+01:00 DEBUG: [44210] O <Folders>
2014-03-14T22:07:07+01:00 DEBUG: [44210] O <Folder>
2014-03-14T22:07:07+01:00 DEBUG: [44210] O <SyncKey>
2014-03-14T22:07:07+01:00 DEBUG: [44210] O
{53235d61-7a94-4399-88a1-9bb74e6f48ba}2
2014-03-14T22:07:07+01:00 DEBUG: [44210] O </SyncKey>
2014-03-14T22:07:07+01:00 DEBUG: [44210] O <FolderId>
2014-03-14T22:07:07+01:00 DEBUG: [44210] O @Calendar@
2014-03-14T22:07:07+01:00 DEBUG: [44210] O </FolderId>
2014-03-14T22:07:07+01:00 DEBUG: [44210] O <Status>
2014-03-14T22:07:07+01:00 DEBUG: [44210] O 1
2014-03-14T22:07:07+01:00 DEBUG: [44210] O </Status>
If you think my log misses some information, please tell me how to get it.
Queue ⇒ Synchronization
State ⇒ Feedback
Bug #13022might have the same root cause as this. Which ActiveSyncclient are you running on Android?
it worked once in the past but I don't know when it stopped working to
sync :/
I switched to CalDAV to get back the syncronisatzion but I rather
would like to sync all my stuff with ActiveSync
Bug #13022might have the same root cause as this. Which ActiveSyncclient are you running on Android?
Priority ⇒ 2. Medium
State ⇒ Unconfirmed
New Attachment: horde_sync.txt
Patch ⇒ No
Milestone ⇒
Queue ⇒ Kronolith
Summary ⇒ ActiveSync does no longer work
Type ⇒ Bug
Nothing is synchronized, neither Horde -> Android, nor Android -> Horde.
I've attached the horde and the android log file (both contained in
horde_sync.txt) for one Sync Request.
You can see, that the android throws an
ArrayIndexOutOfBoundsException. I guess the content sent by Horde is
wrong.