View Issue Details

IDProjectCategoryView StatusLast Update
0000816SOGoBackend Calendarpublic2012-02-08 20:09
Reportersniffer Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.3.1 
Summary0000816: iCal 4.* not work with SOGo with multiple calendars
Description

I'm add 5 sogo accounts into iCal and after restart only part of all accounts are successfully connected to sogo.

After clicked on "Refresh All" few times connection to all sogo accounts are recovered

The same problem is present if i'm add only 1 account into iCal and use delegation.

SOGo Log:

"PROPFIND /SOGo/dav/user1/ HTTP/1.1" 403 248/209 0.033 - - 0
"PROPFIND /SOGo/dav/user2/ HTTP/1.1" 403 248/209 0.068 - - 0
"PROPFIND /SOGo/dav/user3/ HTTP/1.1" 403 248/209 0.041 - - 0
"PROPFIND /SOGo/dav/user4/ HTTP/1.1" 403 248/209 -1.877 - - 0

"PROPFIND /SOGo/dav/user3/ HTTP/1.1" 207 7038/862 0.162 - - 0
"PROPFIND /SOGo/dav/user2/ HTTP/1.1" 207 7038/862 0.162 - - 0

iCal Log:

"HTTP/1.1 403 Forbidden" to operation CalDAVAccountRefreshQueueableOperation.

Additional Information

Sogo config:

{
NSGlobalDomain = {
};
gdnc = {
};
sogod = {
NGUseUTF8AsURLEncoding = YES;
OCSFolderInfoURL = "postgresql://sogo:q1w2e3r4@db.domain.com:5432/sogo/sogo_folder_info";
SOGoACLsSendEMailNotifications = YES;
SOGoAppointmentSendEMailNotifications = YES;
SOGoAuthenticationMethod = LDAP;
SOGoDraftsFolderName = Drafts;
SOGoFoldersSendEMailNotifications = YES;
SOGoIMAPServer = "imap.domain.com";
SOGoLanguage = English;
SOGoMailDomain = "domain.com";
SOGoMailingMechanism = smtp;
SOGoOtherUsersFolderName = "Other Users";
SOGoProfileURL = "postgresql://postgresql://sogo:q1w2e3r4@db.domain.com:5432/sogo/sogo_user_profile";
SOGoSMTPServer = "smtp.domain.com";
SOGoSentFolderName = Sent;
SOGoSharedFolderName = "Shared Folders";
SOGoTimeZone = Europe/Kiev;
SOGoTrashFolderName = Trash;
SOGoUserSources = (
{
CNFieldName = cn;
IDFieldName = cn;
UIDFieldName = cn;
baseDN = "ou=users,dc=domain,dc=com";
bindDN = "cn=sogo,ou=systemusers,dc=domain,dc=com";
bindPassword = q1w2e3r4;
canAuthenticate = YES;
displayName = "Shared Addresses";
hostname = "ldap.domain.com";
id = public;
isAddressBook = YES;
port = 389;
type = ldap;
}
);
WOMessageUseUTF8 = YES;
WOParsersUseUTF8 = YES;
WOPort = 20000;
WOUseRelativeURLs = YES;
};
}

Apache Config:

Alias /SOGo.woa/WebServerResources/ \
/usr/GNUstep/System/Library/SOGo/WebServerResources/
Alias /SOGo/WebServerResources/ \
/usr/GNUstep/System/Library/SOGo/WebServerResources/
AliasMatch /SOGo/so/ControlPanel/Products/(.)/Resources/(.) \
/usr/GNUstep/System/Library/SOGo/$1.SOGo/Resources/$2

<LocationMatch "^/SOGo/so/ControlPanel/Products/.UI/Resources/.jpg">
SetHandler default-handler
</LocationMatch>

<LocationMatch "^/SOGo/so/ControlPanel/Products/.UI/Resources/.png">
SetHandler default-handler
</LocationMatch>

<LocationMatch "^/SOGo/so/ControlPanel/Products/.UI/Resources/.gif">
SetHandler default-handler
</LocationMatch>

<LocationMatch "^/SOGo/so/ControlPanel/Products/.UI/Resources/.css">
SetHandler default-handler
</LocationMatch>

<LocationMatch "^/SOGo/so/ControlPanel/Products/.UI/Resources/.js">
SetHandler default-handler
</LocationMatch>

Uncomment the following to enable proxy-side authentication, you will then

need to set the "SOGoTrustProxyAuthentication" SOGo user default to YES and

adjust the "x-webobjects-remote-user" proxy header in the "Proxy" section

below.

#<Location /SOGo>

AuthType XXX

Require valid-user

SetEnv proxy-nokeepalive 1

Allow from all

#</Location>

ProxyRequests Off
SetEnv proxy-nokeepalive 1
ProxyPreserveHost On
ProxyPassInterpolateEnv On
ProxyPass /SOGo http://127.0.0.1:20000/SOGo interpolate

<Proxy http://127.0.0.1:20000/SOGo>

adjust the following to your configuration

RequestHeader set "x-webobjects-server-port" "443"
RequestHeader set "x-webobjects-server-name" "webmail.domain.com"
RequestHeader set "x-webobjects-server-url" "https://webmail.domain.com&quot;

When using proxy-side autentication, you need to uncomment and

adjust the following line:

RequestHeader set "x-webobjects-remote-user" "%{REMOTE_USER}e"

RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0"
RequestHeader set "x-webobjects-remote-host" "127.0.0.1"

AddDefaultCharset UTF-8

Order allow,deny
Allow from all
</Proxy>

OS: Centos 5.5 i386

TagsNo tags attached.

Activities

ludovic

ludovic

2010-09-14 21:50

administrator   ~0001452

Please try with the nightly builds that have just been regenerated.

ludovic

ludovic

2010-11-01 13:58

administrator   ~0001677

Any update on this?

sniffer

sniffer

2010-11-08 14:13

reporter   ~0001728

It did not help. I tried to use the nightly builds, but the same result. I updated to version 1.3.3, but the same result.

sniffer

sniffer

2010-11-24 17:47

reporter   ~0001893

iCal 4 log:

CalDAV CalDAVAccountRefreshQueueableOperation failed: status '401' request:

<?xml version="1.0" encoding="utf-8"?>
<x0:propfind xmlns:x1="urn:ietf:params:xml:ns:caldav" xmlns:x0="DAV:" xmlns:x2="http://calendarserver.org/ns/&quot;>
<x0:prop>
<x0:principal-collection-set/>
<x1:calendar-home-set/>
<x1:calendar-user-address-set/>
<x1:schedule-inbox-URL/>
<x1:schedule-outbox-URL/>
<x2:dropbox-home-URL/>
<x2:xmpp-uri/>
<x2:notification-URL/>
<x0:displayname/>
<x0:principal-URL/>
<x0:supported-report-set/>
</x0:prop>
</x0:propfind>

... response:
HTTP/1.1 401 Authorization Required
Date: Wed, 24 Nov 2010 17:34:18 GMT
Www-Authenticate: basic realm="SOGo"
Content-Length: 0
Content-Type: text/plain; charset=UTF-8
Connection: close


wsourdeau

wsourdeau

2011-03-30 18:42

viewer   ~0002324

Does this work with Apple CalendarServer? NIght be an iCal issue rather than a SOGo one...

ludovic

ludovic

2012-02-08 20:09

administrator   ~0003390

No status provided in almost a year. Closing. Reopen if necessary.

Issue History

Date Modified Username Field Change
2010-09-08 17:08 sniffer New Issue
2010-09-14 21:50 ludovic Note Added: 0001452
2010-11-01 13:58 ludovic Note Added: 0001677
2010-11-01 13:58 ludovic Status new => feedback
2010-11-08 14:13 sniffer Note Added: 0001728
2010-11-24 17:47 sniffer Note Added: 0001893
2011-03-30 18:42 wsourdeau Note Added: 0002324
2012-02-08 20:09 ludovic Note Added: 0003390
2012-02-08 20:09 ludovic Status feedback => closed
2012-02-08 20:09 ludovic Resolution open => fixed