Sync from Thunderbird to Horde Adressbook does no more work

111 views
Skip to first unread message

ferdinan...@gmail.com

unread,
Aug 27, 2015, 4:56:46 PM8/27/15
to TZPUSH
I am not able to sync the Addressbook of Thunderbird 38.1 with Horde turba 4.2.8.

After starting the sync process I can see the message TzPush is: alldone. This message appears at once in the statusbar of Thunderbird.

But on my Horde Server no changes appear in the addressbook of the Horde Groupware..

As I remember TZpush was working With recent versions of Thunderbird / Horde.

Because I don't see any error message and I can't find any log entry on the server I am not able to reproduce the failure.

Please can you help me?

Gian Maria Calzolari

unread,
Aug 28, 2015, 4:06:26 AM8/28/15
to TZPUSH
Enable the debug in tzpush as written into tzpush's config "Note" tab

Debug

Set tzpush.debugwbxml to 1 in about:config

This will show you the xml being sent and received by tzpush in the error console.
It will also dump the raw wbxml in profile/wbxml.
Turn off after use, and delete profile/wbxml/all the stuff here

ferdinan...@gmail.com

unread,
Sep 2, 2015, 12:05:22 PM9/2/15
to TZPUSH
Thank you for answering me.

After setting tzpush.debugwbxml to 1 in about:config I can see some files in ~/.thunderbird/profilefolder/wbxml

wbxml-output wbxml-output-1 wbxml-output-2 wbxml-output-3 wbxml-output-4 wbxml-output-5

In the thunderbird error console I can see a large XML file, but I am not able to understand it. Anyway there are no addressbook entries visible for me ...
After the XML styled entries comes a lot of PHP code ...

Sorry I am not able to understand anything of that ...

Please tell me, wheather I shold post some parts of the error console output.
Anyway the last entry in the error cosole is:

tzpush wbxml status : server error? <

ferdinan...@gmail.com

unread,
Sep 2, 2015, 12:18:27 PM9/2/15
to TZPUSH
May be, this also could be relevant:

At the beginning of the PHP code entries in the error console I can see the message:

Expecting wbxml but got - <?php

Mark Nethersole

unread,
Sep 2, 2015, 12:50:32 PM9/2/15
to TZPUSH
In tzpush settings, set autosync time to zero.
Close Thunderbird then open Thunderbird.
Open error console and clear.
Open tzpush settings and click on Resync All.
Post output of error console if this does not fix.
You do not need to understand the xml. Hopefully we can use it to find problem.
Mark

ferdinan...@gmail.com

unread,
Sep 2, 2015, 1:26:26 PM9/2/15
to TZPUSH
Sorry, I had a failure in the apache2 config. The alias was not set correctly.

Now after having fixed this, I get only 3 short messages in the error console of tunderbird:

But sync of the addressbook still is not working.

message 1:

sending : <?xml version="1.0"?>
<Provision xmlns="Provision:">
<Policies>
<Policy>
<PolicyType>MS-EAS-Provisioning-WBXML</PolicyType>
</Policy>
</Policies>
</Provision>

message 2:
sending : POST https://my_server/horde/Microsoft-Server-ActiveSync?Cmd=Provision&User=christine&DeviceType=Thunderbird&DeviceId=1441213831126

message 3:
tzpush request status : reported -- 404

Mark Nethersole

unread,
Sep 2, 2015, 1:36:00 PM9/2/15
to TZPUSH
Turn off provisioning. 
Your 404 error suggest wrong server address or port. Try without use https://
I use a vanilla horde setup for testing. Default seems to be http://
Mark

Mark Nethersole

unread,
Sep 2, 2015, 1:39:09 PM9/2/15
to TZPUSH
Are you putting "myserver/horde" as server address. Try with just "myserver" 
Mark
Message has been deleted
Message has been deleted

ferdinan...@gmail.com

unread,
Sep 3, 2015, 3:01:03 PM9/3/15
to TZPUSH
Thank you, for answering me.

I corrected this configuration item.

Now the connection to the server seems to work and also the authentification.

But unfortunately tzpush is not syncing the thunderbird addressbook with the that of turba.
I created a small addressbook with some records. But nothing gets synchronized.

This is the output in the error console of thunderbird:

sending : <?xml version="1.0"?>

<FolderSync xmlns="FolderHierarchy:">
<SyncKey>0</SyncKey>
</FolderSync>

sending : POST http://my_server.xx/Microsoft-Server-ActiveSync?Cmd=FolderSync&User=christine&DeviceType=Thunderbird&DeviceId=1441306432210

Zeitstempel: 03.09.2015 20:59:09
Fehler: URIError: malformed URI sequence
Quelldatei: chrome://tzpush/content/send.js
Zeile: 38

Thank you in advance for help.
Ferdinand

abel....@gmail.com

unread,
Sep 3, 2015, 4:10:42 PM9/3/15
to TZPUSH
I have a similar issue with tzpush version 1.9.9.91 on Mozilla Thunderbird 38.2. That line 38, in send.js, reads 'else {return decodeURIComponent(escape(s))}}', after checking for platformversion >=40. When an adress field contains a UTF-8 character such as ü, escape("ü") returns %FC, which makes decodeURIComponent return the error mentioned. decodeURIComponent("ü"), without the escape, does work as expected, however. appInfo.platformVersion returns "38.2.0esrpre".

ferdinan...@gmail.com

unread,
Sep 4, 2015, 2:38:35 AM9/4/15
to TZPUSH
Thank you for answering me.
Please would you tell me, how do you debug this return values from the js program inside thunderbird? I am a beginner.
Ferdinand

abel....@gmail.com

unread,
Sep 4, 2015, 6:33:16 AM9/4/15
to TZPUSH
I'm not an expert on that subject, I'm afraid.

However, I just realized that this bug (the 'Fehler: URIError: malformed URI sequence' one) only triggers if extensions.tzpush.debugwbxml is set to 1 and a contact with a UTF-8 character over 0x7f in one of the synchronized fields is sent.

Mark Nethersole

unread,
Sep 4, 2015, 6:58:30 AM9/4/15
to TZPUSH
The error is is in the debugging part of tzpush. I will fix. In the mean time try turning off debugwbxml and try again.
Be back soon,
Mark 

Mark Nethersole

unread,
Sep 4, 2015, 7:30:54 AM9/4/15
to TZPUSH
I have added an exception so debugwbxml will now work.
Please test.
Mark
tzpush.xpi

abel....@gmail.com

unread,
Sep 4, 2015, 8:04:08 AM9/4/15
to TZPUSH
Works here!

ferdinan...@gmail.com

unread,
Sep 4, 2015, 12:43:10 PM9/4/15
to TZPUSH
Thank you very much, now it's all working.
Ferdinand
Reply all
Reply to author
Forward
0 new messages