wsourdeau
2009-08-20 15:36
viewer
~0000094
|
It would help to know the URL you are using. I have never seen that code anywhere so I suspect the problem is rather caused by a misconfiguration of your webserver. |
|
|
It's an internal server so you won't be able to access it. Our admin says that he simply used the Apache configs provided by sogo.
As an additional note our sogo setup does work with iCal 3.0 and the Thunderbird/Lightning and Outlook plugins, just not with iCal 4.0 at the moment. |
|
|
btw the error in "additional information" is the one provided by my iCal client. |
|
|
here is the SOGo.conf we use:
Alias /sogo.woa/WebServerResources/ \
/usr/GNUstep/System/Library/SOGo/WebServerResources/
Alias /SOGo.woa/WebServerResources/ \
/usr/GNUstep/System/Library/SOGo/WebServerResources/
Alias /SOGO.woa/WebServerResources/ \
/usr/GNUstep/System/Library/SOGo/WebServerResources/
<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>
AliasMatch /SOGo/so/ControlPanel/Products/(.)/Resources/(.) \
/usr/GNUstep/System/Library/SOGo/$1.SOGo/Resources/$2
<Proxy balancer://sogocluster>
BalancerMember http://127.0.0.1:20000 retry=1 max=1 timeout=120
ProxySet lbmethod=byrequests maxattempts=1
</Proxy>
SetEnv proxy-nokeepalive 1
ProxyRequests Off
ProxyPass /SOGo balancer://sogocluster/SOGo |
|
|
And our .GNUstepDefaults
{
NSGlobalDomain = {
};
gdnc = {
};
sogod = {
NGUseUTF8AsURLEncoding = YES;
OCSFolderInfoURL = "postgresql://asif:asif@localhost:5432/sogo/sogo_folder_info";
SOGoACLsSendEMailNotifications = YES;
SOGoAppointmentSendEMailNotifications = YES;
SOGoAuthenticationMethod = LDAP;
SOGoDefaultLanguage = English;
SOGoDefaultMailDomain = <FQDN>;
SOGoDraftsFolderName = Drafts;
SOGoFallbackIMAP4Server = <MAIL FQDN>;
SOGoFoldersSendEMailNotifications = YES;
SOGoLDAPSources = ( <removed this> );
SOGoMailingMechanism = smtp;
SOGoOtherUsersFolderName = "Other Users";
SOGoProfileURL = "postgresql://asif:asif@localhost:5432/sogo/sogo_user_profile";
SOGoSMTPServer = <MAIL FQDN>;
SOGoSentFolderName = Sent;
SOGoServerTimeZone = Europe/Oslo;
SOGoSharedFolderName = "Shared Folders";
SOGoSuperUsernames = <BOHF>;
SOGoTrashFolderName = Trash;
SxVMemLimit = 1024;
WOApplicationRedirectURL = "http://<FQDN>";
WOMessageUseUTF8 = YES;
WOParsersUseUTF8 = YES;
WOPort = 20000;
WOUseRelativeURLs = NO;
};
} |
|
|
And the output of a session for the user:
==> /var/log/httpd/error_log <==
[Thu Aug 20 18:06:41 2009] [debug] mod_proxy_balancer.c(46): proxy: BALANCER: canonicalising URL //sogocluster/SOGo/dav/<user>/Calendar/
[Thu Aug 20 18:06:41 2009] [debug] mod_proxy_balancer.c(952): proxy: Entering byrequests for BALANCER (balancer://sogocluster)
[Thu Aug 20 18:06:41 2009] [debug] mod_proxy_balancer.c(535): proxy: BALANCER (balancer://sogocluster) worker (http://127.0.0.1:20000) rewritten to http://127.0.0.1:20000/SOGo/dav/<user>/Calendar/
[Thu Aug 20 18:06:41 2009] [debug] mod_proxy.c(966): Running scheme balancer handler (attempt 0)
[Thu Aug 20 18:06:41 2009] [debug] mod_proxy_http.c(1960): proxy: HTTP: serving URL http://127.0.0.1:20000/SOGo/dav/<user>/Calendar/
[Thu Aug 20 18:06:41 2009] [debug] proxy_util.c(2044): proxy: HTTP: has acquired connection for (127.0.0.1)
[Thu Aug 20 18:06:41 2009] [debug] proxy_util.c(2102): proxy: connecting http://127.0.0.1:20000/SOGo/dav/<user>/Calendar/ to 127.0.0.1:20000
[Thu Aug 20 18:06:41 2009] [debug] proxy_util.c(2195): proxy: connected /SOGo/dav/<user>/Calendar/ to 127.0.0.1:20000
[Thu Aug 20 18:06:41 2009] [debug] proxy_util.c(2347): proxy: HTTP: fam 2 socket created to connect to 127.0.0.1
[Thu Aug 20 18:06:41 2009] [debug] proxy_util.c(2448): proxy: HTTP: connection complete to 127.0.0.1:20000 (127.0.0.1)
[Thu Aug 20 18:06:41 2009] [debug] mod_proxy_http.c(1737): proxy: start body send
[Thu Aug 20 18:06:41 2009] [debug] mod_proxy_http.c(1826): proxy: end body send
[Thu Aug 20 18:06:41 2009] [debug] proxy_util.c(2062): proxy: HTTP: has released connection for (127.0.0.1)
[Thu Aug 20 18:06:41 2009] [debug] mod_proxy_balancer.c(46): proxy: BALANCER: canonicalising URL //sogocluster/SOGo/dav/<user>/Calendar/personal/
[Thu Aug 20 18:06:41 2009] [debug] mod_proxy_balancer.c(952): proxy: Entering byrequests for BALANCER (balancer://sogocluster)
[Thu Aug 20 18:06:41 2009] [debug] mod_proxy_balancer.c(535): proxy: BALANCER (balancer://sogocluster) worker (http://127.0.0.1:20000) rewritten to http://127.0.0.1:20000/SOGo/dav/<user>/Calendar/personal/
[Thu Aug 20 18:06:41 2009] [debug] mod_proxy.c(966): Running scheme balancer handler (attempt 0)
[Thu Aug 20 18:06:41 2009] [debug] mod_proxy_http.c(1960): proxy: HTTP: serving URL http://127.0.0.1:20000/SOGo/dav/<user>/Calendar/personal/
[Thu Aug 20 18:06:41 2009] [debug] proxy_util.c(2044): proxy: HTTP: has acquired connection for (127.0.0.1)
[Thu Aug 20 18:06:41 2009] [debug] proxy_util.c(2102): proxy: connecting http://127.0.0.1:20000/SOGo/dav/<user>/Calendar/personal/ to 127.0.0.1:20000
[Thu Aug 20 18:06:41 2009] [debug] proxy_util.c(2195): proxy: connected /SOGo/dav/<user>/Calendar/personal/ to 127.0.0.1:20000
[Thu Aug 20 18:06:41 2009] [debug] proxy_util.c(2347): proxy: HTTP: fam 2 socket created to connect to 127.0.0.1
[Thu Aug 20 18:06:41 2009] [debug] proxy_util.c(2448): proxy: HTTP: connection complete to 127.0.0.1:20000 (127.0.0.1)
[Thu Aug 20 18:06:41 2009] [debug] mod_proxy_http.c(1737): proxy: start body send
[Thu Aug 20 18:06:41 2009] [debug] mod_proxy_http.c(1826): proxy: end body send
[Thu Aug 20 18:06:41 2009] [debug] proxy_util.c(2062): proxy: HTTP: has released connection for (127.0.0.1)
==> /var/log/sogo/sogod-20000.log <==
localhost.localdomain - - [20/Aug/2009:18:06:41 GMT] "PROPFIND /SOGo/dav/<user>/Calendar/ HTTP/1.1" 207 3821/653 0.027 - - 0
localhost.localdomain - - [20/Aug/2009:18:06:41 GMT] "PROPFIND /SOGo/dav/<user>/Calendar/personal/ HTTP/1.1" 207 648/184 0.005 - - 0 |
|
|
Can you retry with the upcoming nightly build (one available in the next couple of hours)? |
|
|
installed and poked user :D |
|
|
I notice this in the log whenever user is doing a POST:
127.0.0.1 - - [16/Oct/2009:16:00:20 GMT] "POST /SOGo/so/quintinp/Calendar/weekview?day=20091016 HTTP/1.1" 200 1825/0 0.017 21036 91% 0
2009-10-16 16:00:20.537 sogod[25147] WARNING(-[NSNull(misc) length]): called NSNull -length (returns 0) !!!
2009-10-16 16:00:20.537 sogod[25147] WARNING(-[NSNull(misc) length]): called NSNull -length (returns 0) !!!
127.0.0.1 - - [16/Oct/2009:16:00:20 GMT] "POST /SOGo/so/quintinp/Calendar/eventsblocks?sd=20091012&ed=20091018&view=weekview HTTP/1.1" 200 504/0 0.006 - - 0
2009-10-16 16:00:20.537 sogod[25147] WARNING(-[NSNull(misc) length]): called NSNull -length (returns 0) !!!
2009-10-16 16:00:20.537 sogod[25147] WARNING(-[NSNull(misc) length]): called NSNull -length (returns 0) !!! |
|
|
Those are harmless. So, is it working? |
|
|
I can write to the calendar but I can't read from it.
Every time I try read from it (right click -> refresh), I get the error in the original post.
What's worse, every time it tries to do a "read", it seems like the calendar gets wiped. |
|
|
Fixed with http://mtn.inverse.ca/revision/diff/ffb403989e64c7ca37321c15ab24b50155dc2f68/with/fe50cf1e82dc1e3027fc400eb2f405261b9ad9f3
There might be a problem with delegation. If so, file a new ticket. |
|