Hello,

I've been trying to make carddav sync work with an iphone for two days without success,
so I come to this list (where I read all related post already as well)

I followed the manual and configured the additional vhost exactly as stated (see attached file),
but the iphone won't sync anything.

Versions
OS: Ubuntu 10.04
Sogo: 1.3.7a
Iphone 4.3 (didnt see the minor version)

To be noted is that I'm using emails as login. I've seen issues with that and tried to replace @ with %40 with no more luck.

I see the request reach the server, because setting a wrong username fails with
SOGoDAVAuthenticator]> tried wrong password for user '[email protected]'!

With a valid user I don't have such message. The Iphone accepts the account but nothing happens.
The sogo log is below:

127.0.0.1 - - [20/Jun/2011:21:53:25 GMT] "OPTIONS /SOGo/dav/.well-known/carddav HTTP/1.1" 404 43/0 0.004 - - 0 127.0.0.1 - - [20/Jun/2011:21:53:25 GMT] "OPTIONS /SOGo/dav/ HTTP/1.1" 401 0/0 0.003 - - 0 2011-06-20 21:53:26.182 sogod[2551] -[WEClientCapabilities initWithRequest:]: Unknown WebClient: user-agent='DataAccess/1.0 (8F190)' 127.0.0.1 - - [20/Jun/2011:21:53:26 GMT] "OPTIONS /SOGo/dav/ HTTP/1.1" 200 0/0 0.014 - - 0 Jun 20 21:53:26 sogod [2551]: [WARN] |SOGo| tried to access undefined KVC key: 'davPrincipalURL' 2011-06-20 21:53:26.343 sogod[2551] -[WEClientCapabilities initWithRequest:]: Unknown WebClient: user-agent='DataAccess/1.0 (8F190)' 127.0.0.1 - - [20/Jun/2011:21:53:26 GMT] "PROPFIND /SOGo/dav/ HTTP/1.1" 207 476/181 0.024 - - 0

Is it normal that I get a 404 at first ?

Also, I tried to access the sogo.example.com:8843 url with konqueror wich support webdav, and I managed to login.
What is shows me is a folder "dav". It is empty though.
If I then add [email protected] to the url, I have a list of folders: Mail, Contacts, Calendar, [email protected]

This tend to show that sogo is handling the request but I'm stuck there.
Any help would be greatly appreciated.

--
Bruno Leon

--
[email protected]
https://inverse.ca/sogo/lists
<VirtualHost *:8843>
  Include                         /etc/ssl/services/apache2_mail.example.com
  RewriteEngine Off
  ProxyRequests Off
  SetEnv proxy-nokeepalive 1
  ProxyPreserveHost On
  ProxyPassInterpolateEnv On
  ProxyPass /principals http://127.0.0.1:20000/SOGo/dav/ interpolate
  ProxyPass /SOGo http://127.0.0.1:20000/SOGo interpolate
  ProxyPass / http://127.0.0.1:20000/SOGo/dav/ interpolate

  <Location />
    Order allow,deny
    Allow from all
  </Location>

  <Proxy http://127.0.0.1:20000>
    RequestHeader set "x-webobjects-server-port" "8843"
    RequestHeader set "x-webobjects-server-name" "sogo.example.com:8843"
    RequestHeader set "x-webobjects-server-url" "https://sogo.example.com:8843";
    RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0"
    RequestHeader set "x-webobjects-remote-host" "127.0.0.1"
    AddDefaultCharset UTF-8
  </Proxy>
  ErrorLog /var/log/apache2/ab-error.log
  CustomLog /var/log/apache2/ab-access.log combined
</VirtualHost>

Reply via email to