[Obm] Test obm-funambol sans succès

Tony Galmiche tony.galmiche at infosaone.com
Wed Jul 29 18:22:00 CEST 2009


Nicolas Lascombes a écrit :
> On Wed, 2009-07-29 at 13:52 +0200, Tony Galmiche wrote:
>   
>> Bonjour,
>>
>> Je continu donc mes tests d'OBM sur mon serveur tout neuf sous Debian 
>> Lenny dédié à OBM.
>>
>> J'essaye de faire fonctionner obm-funambol mais sans grand succès.
>>
>> Je fais mes tests avec Thunderbird, Outlook 2007 et Windows Mobile Emulator
>>
>> Avec tous ces clients, j'arrive à synchroniser mon agenda sur mon compte 
>> http://my.funambol.com
>>
>> Sur mon serveur, j'ai installé obm-funambol et ses dépendances et je 
>> n'ai touché à aucune fichier de configuration
>>
>> J'ai configuré mes clients avec ces informations :
>> - URL : https://192.0.0.9/funambol/ds/
>> - Login : test.tony at infosaone.com
>>
>> Sur mon Windows Mobile j'ai également ajouté le certificat comme c'est 
>> indiqué dans la vidéo du wiki.
>>
>> Si je me connecte avec Firefox à l'URL https://192.0.0.9/funambol, je 
>> vois bien la version du serveur Funambol
>>
>> Mais avec mes clients, la connexion ne fonctionne pas et je ne vois rien 
>> de spécial dans les logs et je ne sais pas trop où chercher pour régler 
>> mon problème.
>>     
> Bonjour,
>
> avez vous aussi changé le nom des sources de données :
>
> Calendrier : obm_cal_ical (cal par défaut)
> Contacts : obm_book_vcard (card par défaut)
>
> http://obm.org/doku.php?id=obmsync
>   
Bin non, je n'avais pas percuté sur ce point.

J'ai donc un peu avancé car maintenant j'arrive a avoir des logs sur le 
serveur Linux mais ça ne fonctionne toujours pas.

De plus, j'ai fais deux tests avec Thunderbird et j'arrive à deux 
résultats différents :

1 : Avec Thunderbird sous Windows, il me dit dans les logs du client que 
le certificat n'est pas bon et dans les logs du serveur, je n'ai rien du 
tout

2 : Avec Thunderbird sous Linux, je n'ai pas de problème de certificat 
et j'ai des logs sur le serveur.


Vous trouverez ci-dessous les logs du client Linux et les logs du serveur

Merci d'avance

Tony



Logs du client Thunderbird sous Linux :

