[horde] (no subject)

Simon Wilson simon at simonandkate.net
Thu Dec 12 06:31:30 UTC 2013


> Quoting Simon Wilson <simon at simonandkate.net>:
>
>> When using Tasks and Notes for MS Exchange application on android,
>> it fails to sync to Horde. It looks awesome,  so I'd like to see if
>> it can be made to sync.
>>
>> It auths to Horde and creates an account,  and the "device"
>> provisions Ok as Android | Tasks+Notes/6.7.0Wed, 11 Dec 2013
>> 14:50:42 +1000   7508073656    Provisioned   NOTESF664E0D92A2F9F8E
>>
>> But nothing syncs.
>
> Works perfectly here.
>
>
>> The Apache error log shows this:
>>
>> [Wed Dec 11 15:11:11 2013] [error] [client 192.168.1.155] PHP Fatal
>> error:  Call to undefined method Mnemo_Exception::encodeStream() in
>> /usr/share/pear/Horde/ActiveSync/Message/Base.php on line 390
>> [Wed Dec 11 15:11:14 2013] [error] [client 192.168.1.155] PHP Fatal
>> error:  Call to undefined method Mnemo_Exception::encodeStream() in
>> /usr/share/pear/Horde/ActiveSync/Message/Base.php on line 390
>
> I have a hard time seeing how a Mnemo_Exception could make it that
> far. That error means that an Mnemo_Exception was returned from
> Mnemo_Api::export() - and from what I can tell that looks impossible.
> No idea what is causing that for you.
>
>
>> Horde AS device log appears normal,  I can send that if needed? I
>> see notes attempting to sync in that log.
>>
>> The software's logging shows this:
>>
>>
>> 2013-12-11 15:11:10 [4459] org.myklos.inote.NotesSyncAdapterService:
>> performSync start (Version: 6.7.0, Account: simon at simonandkate.net,
>> Last sync: 15:03)
>> 2013-12-11 15:11:10 [4459] org.myklos.inote.ActiveSyncClient:
>> ActiveSync version: 14.0, DeviceId: Notesf664e0d92a2f9f8e
>> 2013-12-11 15:11:10 [4459]
>> org.myklos.sync.activesync.control.HttpUtils: HTTP POST
>> https://mail.simonandkate.net:443/Microsoft-Server-ActiveSync?Cmd=Sync&User=simon&DeviceId=Notesf664e0d92a2f9f8e&DeviceType=Android
>> 2013-12-11 15:11:11 [4459]
>> org.myklos.sync.activesync.control.HttpUtils: >>> <Sync
>> xmlns="AirSync"><Collections><Collection><SyncKey>{52a7ef22-9ec0-4d8e-acca-4c9ac0a801e6}1</SyncKey><CollectionId>@Notes@</CollectionId><DeletesAsMoves/><GetChanges/><Options><BodyPreference xmlns="AirSyncBase"><Type>1</Type></BodyPreference></Options></Collection><Collection xmlns="AirSync"><SyncKey>{52a7ef22-bf48-4b13-9322-4c9ac0a801e6}1</SyncKey><CollectionId>@Tasks@</CollectionId><DeletesAsMoves/><GetChanges/><Options><BodyPreference  
>> xmlns="AirSyncBase"><Type>1</Type></BodyPreference></Options></Collection></Collections><WindowSize
>> xmlns="AirSync">32</WindowSize></Sync>
>> 2013-12-11 15:11:11 [4459]
>> org.myklos.sync.activesync.control.HttpUtils: >>> WBXML
>> 03016A00455C4F4B037B35326137656632322D396563302D346438652D616363612D3463396163306138303165367D3100015203404E6F7465734000011E1357001145460331000101010100004F4B037B35326137656632322D626634382D346231332D393332322D3463396163306138303165367D3100015203405461736B734000011E1357001145460331000101010101000055033332000101
>> 2013-12-11 15:11:12 [4459] HTTP Response: 500 Internal Server Error:
>> java.io.FileNotFoundException:
>> https://mail.simonandkate.net:443/Microsoft-Server-ActiveSync?Cmd=Sync&User=simon&DeviceId=Notesf664e0d92a2f9f8e&DeviceType=Android
>>
>> libcore.net.http.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:186)
>>
>> libcore.net.http.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:271)
>>
>> org.myklos.sync.activesync.control.HttpUtils.getResponse(HttpUtils.java:52)
>>
>> org.myklos.sync.activesync.control.handler.ItemSyncHandler.process(ItemSyncHandler.java:87)
>>
>> org.myklos.sync.activesync.control.ActiveSyncController.getItems(ActiveSyncController.java:181)
>>    org.myklos.inote.ActiveSyncClient.processItems(ActiveSyncClient.java:882)
>>
>> org.myklos.inote.ActiveSyncClient.processInternal(ActiveSyncClient.java:1362)
>>    org.myklos.inote.ActiveSyncClient.process(ActiveSyncClient.java:1385)
>>
>> org.myklos.inote.NotesSyncAdapterService.performSync(NotesSyncAdapterService.java:203)
>>
>> org.myklos.inote.NotesSyncAdapterService$SyncAdapterImpl.onPerformSync(NotesSyncAdapterService.java:65)
>>
>> android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:261)
>>
>> 2013-12-11 15:11:12 [4459] org.myklos.inote.NotesSyncAdapterService:
>> performSync end
>>
>>
>> I notice that the case is different between the name the device
>> calls and Horde's name for it.
>>
>> Any ideas? I have not yet dug into the Base.php error noted.
>
> You are going to need to trace where the Mnemo_Exception is being
> returned from.
>
> --
> mike
>
> The Horde Project (www.horde.org)
> mrubinsk at horde.org


----- End message from Michael J Rubinsky <mrubinsk at horde.org> -----


There's a 500 error in the middle of all of that log that is killing  
the sync I assume:

2013-12-11 15:11:12 [4459] HTTP Response: 500 Internal Server Error:
java.io.FileNotFoundException:
https://mail.simonandkate.net:443/Microsoft-Server-ActiveSync?Cmd=Sync&User=simon&DeviceId=Notesf664e0d92a2f9f8e&DeviceType=Android

Or is that likely to be the end result of the Exception?

Could you point me in the direction of how to trace the error? I know  
that you can put code in to the PHP that dumps out variables and  
backtrace, but I'm not sure where to put it in this instance?

Simon

--
Simon Wilson
M: 0400 12 11 16
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 1339 bytes
Desc: PGP Public Key
URL: <http://lists.horde.org/archives/horde/attachments/20131212/a7040250/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: PGP Digital Signature
URL: <http://lists.horde.org/archives/horde/attachments/20131212/a7040250/attachment-0001.bin>


More information about the horde mailing list