Re: [SyncEvolution] syncevolution and oracle = transport failure

2009-10-13 Thread Patrick Ohly
On Mon, 2009-10-12 at 15:54 +0100, Andrzej Wąsowski wrote:
 I know from our admin people, that they only support ssl - it is not possible 
 to get this to work on phones not supporting ssl.
 
 Floating surrounded by red fish.

I'm afraid I ran out of ideas. If you cannot get help from your admins,
then the only suggestion I have is to wait until we had a chance to do
interoperability testing with Oracle. Perhaps we'll learn something from
it that applies to your setup or find a real problem.

-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.


___
SyncEvolution mailing list
SyncEvolution@syncevolution.org
http://lists.syncevolution.org/listinfo/syncevolution


Re: [SyncEvolution] syncevolution and oracle = transport failure

2009-10-12 Thread Julien Garet
Hello,

Le lundi 12 octobre 2009 à 11:28 +0200, Andrzej Wąsowski a écrit :
 Dear Julien,
 
 On Mon, 12 Oct 2009, Julien Garet wrote:
 
  I get an error when trying to sync : [INFO] SoupTransport Failure:
  https://corp.agenda.com/ocst-bin/ocas.fcgi via libsoup: Connection
  terminated unexpectedly
 
 In my setup I was able to advance a bit by switching the requirement for 
 certificates off (I also was not able to get the certificates succeed, with 
 the same error as you do).
Do you mean setting SSLVerifyServer = 0 and SSLVerifyHost = 0 ?
It does not work better for me.

 
 I am also using an Oracle server.  Unfortunately I got stuck a bit later.
I feel less alone ;-)