16:14:23 GMT [DEBUG] Creating SyncSources...
16:14:23 GMT [DEBUG] [contact] ContactSyncSource(): Contact folder: 
"abook.mab"
16:14:23 GMT [DEBUG] [contact] ContactSyncSource(): Contact folder 
found: "Adresses personnelles"
16:14:23 GMT [DEBUG] [event] CalendarSyncSource(): Calendar folder: 
"moz-profile-calendar://"
16:14:23 GMT [DEBUG] [event] CalendarSyncSource(): Calendar found: 'Mon 
agenda'
16:14:23 GMT [DEBUG] [task] CalendarSyncSource(): Calendar folder: 
"moz-profile-calendar://"
16:14:23 GMT [DEBUG] [task] CalendarSyncSource(): Calendar found: 'Mon 
agenda'
16:14:23 GMT [INFO] Checking for contact sync...
16:14:23 GMT [INFO] Required sync mode: 'two way sync'
16:14:23 GMT [INFO] Checking for event sync...
16:14:23 GMT [INFO] The source event isn't set to be synced
16:14:23 GMT [INFO] Checking for task sync...
16:14:23 GMT [INFO] The source task isn't set to be synced
16:14:23 GMT [DEBUG] Set the synchronization listeners
16:14:23 GMT [INFO] --------------------> Begin SyncML Synchronization 
<--------------------
16:14:23 GMT [DEBUG] Synchronization URL: https://pglenny/funambol/ds
16:14:23 GMT [INFO] Preparing synchronization of contact...
16:14:23 GMT [DEBUG] Checking devinfo...
16:14:23 GMT [DEBUG] devinfo hash: UCGMOfsiIfcmhB6cGSX+7g==
16:14:23 GMT [DEBUG] devinfo unchanged, no need to send
16:14:23 GMT [DEBUG] Initialization message:
16:14:23 GMT [DEBUG] User Agent = Funambol Mozilla Sync Client v0.9.1
16:14:23 GMT [DEBUG] Requesting resource /funambol/ds at pglenny:443
16:14:23 GMT [DEBUG] SetRequestHeader Content-Type: 
application/vnd.syncml+xml
16:14:23 GMT [DEBUG] SetRequestHeader User-Agent: Funambol Mozilla Sync 
Client v0.9.1
16:14:23 GMT [DEBUG] Sending HTTP Request: <?xml version="1.0" 
encoding="UTF-8"?>
[DEBUG] <SyncML>
[DEBUG] <SyncHdr><VerDTD>1.2</VerDTD>
[DEBUG] <VerProto>SyncML/1.2</VerProto>
[DEBUG] <SessionID>1248884063</SessionID>
[DEBUG] <MsgID>1</MsgID>
[DEBUG] <Target><LocURI>https://pglenny/funambol/ds</LocURI>
[DEBUG] </Target>
[DEBUG] <Source><LocURI>fmz-VCWyLGNubaOLKwRXimTIEg==</LocURI>
[DEBUG] </Source>
[DEBUG] <Cred><Meta><Format xmlns="syncml:metinf">b64</Format>
[DEBUG] <Type xmlns="syncml:metinf">syncml:auth-basic</Type>
[DEBUG] </Meta>
[DEBUG] <Data>dGVzdC50b255QGluZm9zYW9uZS5jb206dGVzdA==</Data>
[DEBUG] </Cred>
[DEBUG] <Meta><MaxMsgSize xmlns="syncml:metinf">250000</MaxMsgSize>
[DEBUG] </Meta>
[DEBUG] </SyncHdr>
[DEBUG] <SyncBody><Alert><CmdID>1</CmdID>
[DEBUG] <Data>200</Data>
[DEBUG] <Item><Target><LocURI>obm_book_vcard</LocURI>
[DEBUG] </Target>
[DEBUG] <Source><LocURI>contact</LocURI>
[DEBUG] </Source>
[DEBUG] <Meta><Anchor xmlns="syncml:metinf"><Last>0</Last>
[DEBUG] <Next>1248884063</Next>
[DEBUG] </Anchor>
[DEBUG] </Meta>
[DEBUG] </Item>
[DEBUG] </Alert>
[DEBUG] <Final/></SyncBody>
[DEBUG] </SyncML>
16:14:25 GMT [DEBUG] Status Code: 200
16:14:25 GMT [DEBUG] Status Text: OK
16:14:25 GMT [DEBUG] Data sent succesfully to server. Server responds OK
16:14:25 GMT [DEBUG] Http Response received: <?xml version="1.0" 
encoding="UTF-8"?>
[DEBUG] <SyncML>
[DEBUG] <SyncHdr>
[DEBUG] <VerDTD>1.2</VerDTD>
[DEBUG] <VerProto>SyncML/1.2</VerProto>
[DEBUG] <SessionID>1248884063</SessionID>
[DEBUG] <MsgID>1</MsgID>
[DEBUG] <Target>
[DEBUG] <LocURI>fmz-VCWyLGNubaOLKwRXimTIEg==</LocURI>
[DEBUG] </Target>
[DEBUG] <Source>
[DEBUG] <LocURI>https://pglenny/funambol/ds</LocURI>
[DEBUG] </Source>
[DEBUG] 
<RespURI>https://obm.infosaone.com/funambol/ds;jsessionid=057A3BAF0340E6D520EA4F28C58D6954</RespURI>
[DEBUG] </SyncHdr>
[DEBUG] <SyncBody>
[DEBUG] <Status>
[DEBUG] <CmdID>1</CmdID>
[DEBUG] <MsgRef>1</MsgRef>
[DEBUG] <CmdRef>0</CmdRef>
[DEBUG] <Cmd>SyncHdr</Cmd>
[DEBUG] <TargetRef>https://pglenny/funambol/ds</TargetRef>
[DEBUG] <SourceRef>fmz-VCWyLGNubaOLKwRXimTIEg==</SourceRef>
[DEBUG] <Data>212</Data>
[DEBUG] </Status>
[DEBUG] <Status>
[DEBUG] <CmdID>2</CmdID>
[DEBUG] <MsgRef>1</MsgRef>
[DEBUG] <CmdRef>1</CmdRef>
[DEBUG] <Cmd>Alert</Cmd>
[DEBUG] <TargetRef>obm_book_vcard</TargetRef>
[DEBUG] <SourceRef>contact</SourceRef>
[DEBUG] <Data>508</Data>
[DEBUG] <Item>
[DEBUG] <Data>
[DEBUG] <Anchor xmlns="syncml:metinf">
[DEBUG] <Next>1248884063</Next>
[DEBUG] </Anchor>
[DEBUG] </Data>
[DEBUG] </Item>
[DEBUG] </Status>
[DEBUG] <Alert>
[DEBUG] <CmdID>3</CmdID>
[DEBUG] <Data>201</Data>
[DEBUG] <Item>
[DEBUG] <Target>
[DEBUG] <LocURI>contact</LocURI>
[DEBUG] </Target>
[DEBUG] <Source>
[DEBUG] <LocURI>obm_book_vcard</LocURI>
[DEBUG] </Source>
[DEBUG] <Meta>
[DEBUG] <Anchor xmlns='syncml:metinf'>
[DEBUG] <Last>1248884065090</Last>
[DEBUG] <Next>1248884065090</Next>
[DEBUG] </Anchor>
[DEBUG] </Meta>
[DEBUG] </Item>
[DEBUG] </Alert>
[DEBUG] <Final/>
[DEBUG] </SyncBody>
[DEBUG] </SyncML>
[DEBUG]
16:14:25 GMT [DEBUG] File 
/home/virginie/.thunderbird/7aynscrn.default/extensions/syncmlplugin at funambol.com/contact.dat 
deleted succesfully
16:14:25 GMT [DEBUG] [contact] Saving cache
16:14:25 GMT [INFO] [contact] Initializing all contacts...
16:14:25 GMT [INFO] [contact] Initialization done
16:14:25 GMT [INFO] [contact] Detected 0 items
16:14:25 GMT [DEBUG] Modification message: estimated size 150, allowed 
size 250000, real size 945 / estimated size 150 = 630%
16:14:25 GMT [DEBUG] Requesting resource 
/funambol/ds;jsessionid=057A3BAF0340E6D520EA4F28C58D6954 at 
obm.infosaone.com:443
16:14:25 GMT [DEBUG] SetRequestHeader Content-Type: 
application/vnd.syncml+xml
16:14:25 GMT [DEBUG] SetRequestHeader User-Agent: Funambol Mozilla Sync 
Client v0.9.1
16:14:25 GMT [DEBUG] Sending HTTP Request: <?xml version="1.0" 
encoding="UTF-8"?>
[DEBUG] <SyncML>
[DEBUG] <SyncHdr><VerDTD>1.2</VerDTD>
[DEBUG] <VerProto>SyncML/1.2</VerProto>
[DEBUG] <SessionID>1248884063</SessionID>
[DEBUG] <MsgID>2</MsgID>
[DEBUG] <Target><LocURI>https://pglenny/funambol/ds</LocURI>
[DEBUG] </Target>
[DEBUG] <Source><LocURI>fmz-VCWyLGNubaOLKwRXimTIEg==</LocURI>
[DEBUG] </Source>
[DEBUG] </SyncHdr>
[DEBUG] <SyncBody><Status><CmdID>1</CmdID>
[DEBUG] <MsgRef>1</MsgRef>
[DEBUG] <CmdRef>0</CmdRef>
[DEBUG] <Cmd>SyncHdr</Cmd>
[DEBUG] <TargetRef>https://pglenny/funambol/ds</TargetRef>
[DEBUG] <SourceRef>fmz-VCWyLGNubaOLKwRXimTIEg==</SourceRef>
[DEBUG] <Data>200</Data>
[DEBUG] </Status>
[DEBUG] <Status><CmdID>2</CmdID>
[DEBUG] <MsgRef>1</MsgRef>
[DEBUG] <CmdRef>3</CmdRef>
[DEBUG] <Cmd>Alert</Cmd>
[DEBUG] <TargetRef>obm_book_vcard</TargetRef>
[DEBUG] <SourceRef>contact</SourceRef>
[DEBUG] <Data>200</Data>
[DEBUG] <Item><Data><Anchor xmlns="syncml:metinf"><Next>1248884065090</Next>
[DEBUG] </Anchor>
[DEBUG] </Data>
[DEBUG] </Item>
[DEBUG] </Status>
[DEBUG] <Sync><CmdID>3</CmdID>
[DEBUG] <Target><LocURI>obm_book_vcard</LocURI>
[DEBUG] </Target>
[DEBUG] <Source><LocURI>contact</LocURI>
[DEBUG] </Source>
[DEBUG] </Sync>
[DEBUG] <Final/></SyncBody>
[DEBUG] </SyncML>
16:14:28 GMT [ERROR] MozillaTransportAgent::sendMessage error: Cannot 
send http request
16:14:28 GMT [ERROR] Error in syncing: Error: Cannot send http request.
16:14:28 GMT [DEBUG] 
===========================================================
[DEBUG] ================   SYNCHRONIZATION REPORT   ===============
[DEBUG] ===========================================================
[DEBUG] Last error code = 2001
[DEBUG] Last error msg  = Error: Cannot send http request.
[DEBUG]
[DEBUG] ----------|--------CLIENT---------|--------SERVER---------|
[DEBUG]   Source  |  NEW  |  MOD  |  DEL  |  NEW  |  MOD  |  DEL  |
[DEBUG] ----------|-----------------------------------------------|
[DEBUG]    contact|  0/  0|  0/  0|  0/  0|  0/  0|  0/  0|  0/  0|
[DEBUG] ----------|-----------------------------------------------|
[DEBUG]      event|  0/  0|  0/  0|  0/  0|  0/  0|  0/  0|  0/  0|
[DEBUG] ----------|-----------------------------------------------|
[DEBUG]       task|  0/  0|  0/  0|  0/  0|  0/  0|  0/  0|  0/  0|
[DEBUG] ----------|-----------------------------------------------|
[DEBUG]
[DEBUG] contact:
[DEBUG] ----------
[DEBUG]    Source State    = 0
[DEBUG]    Last error code = 0
[DEBUG]    Last error msg  = (null)
[DEBUG] event:
[DEBUG] ----------
[DEBUG]    Source State    = 0
[DEBUG]    Last error code = 0
[DEBUG]    Last error msg  = (null)
[DEBUG] task:
[DEBUG] ----------
[DEBUG]    Source State    = 0
[DEBUG]    Last error code = 0
[DEBUG]    Last error msg  = (null)
[DEBUG]
[DEBUG]
16:14:28 GMT [INFO] --------------------> End SyncML Synchronization 
<--------------------
16:14:28 GMT [DEBUG] Saving configuration settings...
16:14:28 GMT [DEBUG] Saving configuration...
16:14:28 GMT [DEBUG] Writing configuration settings to the management tree
16:14:28 GMT [DEBUG] Configuration saved.
16:14:37 GMT [DEBUG] Unset listeners











