Notices


Reply
Thread Tools
Posts: 1,096 | Thanked: 760 times | Joined on Dec 2008
#91
is it possible to manually config a file sync source with a service setup from the gui.

It looks like the gui uses a directory structure of config files, so could I add

Code:
home/user/.config/syncevolution/<server_profile_name>/sources/file/config.ini
Can you add more than one file source?

TIA
 
Posts: 39 | Thanked: 0 times | Joined on Feb 2010 @ Zürich, Switzerland
#92
Originally Posted by mason View Post
@joschum, so why not press the thank button

As to your SSL question, this depends on your server configuration, here is a start: http://www.openssl.org/docs/HOWTO/certificates.txt

but these are self-signed certs to get a fully signed cert you should check out https://www.startssl.com/ they are giving out signed ones free of charge.

i just googled "funambol ssl" again and this was the first hit: https://wiki.ow2.org/sync4j/Wiki.jsp?page=HowtouseHttps

did you try and do a search?
I did not manage to set up this https-connection to the funambol server but I would like to encrypt the data transfer between the N900 and the funambol server.

I solved this one in another way using ssh port forwarding.
Assume the following situation:

- funambolserv: the server where funambol is running and listening on port 8080;
- OpenSSH installed on N900, N900 can connect to <funambolserv> via ssh on port 22, user account name on <funambolserv> is <exampleuser>

Run the following command on the N900 in a terminal to forward port 12340 on N900 to port 8080 on <funambolserv> via ssh:

Code:
ssh -p 22 -N -L 12340:localhost:8080 <exampleuser>@<funambolserv>
Edit .config/syncevolution/funambol/config.ini on N900 and modify the following line:

Code:
syncURL = http://localhost:12340/funambol/ds
Now, run
Code:
syncevolution funambol
as usual.

It works! I like ssh, wonderful tool Does this make sense, or is there a simpler way to secure data transfer between the N900 and the funambol server?

Last edited by joschum; 2010-02-18 at 18:50.
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#93
Sorry, I still cannot get this to work and always get the same error, in fact the latest version most of the time hangs displaying "Synchronization failed" and I have to kill it. Is there any way to fix this?

Originally Posted by Taomyn View Post
Has anyone got issues when using an SSL connection for syncing?

In the logs it shows:

Code:
  • [2010-02-04 17:24:06.794] CurlTransport Failure: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
  • [2010-02-04 17:25:05.797] SyncContext: resend previous request #1
  • [2010-02-04 17:25:06.113] CurlTransport Failure: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
  • [2010-02-04 17:26:05.115] SyncContext: resend previous request #2
  • [2010-02-04 17:26:05.569] CurlTransport Failure: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
  • [2010-02-04 17:27:05.581] SyncContext: resend previous request #3
  • [2010-02-04 17:27:05.989] CurlTransport Failure: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
  • [2010-02-04 17:28:05.991] SyncContext: resend previous request #4
  • [2010-02-04 17:28:06.449] CurlTransport Failure: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
  • [2010-02-04 17:28:32.639] Asking server to suspend... Press CTRL-C again quickly (within 2s) to stop sync immediately (can cause problems during next sync!)
  • [2010-02-04 17:28:32.640] --------------- Ignoring all commands in this message (after 268 sec. request processing, 268 sec. total) with Status 514 (0=none) from here on
It works just fine from the Outlook/Thunderbird Funambol client and visiting the link in the N900 browser shows:
Invalid Request - The MDaemon SyncML server does not support requests from web browsers. Only SyncML 1.0, 1.1, and 1.2 clients are supported.
So all should be well
 
mason's Avatar
Posts: 93 | Thanked: 36 times | Joined on Nov 2009 @ Germany / Mainz
#94
this looks like a problem with a self signed cert, did you try loosening the ssl server cert check in the config.ini?

# The client refuses to establish the connection unless
# the server presents a valid certificate. Disabling this
# option considerably reduces the security of SSL
# (man-in-the-middle attacks become possible) and is not
# recommended.
SSLVerifyServer = 0
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#95
Originally Posted by mason View Post
this looks like a problem with a self signed cert, did you try loosening the ssl server cert check in the config.ini?
It's not self-signed - the mail client and browsers accept the certificate no questions, just this refuses it.
 
Posts: 4 | Thanked: 2 times | Joined on Dec 2009 @ Paris
#96
I tested syncevolution with goosync today and it's working great!
The only thing I'm missing is the multiple calendar support (for the moment, all my google calendars come into my principal N900 calendar but I use tags from goosync to sort them).
Missing syncML was the principal reason why I couldn't use my N900 as a principal phone. No it's possible!
Thanks a lot for this great job!
 
Posts: 123 | Thanked: 33 times | Joined on Jan 2010 @ Stockholm
#97
Erminig does the job for multiple Google calendars, although it is beta software without a GUI and can't handle recurring events as of yet. But it does handle all other events and multiple calendars as a charm already.
 
Posts: 2 | Thanked: 1 time | Joined on Jan 2010
#98
According to this blog, it seems this bug is due to "broken IPv6 support in the Maemo version of libcurl", however I have not idea to fix that bug....
Well, it is only an informed guess - I have not tried to patch libcurl to see if it is really true. The reason for my assumption of IPv6 being a problem is that it doesn't work with the hostname (which resolves to both IPv6 and IPv4 addresses) while it works nicely when I specify the IPv4 address in the config file.
 
Posts: 39 | Thanked: 0 times | Joined on Feb 2010 @ Zürich, Switzerland
#99
Synchronization with my funambol server worked a couple of times but now I get the following error

Code:
Nokia-N900-51-1:$ syncevolution funambol
[ERROR] /home/user/.cache/syncevolution/funambol-2010-02-24-14-50: No space left on device

Synchronization failed.

Changes applied during synchronization:
+---------------|-------ON CLIENT-------|-------ON SERVER-------|-CON-+
|               |   rejected / total    |   rejected / total    | FLI |
|        Source |  NEW  |  MOD  |  DEL  |  NEW  |  MOD  |  DEL  | CTS |
+---------------+-------+-------+-------+-------+-------+-------+-----+
|              synchronization failed (status code 500)               |
+---------------+-------+-------+-------+-------+-------+-------+-----+
Is it necessary to purge the cache manually or is this a bug of syncevolution??
 
mason's Avatar
Posts: 93 | Thanked: 36 times | Joined on Nov 2009 @ Germany / Mainz
#100
Originally Posted by joschum View Post
Code:
Nokia-N900-51-1:$ syncevolution funambol
[ERROR] /home/user/.cache/syncevolution/funambol-2010-02-24-14-50: No space left on device
this looks strange, are you sure you don't have a space issue?
 

The Following User Says Thank You to mason For This Useful Post:
Reply

Tags
calendar sync, maemo 5

Thread Tools

 
Forum Jump


All times are GMT. The time now is 15:34.