Here is my config.ini (only what isn't commented in the file), did I
miss something ? I did not make any change to the .synthesis files, only
changed the config.ini files in sources

syncURL = https://agenda.inria.fr:/ocst-bin/ocas.fcgi
username = garet
password = my_password 
logdir = /tmp/syncevo
loglevel = 5
maxlogdirs = 1
RetryInterval = 5
deviceId = sc-pim-290f49b4-ab78-4c7b-9c82-6bed35815f2c
SSLVerifyServer = 0
SSLVerifyHost = 0
WebURL = 
IconURI = 
ConsumerReady = 1

and here are my sources files :
addressbook/config.ini:sync = none
addressbook/config.ini:type = addressbook:text/vcard
addressbook/config.ini:uri = ./Contacts

calendar/config.ini:sync = two-way
calendar/config.ini:type = calendar
calendar/config.ini:uri = ./Calendar/Events

memo/config.ini:sync = none
memo/config.ini:type = memo
memo/config.ini:uri = note

todo/config.ini:sync = none
todo/config.ini:type = todo
todo/config.ini:uri = ./Calendar/Tasks

Regards,

Julien

___
SyncEvolution mailing list
SyncEvolution@syncevolution.org
http://lists.syncevolution.org/listinfo/syncevolution


Re: [SyncEvolution] syncevolution and oracle = transport failure

2009-10-12 Thread Andrzej Wąsowski

Julien,

On Mon, 12 Oct 2009, Julien Garet wrote:


In my setup I was able to advance a bit by switching the requirement for
certificates off (I also was not able to get the certificates succeed, with
the same error as you do).

Do you mean setting SSLVerifyServer = 0 and SSLVerifyHost = 0 ?


Yes, this is what I did (I tried to add the certificate by exporting it from 
FireFox on the calendar website, but this did not work.  Libsoup was 
complaining).



It does not work better for me.


Were you still getting the same error message?  I start to wonder if I do not 
suffer from the ssl problem myself, while I try to find the solution 
elsewhere.



syncURL = https://agenda.inria.fr:/ocst-bin/ocas.fcgi
username = garet
password = my_password
logdir = /tmp/syncevo
loglevel = 5
maxlogdirs = 1
RetryInterval = 5
deviceId = sc-pim-290f49b4-ab78-4c7b-9c82-6bed35815f2c
SSLVerifyServer = 0
SSLVerifyHost = 0
WebURL =
IconURI =
ConsumerReady = 1

and here are my sources files :
addressbook/config.ini:sync = none
addressbook/config.ini:type = addressbook:text/vcard
addressbook/config.ini:uri = ./Contacts

calendar/config.ini:sync = two-way
calendar/config.ini:type = calendar
calendar/config.ini:uri = ./Calendar/Events


I only use the calendar at the moment - I want to make it work first.  But my 
set up is essentially the same as yours.


Other users of my server also add a query limitiing the scope of 
synchronization.  I heard rumours that unlimited does not work, but I do not 
know if this is a client or a server limitation in their cases.



calendar/config.ini:uri = ./Calendar/Events?/dr(-60,180)

Gives a scope of 60 days back and 180 in future.

Andrzej
___
SyncEvolution mailing list
SyncEvolution@syncevolution.org
http://lists.syncevolution.org/listinfo/syncevolution


Re: [SyncEvolution] syncevolution and oracle = transport failure

2009-10-12 Thread Lukas Zeller

Hi Andrzej,

On Oct 12, 2009, at 13:51 , Andrzej Wąsowski wrote:

I only use the calendar at the moment - I want to make it work  
first.  But my set up is essentially the same as yours.


Other users of my server also add a query limitiing the scope of  
synchronization.  I heard rumours that unlimited does not work, but  
I do not know if this is a client or a server limitation in their  
cases.


AFAIK Oracle servers just use a default limit (often quite tight, such  
as only 7 days into the future) when none is specified using the /dr(- 
x,y) syntax.


Note also that the Oracle server can be configured to reject any sync  
attempt with clients it does not know (i.e. for which no so-called  
profile exists on the server). This might be the problem - altough  
according to Oracle by default the server does not reject unknown  
devices.


If someone has admin access to the server, it might be worth trying to  
create a profile for SyncEvolution, probably easiest way would be  
duplicating the Synthesis iPhone client profile (as it is a close  
relative to SyncEvolution) and adapt the model matching strings. See http://download.oracle.com/docs/cd/B25553_01/calendar.1012/b25485/ocas.htm#BABCEGID 
 for documentation - I have no experience myself as I never had admin  
access to an OCS installation. But I have done a lot of IOT with Oracle.


Best Regards,

Lukas Zeller (l...@synthesis.ch)
-
Synthesis AG, SyncML Solutions   Sustainable Software Concepts
i...@synthesis.ch, http://www.synthesis.ch




___
SyncEvolution mailing list
SyncEvolution@syncevolution.org
http://lists.syncevolution.org/listinfo/syncevolution


Re: [SyncEvolution] syncevolution and oracle = transport failure

2009-10-12 Thread Andrzej Wąsowski

Dear  Lukas,

Thank you for a hint.

On Mon, 12 Oct 2009, Lukas Zeller wrote:

Note also that the Oracle server can be configured to reject any sync 
attempt with clients it does not know (i.e. for which no so-called profile 
exists on the server). This might be the problem - altough according to 
Oracle by default the server does not reject unknown devices.


If someone has admin access to the server, it might be worth trying to 
create a profile for SyncEvolution.


This may be a real pain, as I am officially not entitled to use our IT people 
time to support Linux - I am doing this in my free time, and I should also be 
careful how do I use the time of admin people.  Nevertheless, I asked to see 
whether this could be the reason.


If this is the reason, perhaps I could hack syncevolution to pretend it is an 
iPhone?


Andrzej

___
SyncEvolution mailing list
SyncEvolution@syncevolution.org
http://lists.syncevolution.org/listinfo/syncevolution


Re: [SyncEvolution] syncevolution and oracle = transport failure

2009-10-12 Thread Lukas Zeller

Hello Andrzej,

On Oct 12, 2009, at 15:18 , Andrzej Wąsowski wrote:

If this is the reason, perhaps I could hack syncevolution to pretend  
it is an iPhone?


Yes, at least to see if it makes any difference. You could change the  
model and manufacturer settings in the XML config.


The iPhone client identifies itself as:

  Model: SySync Client iPhone Contacts+TodoZ
  Manufacturer : Synthesis AG

You might want to try the much longer available PocketPC client first,  
as the profile for the iPhone client was added to OCS no so long ago,  
so it might not yet be known on a older installation:


  Model: SySync Client PocketPC PRO
  Manufacturer : Synthesis AG

Please note however that using these identifiers is not a solution,  
only a temporary hack and testing setup.


Best Regards,

Lukas Zeller (l...@synthesis.ch)
-
Synthesis AG, SyncML Solutions   Sustainable Software Concepts
i...@synthesis.ch, http://www.synthesis.ch




___
SyncEvolution mailing list
SyncEvolution@syncevolution.org
http://lists.syncevolution.org/listinfo/syncevolution


Re: [SyncEvolution] syncevolution and oracle = transport failure

2009-10-12 Thread Patrick Ohly
On Mon, 2009-10-12 at 14:18 +0100, Andrzej Wąsowski wrote:
 If this is the reason, perhaps I could hack syncevolution to pretend it is an 
 iPhone?

Oracle seems to match against Model and Manufacturer, plus optionally
the firmware version. You can override this in your client XML config by
changing

  model/
  manufacturer/

into

  manufacturerSonyEricsson/manufacturer
  modelK750i/model

I picked the K750i as example here because the strings were in the
documentation referenced by Lukas whereas I don't know what the strings
for the Synthesis iPhone client are.

-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.


___
SyncEvolution mailing list
SyncEvolution@syncevolution.org
http://lists.syncevolution.org/listinfo/syncevolution


Re: [SyncEvolution] syncevolution and oracle = transport failure

2009-10-12 Thread Julien Garet
Le lundi 12 octobre 2009 à 13:51 +0200, Andrzej Wąsowski a écrit :
 Julien,
 
 On Mon, 12 Oct 2009, Julien Garet wrote:
 
  In my setup I was able to advance a bit by switching the requirement for
  certificates off (I also was not able to get the certificates succeed, with
  the same error as you do).
  Do you mean setting SSLVerifyServer = 0 and SSLVerifyHost = 0 ?
 
 Yes, this is what I did (I tried to add the certificate by exporting it from 
 FireFox on the calendar website, but this did not work.  Libsoup was 
 complaining).
 
  It does not work better for me.
 
 Were you still getting the same error message?  I start to wonder if I do not 
 suffer from the ssl problem myself, while I try to find the solution 
 elsewhere.

Yes, I am getting error messages from libsoups :
[INFO] SoupTransport Failure:
https://agenda.inria.fr:/ocst-bin/ocas.fcgi via libsoup: Connection
terminated unexpectedly

telnet agenda.inria.fr: works well... There might be something the
client says to the server that is unpleasant...

I attach the sysynclib* files from the last run of syncevolution. I have
from where I run the syncevolution client a syncclient_sample_config.xml
containing various tests from the mails of the day.


 
  syncURL = https://agenda.inria.fr:/ocst-bin/ocas.fcgi
  username = garet
  password = my_password
  logdir = /tmp/syncevo
  loglevel = 5
  maxlogdirs = 1
  RetryInterval = 5
  deviceId = sc-pim-290f49b4-ab78-4c7b-9c82-6bed35815f2c
  SSLVerifyServer = 0
  SSLVerifyHost = 0
  WebURL =
  IconURI =
  ConsumerReady = 1
 
  and here are my sources files :
  addressbook/config.ini:sync = none
  addressbook/config.ini:type = addressbook:text/vcard
  addressbook/config.ini:uri = ./Contacts
 
  calendar/config.ini:sync = two-way
  calendar/config.ini:type = calendar
  calendar/config.ini:uri = ./Calendar/Events
 
 I only use the calendar at the moment - I want to make it work first.  But my 
 set up is essentially the same as yours.
 
 Other users of my server also add a query limitiing the scope of 
 synchronization.  I heard rumours that unlimited does not work, but I do not 
 know if this is a client or a server limitation in their cases.

I think our server is set to do something like +60 days in the future,
does not know if it's default.
 
 
 calendar/config.ini:uri = ./Calendar/Events?/dr(-60,180)
 
 Gives a scope of 60 days back and 180 in future.
 
 Andrzej


sysynclib_linux.tgz
Description: application/compressed-tar
___
SyncEvolution mailing list
SyncEvolution@syncevolution.org
http://lists.syncevolution.org/listinfo/syncevolution


Re: [SyncEvolution] syncevolution and oracle = transport failure

2009-10-12 Thread Patrick Ohly
On Mon, 2009-10-12 at 16:46 +0100, Julien Garet wrote:
  Were you still getting the same error message?  I start to wonder if I do 
  not 
  suffer from the ssl problem myself, while I try to find the solution 
  elsewhere.
 
 Yes, I am getting error messages from libsoups :
 [INFO] SoupTransport Failure:
 https://agenda.inria.fr:/ocst-bin/ocas.fcgi via libsoup: Connection
 terminated unexpectedly
 
 telnet agenda.inria.fr: works well... There might be something the
 client says to the server that is unpleasant...

Your case is different than Andrzej's The HTTP(S) transport in libsoup
doesn't get back anything from the server. This is something which has
to be debugged at the network level with network dumps, to determine
whether the SSL handshake works at all.

-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.


___
SyncEvolution mailing list
SyncEvolution@syncevolution.org
http://lists.syncevolution.org/listinfo/syncevolution


[SyncEvolution] syncevolution and oracle = transport failure

2009-10-09 Thread Julien Garet
Hello all,

I am discovering your work (which seems great) while testing moblin
distro. But I can't find a way to sync with neither our corporate agenda
(which is an oracle agenda) nor a personnal horde one. The most
important one to me is oracle, so I will start with this one. It is a
syncml 1.1 compatible server, and I successfully sync my agenda with a
Nokia E61 client or a funambol client on iphone.

Here is the configuration set :
synchronisation url is : https://corp.agenda.com:/ocst-bin/ocas.fcgi
calendar uri is : ./Calendar/Events
SSL root certs are set as follow, I have added my root certs for the
agenda server in /etc/ssl/certs/ca-certificates.crt :
SSLServerCertificates
= 
/etc/ssl/certs/ca-certificates.crt:/etc/pki/tls/certs/ca-bundle.crt:/usr/share/ssl/certs/ca-bundle.crt

I get an error when trying to sync : [INFO] SoupTransport Failure:
https://corp.agenda.com/ocst-bin/ocas.fcgi via libsoup: Connection
terminated unexpectedly

I don't see what isn't ok in my setup. If anybody already has had
success with oracle agenda, any help would be very appreciated.

Yours,

Julien Garet

___
SyncEvolution mailing list
SyncEvolution@syncevolution.org
http://lists.syncevolution.org/listinfo/syncevolution


Re: [SyncEvolution] syncevolution and oracle = transport failure

2009-10-09 Thread Chen, Congwu
Hi, Julien
We don't have interoperability test with Oracle Agenda yet.

I think this is a network problem. Can you wget the link 
https://corp.agenda.com/ocst-bin/ocas.fcgi?
Also are you inside a company network that requires a proxy? You can set it in 
the configuration. 

Thanks,
Chen,Congwu
-Original Message-
From: syncevolution-boun...@syncevolution.org
[mailto:syncevolution-boun...@syncevolution.org] On Behalf Of Julien Garet
Sent: Saturday, October 10, 2009 12:27 AM
To: syncevolution@syncevolution.org
Subject: [SyncEvolution] syncevolution and oracle = transport failure

Hello all,

   I am discovering your work (which seems great) while testing moblin
distro. But I can't find a way to sync with neither our corporate agenda
(which is an oracle agenda) nor a personnal horde one. The most
important one to me is oracle, so I will start with this one. It is a
syncml 1.1 compatible server, and I successfully sync my agenda with a
Nokia E61 client or a funambol client on iphone.

Here is the configuration set :
synchronisation url is : https://corp.agenda.com:/ocst-bin/ocas.fcgi
calendar uri is : ./Calendar/Events
SSL root certs are set as follow, I have added my root certs for the
agenda server in /etc/ssl/certs/ca-certificates.crt :
SSLServerCertificates
=
/etc/ssl/certs/ca-certificates.crt:/etc/pki/tls/certs/ca-bundle.crt:/usr/share/s
sl/certs/ca-bundle.crt

I get an error when trying to sync : [INFO] SoupTransport Failure:
https://corp.agenda.com/ocst-bin/ocas.fcgi via libsoup: Connection
terminated unexpectedly

I don't see what isn't ok in my setup. If anybody already has had
success with oracle agenda, any help would be very appreciated.

Yours,

Julien Garet

___
SyncEvolution mailing list
SyncEvolution@syncevolution.org
http://lists.syncevolution.org/listinfo/syncevolution
___
SyncEvolution mailing list
SyncEvolution@syncevolution.org
http://lists.syncevolution.org/listinfo/syncevolution


Re: [SyncEvolution] syncevolution and oracle = transport failure

2009-10-09 Thread Zhu, Yongsheng
Another thing is the network port in the syncML URL. I found the error info 
shows
the URL with a default port but the configuration set shows the sync URL with a 
port ''.
Could you please have a check?

Cheers,
Yongsheng

-Original Message-
From: syncevolution-boun...@syncevolution.org 
[mailto:syncevolution-boun...@syncevolution.org] On Behalf Of Chen, Congwu
Sent: Saturday, October 10, 2009 9:09 AM
To: Julien Garet; syncevolution@syncevolution.org
Subject: Re: [SyncEvolution] syncevolution and oracle = transport failure

Hi, Julien
We don't have interoperability test with Oracle Agenda yet.

I think this is a network problem. Can you wget the link 
https://corp.agenda.com/ocst-bin/ocas.fcgi?
Also are you inside a company network that requires a proxy? You can set it in 
the configuration. 

Thanks,
Chen,Congwu
-Original Message-
From: syncevolution-boun...@syncevolution.org
[mailto:syncevolution-boun...@syncevolution.org] On Behalf Of Julien Garet
Sent: Saturday, October 10, 2009 12:27 AM
To: syncevolution@syncevolution.org
Subject: [SyncEvolution] syncevolution and oracle = transport failure

Hello all,

   I am discovering your work (which seems great) while testing moblin
distro. But I can't find a way to sync with neither our corporate agenda
(which is an oracle agenda) nor a personnal horde one. The most
important one to me is oracle, so I will start with this one. It is a
syncml 1.1 compatible server, and I successfully sync my agenda with a
Nokia E61 client or a funambol client on iphone.

Here is the configuration set :
synchronisation url is : https://corp.agenda.com:/ocst-bin/ocas.fcgi
calendar uri is : ./Calendar/Events
SSL root certs are set as follow, I have added my root certs for the
agenda server in /etc/ssl/certs/ca-certificates.crt :
SSLServerCertificates
=
/etc/ssl/certs/ca-certificates.crt:/etc/pki/tls/certs/ca-bundle.crt:/usr/share/s
sl/certs/ca-bundle.crt

I get an error when trying to sync : [INFO] SoupTransport Failure:
https://corp.agenda.com/ocst-bin/ocas.fcgi via libsoup: Connection
terminated unexpectedly

I don't see what isn't ok in my setup. If anybody already has had
success with oracle agenda, any help would be very appreciated.

Yours,

Julien Garet

___
SyncEvolution mailing list
SyncEvolution@syncevolution.org
http://lists.syncevolution.org/listinfo/syncevolution
___
SyncEvolution mailing list
SyncEvolution@syncevolution.org
http://lists.syncevolution.org/listinfo/syncevolution
___
SyncEvolution mailing list
SyncEvolution@syncevolution.org
http://lists.syncevolution.org/listinfo/syncevolution