Logs du serveur :

[2009-07-29 16:14:24,740] [funambol.transport.http] [INFO] 
[057A3BAF0340E6D520EA4F28C58D6954] [] [] [] Handling incoming request
[2009-07-29 16:14:24,740] [funambol.transport.http] [INFO] 
[057A3BAF0340E6D520EA4F28C58D6954] [] [] [] Request URL: 
https://pglenny/funambol/ds
[2009-07-29 16:14:24,740] [funambol.transport.http] [INFO] 
[057A3BAF0340E6D520EA4F28C58D6954] [] [] [] Requested sessionId: null
[2009-07-29 16:14:25,040] [funambol.handler] [INFO] 
[057A3BAF0340E6D520EA4F28C58D6954] [fmz-VCWyLGNubaOLKwRXimTIEg==] 
[test.tony at infosaone.com] [] 
test.tony at infosaone.com/fmz-VCWyLGNubaOLKwRXimTIEg== logged in.
[2009-07-29 16:14:25,140] [funambol.transport.http] [INFO] 
[057A3BAF0340E6D520EA4F28C58D6954] [fmz-VCWyLGNubaOLKwRXimTIEg==] 
[test.tony at infosaone.com] [] Request processed.




-- 
Indépendant dans la mise en place de logiciels libres et
d'outils de travail collaboratif. http://www.infosaone.com 



More information about the Obm mailing list