[horde] Finding event that causes SyncML-Error

Stephan Kleber stephan at admin.nabira.de
Thu May 12 22:08:05 UTC 2011


REPOST

Am 05.05.2011 14:27, schrieb stephan at admin.nabira.de:
> Hi Jan,
> 
> after updating to 4.0.2 (kronolith 3.0.2) and manually patching in the
> fixes for Tickets
> #10039
> #9733
> and the ... ' . $suid . ' ... into the log-call as you mentioned, I
> ended up not getting this error anymore. Server and client look to be
> happy when syning and all data goes from client to server and forth as
> expected.
> 
> The problem now is that the client always does a slow sync.
> This is no wonder: The syncml-device list does contain the entry for the
> latest contacts-sync with this device, but no entry whatsoever for the
> calendar.
> 
> I think, there exists an unconfirmed Ticket for this already, but since
> bugs.horde.org is not reachable from my place at the moment, I post this
> info here.
> 
> 
> I let the client log what it sees and created a excerpt of that:
> 
> ...
> - Processing Alert Item (code=200), Source='contacts', Target='./contacts'
> Saved Last Remote Server Anchor='1304592983', received <last> Remote
> Server Anchor='1304592983' (must match for normal sync) // thats what
> should happen
> ...
> events: ALERTING server for normal Sync
> ...
> - Processing Alert Item (code=201), Source='calendar', Target='./events'
> Saved Last Remote Server Anchor='1304592983', received <last> Remote
> Server Anchor='0' (must match for normal sync) // thats what causes the
> problem from a client point of view
> ...
> Alerted (code=201) for two-way Slow Sync
> ...
> 
> 
> Interestingly the only entry araound the time of the sync in the
> horde-log file (set to DEBUG) is:
> 
> 2011-05-05T14:01:55+02:00 NOTICE: HORDE [imp] PHP ERROR: Undefined
> index:  password [pid 2267 on line 176 of
> "/usr/share/php/Horde/Imap/Client/Base.php"]
> 2011-05-05T14:02:05+02:00 ERR: HORDE [imp] IMAP server denied
> authentication. [pid 2267 on line 472 of
> "/var/www-ssl/horde4/imp/lib/Imap.php"]
> 
> what seems to be connected to the sync in some way, since nothing else
> happend in paralell.
> 
> I can provide SyncML logs from horde as well, but I will not post them
> publicly, since my testing database is a copy of my real private calendar.
> 
> 
> 
> 
> There are some other strange things happening according to the logs that
> have nothing to do with the above. I post part of the log for you to
> look what you can make of it.
> 
> 
> Regards
> Stephan
> 
> 
> Zitat von stephan at admin.nabira.de:
> 
>> Hi Jan,
>>
>> thanks very much.
>>
>> I will try it in the evening.
>>
>> Regards,
>> Stephan
>>
>>
>> Zitat von Jan Schneider <jan at horde.org>:
>>
>>> Zitat von stephan at admin.nabira.de:
>>>
>>>> Hi all, again,
>>>>
>>>> I'm sorry to bother you again in a separate mail, but this has
>>>> nothing to do with the other, so I believe it's more convenient this
>>>> way.
>>>>
>>>> When Syncing calendar and contacts via SyncML I get the following
>>>> log entry I do fully understand:
>>>>
>>>> WARN: HORDE [horde] Data item won't fit into a single message.
>>>> Partial sending not implemented yet. Item will not be sent! [pid
>>>> 21080 on line 641 of "/usr/share/php/Horde/SyncMl/Sync.php"]
>>>>
>>>> Since my client tells me, that contacts synced fine, I believe it
>>>> must be one of the calendar events that is too large.
>>>>
>>>> Is there any possibility to find out which calendar entry caused the
>>>> problem?
>>>
>>> The line number is off, but search for the error message in that
>>> file, then log the content of $suid with the error message. This is
>>> your event's uid.
>>>
>>> Jan.
>>>
>>> -- 
>>> Do you need professional PHP or Horde consulting?
>>> http://horde.org/consulting/
>>>
>>> -- 
>>> Horde mailing list
>>> Frequently Asked Questions: http://horde.org/faq/
>>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>
>>
>> -- 
>> Horde mailing list
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
> 
> 


More information about the horde mailing list