List Info

Thread: Re: Funambol 6.0.13 sync failed with Horde SyncML module




Re: Funambol 6.0.13 sync failed with Horde SyncML module
country flaguser name
Germany
2007-05-06 07:58:53
Hi,

I tried the funambol outlook connector 6.0.9 beta with
Horde.

It seems the trouble comes from the gzip compression: The
connector asks 
for it and so Horde delivers it. But the connector seems to
choke on the 
compressed data.

The funambol logs produce something like:

14:51:45 GMT +1:00 [DEBUG] - Reading response...
14:51:45 GMT +1:00 [DEBUG] - Content-length: 533
14:51:45 GMT +1:00 [DEBUG] - Receiving data of size 533...
14:51:45 GMT +1:00 [DEBUG] - Finished receiving data of size
533.
14:51:45 GMT +1:00 [DEBUG] - Response read:
xT[o0+(q̭ruclLM&&qk".Y+
|rw.
Cu)+BסE̒؆z5펽{c/-xqgw>gRaD
jk+ߟ 
MƉ"Û7pxhh*1ЊT[*0x
˺_Ǹ̞a(#)5hX^EwBw

As a workaround you can turn of the gzip compression in the
horde setup:

$conf['compress_pages'] = false; (in horde/conf.php)

This seems to be a bug in the Funambol connector.

But I found a glitch in Horde as well: I tried to create a
"Browser 
Quirk" so that
if $browser->hasQuirk('buggy_compression') returns true
in Horde.php.
But the function Horde::allowOutputCompression() seems to be
never 
invoked! Do we need to invoke it in
Horde::compressOutput()?

Cheers,
  Karsten



Jochem Meyers wrote:
> Hi all,
> 
> I've been trying out the funambol 6.0.13 (the new beta)
for windows mobile,
> syncing it against horde's syncml backend. 
> 
> The PDA is set up to synchronize server-to-phone only.
Horde's logs indicate
> that the PDA requests a sync with anchor 0, and says
it's initiating a
> slowsync (as is to be expected).
> 
> After a few seconds, the pda comes back with the
warning that the sync was
> not completed. The logs say the server returned exit
code -1.
> 
> Syncing with the latest 3.x version of the plugin works
as it should.
> 
> Regards,
> 
> Jochem Meijers
> 
> P.s.: I've x-posted this to both the funambol-user list
and horde's sync
> list, as I know there's plenty of people on both that
use this combination,
> and might have some more insight into the cause and a
potential solution. If
> the solution lies in Horde's implementation, please let
me know, I can
> attempt to supply a patch.
> 


-- 
sync mailing list - Join the hunt: http://horde.org/boun
ties/#sync
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: sync-unsubscribelists.horde.org

Re: Funambol 6.0.13 sync failed with Horde SyncML module
user name
2007-05-06 16:50:27
Zitat von Karsten Fourmont <fourmontgmx.de>:

> Hi,
>
> I tried the funambol outlook connector 6.0.9 beta with
Horde.
>
> It seems the trouble comes from the gzip compression:
The connector  
> asks for it and so Horde delivers it. But the connector
seems to  
> choke on the compressed data.
>
> The funambol logs produce something like:
>
> 14:51:45 GMT +1:00 [DEBUG] - Reading response...
> 14:51:45 GMT +1:00 [DEBUG] - Content-length: 533
> 14:51:45 GMT +1:00 [DEBUG] - Receiving data of size
533...
> 14:51:45 GMT +1:00 [DEBUG] - Finished receiving data of
size 533.
> 14:51:45 GMT +1:00 [DEBUG] - Response read:
>
xœ¤T[oÚ0þ+(¯qÌ­´ruclLÐMúî&²&q»ú
ëçk".Y+•|rÎw.ßç“  
>
ûCžuö´â)+Bú￾סEÌ’´Ø†Þz5펽{Œ¢c/æ
-xèqù”gwæ€>ôàgRaôD«Éj‚¥k+ßŸŠ  
>
†Mà‚Æ‰"ÊU÷™Ì‚7ãÁpxh¼hÁ·*ˆ€1
ŠT[*0š³x½œá
>
˺Ñ÷§_«—õˆô¦Ç¸¿Ìž·aˆ€(à#É)”5µŽ
h®XÄ^«˜ÖEwB”w
>
> As a workaround you can turn of the gzip compression in
the horde setup:
>
> $conf['compress_pages'] = false; (in horde/conf.php)
>
> This seems to be a bug in the Funambol connector.
>
> But I found a glitch in Horde as well: I tried to
create a "Browser  
> Quirk" so that
> if $browser->hasQuirk('buggy_compression') returns
true in Horde.php.
> But the function Horde::allowOutputCompression() seems
to be never  
> invoked! Do we need to invoke it in
Horde::compressOutput()?

No, compressOutput() already checks for the quirk.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consult
ing/

-- 
sync mailing list - Join the hunt: http://horde.org/boun
ties/#sync
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: sync-unsubscribelists.horde.org
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )