Tony Galmiche a écrit :
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 : [email protected]
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.
Je viens d'arriver à faire fonctionner la synchronisation avec
Thunderbird sous Linux. Pour cela, j'ai ajouté dans "/etc/hosts" le nom
de mon serveur OBM déclaré lors de la création du certificat soit
"obm.infosaone.com"
J'ai essayé de faire la même opération avec deux postes différents sous
Windows en renseignant le fichier
"C:\WINDOWS\system32\drivers\etc\hosts" mais sans succès
Dans les logs du client, j'ai un problème de certificat mais je ne
comprend pas pourquoi.
Vous trouverez ci-dessous le détail des logs
Merci d'avance
Tony Galmiche
2009-07-30 16:12:19 GMT +1:00 - # Funambol Mozilla Sync Client Log
16:12:19 GMT +1:00 [DEBUG] - Creating SyncSources...
16:12:19 GMT +1:00 [DEBUG] - [contact] ContactSyncSource(): Contact
folder: "abook.mab"
16:12:19 GMT +1:00 [DEBUG] - [contact] ContactSyncSource(): Contact
folder found: "Adresses personnelles"
16:12:19 GMT +1:00 [DEBUG] - [event] CalendarSyncSource(): Calendar
folder: "moz-profile-calendar://"
16:12:19 GMT +1:00 [DEBUG] - [event] CalendarSyncSource(): Calendar
found: 'Mon agenda'
16:12:19 GMT +1:00 [DEBUG] - [task] CalendarSyncSource(): Calendar
folder: "moz-profile-calendar://"
16:12:19 GMT +1:00 [DEBUG] - [task] CalendarSyncSource(): Calendar
found: 'Mon agenda'
16:12:19 GMT +1:00 [INFO] - Checking for contact sync...
16:12:19 GMT +1:00 [INFO] - Required sync mode: 'two way sync'
16:12:19 GMT +1:00 [INFO] - Checking for event sync...
16:12:19 GMT +1:00 [INFO] - The source event isn't set to be synced
16:12:19 GMT +1:00 [INFO] - Checking for task sync...
16:12:19 GMT +1:00 [INFO] - The source task isn't set to be synced
16:12:19 GMT +1:00 [DEBUG] - Set the synchronization listeners
16:12:19 GMT +1:00 [INFO] - --------------------> Begin SyncML
Synchronization <--------------------
16:12:19 GMT +1:00 [DEBUG] - Synchronization URL:
https://192.0.0.9/funambol/ds
16:12:19 GMT +1:00 [INFO] - Preparing synchronization of contact...
16:12:19 GMT +1:00 [DEBUG] - Checking devinfo...
16:12:19 GMT +1:00 [DEBUG] - devinfo hash: Gfn/PT4mJt1nZGrWY66jdw==
16:12:19 GMT +1:00 [DEBUG] - devinfo changed, retransmit
16:12:19 GMT +1:00 [DEBUG] - Initialization message:
16:12:19 GMT +1:00 [DEBUG] - User Agent = Funambol Mozilla Sync Client
v0.9.1
16:12:19 GMT +1:00 [DEBUG] - <?xml version="1.0" encoding="UTF-8"?>
<SyncML>
<SyncHdr><VerDTD>1.2</VerDTD>
<VerProto>SyncML/1.2</VerProto>
<SessionID>1248963139</SessionID>
<MsgID>1</MsgID>
<Target><LocURI>https://192.0.0.9/funambol/ds</LocURI>
</Target>
<Source><LocURI>fmz-dWSGYjDs4PHt1J5c+r8s4Q==</LocURI>
</Source>
<Cred><Meta><Format xmlns="syncml:metinf">b64</Format>
<Type xmlns="syncml:metinf">syncml:auth-basic</Type>
</Meta>
<Data>dGVzdC50b255QGluZm9zYW9uZS5jb206dGVzdA==</Data>
</Cred>
<Meta><MaxMsgSize xmlns="syncml:metinf">250000</MaxMsgSize>
</Meta>
</SyncHdr>
<SyncBody><Alert><CmdID>1</CmdID>
<Data>200</Data>
<Item><Target><LocURI>obm_book_vcard</LocURI>
</Target>
<Source><LocURI>contact</LocURI>
</Source>
<Meta><Anchor xmlns="syncml:metinf"><Last>1248864056</Last>
<Next>1248963139</Next>
</Anchor>
</Meta>
</Item>
</Alert>
<Put><CmdID>2</CmdID>
<Meta><Type xmlns="syncml:metinf">application/vnd.syncml-devinf+xml</Type>
</Meta>
<Item><Source><LocURI>./devinf12</LocURI>
</Source>
<Data><DevInf xmlns="syncml:devinf"><VerDTD>1.2</VerDTD>
<SwV>0.9.1</SwV>
<DevID>fmz-dWSGYjDs4PHt1J5c+r8s4Q==</DevID>
<DevTyp>workstation</DevTyp>
<UTC/><DataStore><SourceRef>calendar</SourceRef>
<Rx-Pref><CTType>text/calendar</CTType>
<VerCT>2.0</VerCT>
</Rx-Pref>
<Tx-Pref><CTType>text/calendar</CTType>
<VerCT>2.0</VerCT>
</Tx-Pref>
<SyncCap><SyncType>2</SyncType>
<SyncType>1</SyncType>
</SyncCap>
</DataStore>
<DataStore><SourceRef>contact</SourceRef>
<Rx-Pref><CTType>text/x-vcard</CTType>
<VerCT>2.1</VerCT>
</Rx-Pref>
<Tx-Pref><CTType>text/x-vcard</CTType>
<VerCT>2.1</VerCT>
</Tx-Pref>
<CTCap><CTType>text/x-vcard</CTType>
<VerCT>2.1</VerCT>
<Property><PropName>BEGIN</PropName>
<PropParam><ParamName>VCARD</ParamName>
</PropParam>
</Property>
<Property><PropName>VERSION</PropName>
<PropParam><ParamName>2.1</ParamName>
</PropParam>
</Property>
<Property><PropName>N</PropName>
</Property>
<Property><PropName>FN</PropName>
</Property>
<Property><PropName>NICKNAME</PropName>
</Property>
<Property><PropName>TEL</PropName>
<PropParam><ParamName>HOME</ParamName>
</PropParam>
</Property>
<Property><PropName>TEL</PropName>
<PropParam><ParamName>WORK</ParamName>
</PropParam>
</Property>
<Property><PropName>TEL</PropName>
<PropParam><ParamName>CELL</ParamName>
</PropParam>
</Property>
<Property><PropName>TEL</PropName>
<PropParam><ParamName>PAGER</ParamName>
</PropParam>
</Property>
<Property><PropName>TEL</PropName>
<PropParam><ParamName>FAX</ParamName>
</PropParam>
</Property>
<Property><PropName>EMAIL</PropName>
<PropParam><ParamName>INTERNET</ParamName>
</PropParam>
</Property>
<Property><PropName>EMAIL</PropName>
<PropParam><ParamName>INTERNET</ParamName>
</PropParam>
<PropParam><ParamName>HOME</ParamName>
</PropParam>
</Property>
<Property><PropName>EMAIL</PropName>
<PropParam><ParamName>INTERNET</ParamName>
</PropParam>
<PropParam><ParamName>HOME</ParamName>
</PropParam>
<PropParam><ParamName>X-FUNAMBOL-INSTANTMESSENGER</ParamName>
</PropParam>
</Property>
<Property><PropName>ADR</PropName>
</Property>
<Property><PropName>ADR</PropName>
<PropParam><ParamName>HOME</ParamName>
</PropParam>
</Property>
<Property><PropName>ADR</PropName>
<PropParam><ParamName>WORK</ParamName>
</PropParam>
</Property>
<Property><PropName>ORG</PropName>
</Property>
<Property><PropName>TITLE</PropName>
</Property>
<Property><PropName>URL</PropName>
<PropParam><ParamName>HOME</ParamName>
</PropParam>
</Property>
<Property><PropName>URL</PropName>
<PropParam><ParamName>WORK</ParamName>
</PropParam>
</Property>
<Property><PropName>BDAY</PropName>
</Property>
<Property><PropName>NOTE</PropName>
</Property>
<Property><PropName>END</PropName>
<PropParam><ParamName>VCARD</ParamName>
</PropParam>
</Property>
</CTCap>
<SyncCap><SyncType>2</SyncType>
<SyncType>1</SyncType>
</SyncCap>
</DataStore>
<DataStore><SourceRef>event</SourceRef>
<Rx-Pref><CTType>text/calendar</CTType>
<VerCT>2.0</VerCT>
</Rx-Pref>
<Tx-Pref><CTType>text/calendar</CTType>
<VerCT>2.0</VerCT>
</Tx-Pref>
<SyncCap><SyncType>2</SyncType>
<SyncType>1</SyncType>
<SyncType>6</SyncType>
<SyncType>4</SyncType>
</SyncCap>
</DataStore>
<DataStore><SourceRef>task</SourceRef>
<Rx-Pref><CTType>text/calendar</CTType>
<VerCT>2.0</VerCT>
</Rx-Pref>
<Tx-Pref><CTType>text/calendar</CTType>
<VerCT>2.0</VerCT>
</Tx-Pref>
<SyncCap><SyncType>2</SyncType>
<SyncType>1</SyncType>
<SyncType>6</SyncType>
<SyncType>4</SyncType>
</SyncCap>
</DataStore>
</DevInf>
</Data>
</Item>
</Put>
<Final/></SyncBody>
</SyncML>
16:12:19 GMT +1:00 [DEBUG] - Connecting to 192.0.0.9:443
16:12:19 GMT +1:00 [DEBUG] - Requesting resource /funambol/ds
16:12:19 GMT +1:00 [DEBUG] - HttpSendRequest error 12045: L'autorité de
certification n'est pas valide ou incorrecte
16:12:19 GMT +1:00 [INFO] - Network error writing data from client:
retry 1 time...
16:12:20 GMT +1:00 [DEBUG] - HttpSendRequest error 12045: L'autorité de
certification n'est pas valide ou incorrecte
16:12:20 GMT +1:00 [INFO] - Network error writing data from client:
retry 2 time...
16:12:20 GMT +1:00 [DEBUG] - HttpSendRequest error 12045: L'autorité de
certification n'est pas valide ou incorrecte
16:12:20 GMT +1:00 [INFO] - Network error writing data from client:
retry 3 time...
16:12:20 GMT +1:00 [ERROR] - HTTP request error: 3 attempts failed.
16:12:20 GMT +1:00 [ERROR] - Error in preparing sync: HTTP request
error: 3 attempts failed.
16:12:20 GMT +1:00 [DEBUG] -
===========================================================
================ SYNCHRONIZATION REPORT ===============
===========================================================
Last error code = 2001
Last error msg = HTTP request error: 3 attempts failed.
----------|--------CLIENT---------|--------SERVER---------|
Source | NEW | MOD | DEL | NEW | MOD | DEL |
----------|-----------------------------------------------|
contact| 0/ 0| 0/ 0| 0/ 0| 0/ 0| 0/ 0| 0/ 0|
----------|-----------------------------------------------|
event| 0/ 0| 0/ 0| 0/ 0| 0/ 0| 0/ 0| 0/ 0|
----------|-----------------------------------------------|
task| 0/ 0| 0/ 0| 0/ 0| 0/ 0| 0/ 0| 0/ 0|
----------|-----------------------------------------------|
contact:
----------
Source State = 0
Last error code = 0
Last error msg = (null)
event:
----------
Source State = 0
Last error code = 0
Last error msg = (null)
task:
----------
Source State = 0
Last error code = 0
Last error msg = (null)
16:12:20 GMT +1:00 [INFO] - --------------------> End SyncML
Synchronization <--------------------
16:12:20 GMT +1:00 [DEBUG] - Saving configuration settings...
16:12:20 GMT +1:00 [DEBUG] - Saving configuration...
16:12:20 GMT +1:00 [DEBUG] - Writing configuration settings to the
management tree
16:12:20 GMT +1:00 [DEBUG] - Configuration saved.
16:12:21 GMT +1:00 [DEBUG] - Unset listeners
_______________________________________________
Obm mailing list
[email protected]
http://www.list.aliasource.fr/mailman/listinfo/obm