From: Ciro S. <mo...@ol...> - 2006-06-29 10:13:47
|
Hi all, at last I found some spare time to try to sync my P800, I followed the syncml wiki and configured the syncml-http-server and kdepim plugins correctly, I launch "msynctool --sync p800 --wait" but I cannot see anything listening on port 8080 with netstat (and of course the phone can't connect...) here is the config for the syncml plugin: <config><username>moray</username><password>XXXX</password> <url>/sync</url><port>8080</port> <usestringtable>0</usestringtable><onlyreplace>0</onlyreplace> <recvLimit>0</recvLimit><maxObjSize>0</maxObjSize> <contact_db>addressbook</contact_db><calendar_db>calendar</calendar_db> <note_db>notes</note_db></config> The phone is configured accordingly but I don't think this is the problem, it seems the server doesn't work, or I am doing something wrong... I am using the ubuntu/dapper packages provided by matthias jahn. C. |
From: matthias j. <jah...@fr...> - 2006-06-29 10:41:34
|
Am Donnerstag, 29. Juni 2006 12:15 schrieb Ciro Scognamiglio: > Hi all, > > at last I found some spare time to try to sync my P800, I followed the > syncml wiki and configured the syncml-http-server and kdepim plugins > correctly, I launch "msynctool --sync p800 --wait" but I cannot see > anything listening on port 8080 with netstat (and of course the phone > can't connect...) have you first tried to connect to your phone using the syncml-http-server from the libsyncml-utils package? look at its manpage for details.. > here is the config for the syncml plugin: > > <config><username>moray</username><password>XXXX</password> > <url>/sync</url><port>8080</port> > <usestringtable>0</usestringtable><onlyreplace>0</onlyreplace> > <recvLimit>0</recvLimit><maxObjSize>0</maxObjSize> > <contact_db>addressbook</contact_db><calendar_db>calendar</calendar_db> > <note_db>notes</note_db></config> did you realy need the url, username and password? > The phone is configured accordingly but I don't think this is the > problem, it seems the server doesn't work, or I am doing something wrong... > I am using the ubuntu/dapper packages provided by matthias jahn. at least someone is using them ;-) Matthias |
From: Ciro S. <mo...@ol...> - 2006-06-29 12:10:31
|
matthias jahn wrote: >> anything listening on port 8080 with netstat (and of course the phone >> can't connect...) > > have you first tried to connect to your phone using the syncml-http-server > from the libsyncml-utils package? > look at its manpage for details.. > > did you realy need the url, username and password? > no, url is not needed, while username and password is needed as the client on the P800 uses authentication, but the p800 client reports a connection error because no server is listening (I bring up a tcp over ppp link using gnubox that does work). The problem is that msynctool doesn't show up listening for a connection while launching syncml-http-server alone seems to work...I'll investigate later... > >> The phone is configured accordingly but I don't think this is the >> problem, it seems the server doesn't work, or I am doing something wrong... > >> I am using the ubuntu/dapper packages provided by matthias jahn. > > at least someone is using them ;-) :) C. |
From: Carlos S. <so...@fr...> - 2006-07-03 11:56:07
|
Ciro, I am trying the same with my P900, and I have connection, but my error comes later, I am one step forward, ig this can help you. This is my syncml-http-server.conf <config> <username>test</username> <password>test</password> <url>/</url> <port>8080</port> <usestringtable>0</usestringtable> <onlyreplace>0</onlyreplace> <recvLimit>0</recvLimit> <maxObjSize>0</maxObjSize> <contact_db>addressbook</contact_db> <calendar_db>calendar</calendar_db> <note_db>Notes</note_db> </config> And the following is my phone configuration: Server tab: Server address: http://IP_OF_MY_DEBIAN_BOX:8080/ user name: test password: test Protocol tab: transpor protocol: HTTP Use transport connection: no user: password: Then I can start the sync with msynctool from the debian box and afterwards I start the sync from the p900 phone with the following result: $ msynctool --sync p900-file --wait Synchronizing group "p900-file" received contact dsession Member 1 of type file-sync just connected Member 2 of type syncml-http-server just connected All clients connected or error Member 1 of type file-sync just sent all changes Member 2 of type syncml-http-server had an error while getting changes: Timeout while waiting for a reply to message "GET_CHANGES" Member 1 of type file-sync just disconnected Member 2 of type syncml-http-server had an error while disconnecting: Timeout while waiting for a reply to message "DISCONNECT" All clients have disconnected The sync failed: Unable to read from one of the members I have also tried to connect to the phone using the syncml-http-server from the libsyncml-utils package, but it does not work either. I have read a Thread where one user modified the timeouts. I will try later to check if this is the problem. If you make any improvement, please let me know. Regards, Carlos Sprekelsen -- View this message in context: http://www.nabble.com/why-is-the-syncm-http-server-not-listening--tf1866669.html#a5150662 Sent from the Opensync - User forum at Nabble.com. |
From: matthias j. <jah...@fr...> - 2006-07-03 12:36:14
|
Am Montag, 3. Juli 2006 13:56 schrieb Carlos Sprekelsen: > $ msynctool --sync p900-file --wait > Synchronizing group "p900-file" > received contact dsession > Member 1 of type file-sync just connected > Member 2 of type syncml-http-server just connected > All clients connected or error > Member 1 of type file-sync just sent all changes > Member 2 of type syncml-http-server had an error while getting changes: > Timeout while waiting for a reply to message "GET_CHANGES" > Member 1 of type file-sync just disconnected > Member 2 of type syncml-http-server had an error while disconnecting: > Timeout while waiting for a reply to message "DISCONNECT" > All clients have disconnected > The sync failed: Unable to read from one of the members > > I have also tried to connect to the phone using the syncml-http-server from > the libsyncml-utils package, but it does not work either. I have read a > Thread where one user modified the timeouts. I will try later to check if > this is the problem. If you make any improvement, please let me know. If you are using my packages at http://www.in.fh-merseburg.de/~jahn/. There is also a experimental repro: (deb http://www.in.fh-merseburg.de/~jahn/ experimental main) with some (not well tested) patches from juergbi. Please test them and report if they work for you..... thanks Matthias |
From: Carlos S. <so...@fr...> - 2006-07-05 09:04:14
|
The experimental repos did't work either. I am debuggin a little bit with Ethereal, but I have not found any reason for the plugin not to work. What I have found is that : - P900 always uses XML version 1.0 as opposed to WBXML. - EPOC SyncML client on the P900 uses SyncML version 1.0 - The P900 sends an HTML POST Message, from the EPOC SyncML client and expects to receive a "100-continue" from the server. - The server answers "100 continue",but the SyncML client does not react (might be the - in the middle what makes the difference?). Can anyone tell me it there is an incompatibility with SyncML version on the client and server sides? Thanks, Carlos Sprekelsen -- View this message in context: http://www.nabble.com/why-is-the-syncm-http-server-not-listening--tf1866669.html#a5178236 Sent from the Opensync - User forum at Nabble.com. |