What iOS version? I'm using 1.3.7 with 4.3.3 and it is working ok. Regards, Mark
On 30 May 2011, at 23:05, Bill Cameron <[email protected]> wrote: > Hi, > > SOGo 1.3.4 was working with the iPhone calendar and contacts. We > recently upgraded to 1.3.7 and since then have had problems with > getting things to sync when setting up new devices and creating > accounts on exisitng devices. SOGo is working with Thunderbird and > we've had no sync issues with Thunderbird plus Inverse addons. > > I set up a test sever not using SSL and connected to the same > postgresql database so I could see what is happening. The iPhones and > iPod Touch show the same problem with the test server. > > Problem: Setting up a new iPhone with a calDav account. It will > correctly validate the account but no further communication happens > between the iPhone and SOGo server. Existing iPhones previously > configured seem to work OK. If a calDav or cardDav account is deleted > and recreated then it no longer works. Setting up accounts on new > devices does not work. > > The sogo log shows the follwoing when a new caldav account is created > on the device: > localhost - - [30/May/2011:14:54:56 GMT] "PROPFIND /SOGo/dav/cameron/ > HTTP/1.1" 401 0/517 0.016 - - 48K > localhost - - [30/May/2011:14:54:57 GMT] "PROPFIND /SOGo/dav/cameron/ > HTTP/1.1" 207 1789/517 0.008 - - 4K > localhost - - [30/May/2011:14:54:57 GMT] "OPTIONS /SOGo/dav/cameron/ > HTTP/1.1" 200 0/0 0.002 - - 0 > > and no further communication. On the iPhone the Calendars setting is > set to Sync -> All Events. I've looked through the logs and the > traffic between devices but have not seen what is causing the problem. > When I create new accounts on the devices there is the initial account > validation but no further synchronization attempts are made. > > Any ideas? > Thanks, Bill C. > > Environment: > Debian Squeeze > sogo 1.3.7a package installed > PostgresQL database > > iPhone/iPod Touch OS 4.2.x and 4.3.x > -------------------------------------------------------- > SOGo config: > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE plist PUBLIC "-//GNUstep//DTD plist 0.9//EN" > "http://www.gnustep.org/plist-0_9.xml"> > <plist version="0.9"> > <dict> > <key>NSGlobalDomain</key> > <dict> > </dict> > <key>sogod</key> > <dict> > <key>NGImap4DisableIMAP4Pooling</key> > <string>NO</string> > <key>OCSFolderInfoURL</key> > > <string>postgresql://sogo:[email protected]:5432/sogo/sogo_folder_info</string> > <key>OCSSessionsFolderURL</key> > > <string>postgresql://sogo:[email protected]:5432/sogo/sogo_sessions_folder</string> > <key>SOGoACLsSendEMailNotifications</key> > <string>NO</string> > <key>SOGoAppointmentSendEMailNotifications</key> > <string>YES</string> > <key>SOGoCalendarDefaultRoles</key> > <array> > <string>PublicDAndTViewer</string> > </array> > <key>SOGoDraftsFolderName</key> > <string>INBOX/Drafts</string> > <key>SOGoFoldersSendEMailNotifications</key> > <string>NO</string> > <key>SOGoForwardEnabled</key> > <string>NO</string> > <key>SOGoIMAPServer</key> > <string>mail.company.ca</string> > <key>SOGoLDAPQueryLimit</key> > <string>30</string> > <key>SOGoLanguage</key> > <string>English</string> > <key>SOGoLoginModule</key> > <string>Mail</string> > <key>SOGoMailDomain</key> > <string>company.ca</string> > <key>SOGoMailReplyPlacement</key> > <string>above</string> > <key>SOGoMailSpoolPath</key> > <string>/var/tmp</string> > <key>SOGoMailingMechanism</key> > <string>smtp</string> > <key>SOGoOtherUsersFolderName</key> > <string>Other Users</string> > <key>SOGoPasswordChangeEnabled</key> > <string>YES</string> > <key>SOGoProfileURL</key> > > <string>postgresql://sogo:[email protected]:5432/sogo/sogo_user_profile</string> > <key>SOGoSMTPServer</key> > <string>host2.company.ca</string> > <key>SOGoSentFolderName</key> > <string>INBOX/Sent</string> > <key>SOGoSharedFolderName</key> > <string>INBOX/Shared</string> > <key>SOGoSieveScriptsEnabled</key> > <string>YES</string> > <key>SOGoSuperUsernames</key> > <array> > <string>admin</string> > </array> > <key>SOGoTimeZone</key> > <string>Canada/Mountain</string> > <key>SOGoTrashFolderName</key> > <string>INBOX/Trash</string> > <key>SOGoUserSources</key> > <array> > <dict> > <key>CNFieldName</key> > <string>cn</string> > <key>IDFieldName</key> > <string>uid</string> > <key>UIDFieldName</key> > <string>uid</string> > <key>baseDN</key> > <string>ou=people,dc=company,dc=ca</string> > <key>bindDN</key> > <string>cn=reader,dc=company,dc=ca</string> > <key>bindPassword</key> > <string>xxx</string> > <key>canAuthenticate</key> > <string>YES</string> > <key>displayName</key> > <string>Company Directory</string> > <key>hostname</key> > <string>host.company.ca</string> > <key>id</key> > <string>public</string> > <key>isAddressBook</key> > <string>YES</string> > <key>port</key> > <string>389</string> > <key>type</key> > <string>ldap</string> > </dict> > <dict> > <key>CNFieldName</key> > <string>cn</string> > <key>IDFieldName</key> > <string>uid</string> > <key>UIDFieldName</key> > <string>uid</string> > <key>baseDN</key> > <string>o=string</string> > <key>canAuthenticate</key> > <string>NO</string> > <key>displayName</key> > <string>Other Company Directory</string> > <key>filter</key> > <string>(Public='rest')</string> > <key>hostname</key> > <string>host1.company.ca</string> > <key>id</key> > <string>sil</string> > <key>isAddressBook</key> > <string>YES</string> > <key>port</key> > <string>389</string> > <key>type</key> > <string>ldap</string> > </dict> > </array> > <key>SOGoVacationEnabled</key> > <string>YES</string> > <key>SOGoZipPath</key> > <string>/bin/gzip</string> > <WOUseRelativeURLs</key> > <string>YES</string> > </dict> > </dict> > </plist> > ---------------------------------------------------- > Apache config > Alias /SOGo.woa/WebServerResources/ \ > /usr/lib/GNUstep/SOGo/WebServerResources/ > Alias /SOGo/WebServerResources/ \ > /usr/lib/GNUstep/SOGo/WebServerResources/ > AliasMatch /SOGo/so/ControlPanel/Products/(.*)/Resources/(.*) \ > /usr/lib/GNUstep/SOGo/$1.SOGo/Resources/$2 > > <Directory /usr/lib/GNUstep/SOGo/> > AllowOverride None > Order deny,allow > Allow from all > </Directory> > > <LocationMatch > "^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*\.(jpg|png|gif|css|js)"> > SetHandler default-handler > </LocationMatch> > > ProxyRequests Off > SetEnv proxy-nokeepalive 1 > ProxyPreserveHost On > > ProxyPass /SOGo http://127.0.0.1:20000/SOGo retry=0 > > <Proxy http://127.0.0.1:20000/SOGo> > ## adjust the following to your configuration > RequestHeader set "x-webobjects-server-port" "80" > RequestHeader set "x-webobjects-server-name" "server.company.ca" > RequestHeader set "x-webobjects-server-url" "http://server.company.ca" > RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0" > RequestHeader set "x-webobjects-remote-host" %{REMOTE_HOST}e env=REMOTE_HOST > > AddDefaultCharset UTF-8 > > Order allow,deny > Allow from all > </Proxy> > > ## We use mod_rewrite to pass remote address to the SOGo proxy. > # The remote address will appear in SOGo's log files and in the X-Forward > # header of emails. > RewriteEngine On > RewriteRule ^/SOGo/(.*)$ /SOGo/$1 [env=REMOTE_HOST:%{REMOTE_ADDR},PT] > ------------------------------------------------- > > Attached file: caldav.txt > tcpdump of communication between device and SOGo server when a new > caldav account is created. That is the only communication that takes > place. > -- > [email protected] > https://inverse.ca/sogo/lists > <caldav.txt> -- [email protected] https://inverse.ca/sogo/lists
