View Issue Details

IDProjectCategoryView StatusLast Update
0001090SOGoBackend Generalpublic2011-02-01 21:21
Reportermaurice Assigned Toludovic  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionno change required 
Product Version1.3.4 
Summary0001090: After login "An unhandled error occurred"
Description

After a successfull login, I get "An unhandled error occurred".
SOGo is installed on a CentOS5, with Apache2.2.3. (https)

The GNUstepDefaults are :

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//GNUstep//DTD plist 0.9//EN" "http://www.gnustep.org/p
list-0_9.xml">
<plist version="0.9">
<dict>
<key>NSGlobalDomain</key>
<dict>
</dict>
<key>sogod</key>
<dict>
<key>OCSEMailAlarmsFolderURL</key>
<string>mysql://sogo:sogopasswd@intranet:3306/sogo_louxor/sogo_alarms_fo
lder</string>
<key>OCSFolderInfoURL</key>
<string>mysql://sogo:sogopasswd@intranet:3306/sogo_louxor/sogo_folder_in
fo</string>
<key>SOGoACLsSendEMailNotifications</key>
<string>NO</string>
<key>SOGoAppointmentSendEMailNotifications</key>
<string>YES</string>
<key>SOGoDayEndTime</key>
<string>23</string>
<key>SOGoDayStartTime</key>
<string>6</string>
<key>SOGoDraftsFolderName</key>
<string>INBOX/Drafts</string>
<key>SOGoEnableEmailAlarms</key>
<string>YES</string>
<key>SOGoFirstDayOfWeek</key>
<string>0</string>
<key>SOGoFoldersSendEMailNotifications</key>
<string>NO</string>
<key>SOGoForwardEnabled</key>
<string>YES</string>
<key>SOGoIMAPServer</key>
<string>imaps://mailhost.irit.fr:993</string>
<key>SOGoLanguage</key>
<string>French</string>
<key>SOGoMailDomain</key>
<string>mailhost.irit.fr</string>
<key>SOGoMailListViewColumnsOrder</key>
<array>
<string>Flagged</string>
<string>Attachment</string>
<string>Priority</string>
<string>From</string>
<string>Subject</string>
<string>Unread</string>
<string>Date</string>
<string>Size</string>
</array>
<key>SOGoMailMessageCheck</key>
<string>every_5_minutes</string>
<key>SOGoMailShowSubscribedFoldersOnly</key>
<string>YES</string>
<key>SOGoMailingMechanism</key>
<string>sendmail</string>
<key>SOGoProfileURL</key>
<string>mysql://sogo:sogopasswd@intranet:3306/sogo_louxor/sogo_user_prof
ile</string>
<key>SOGoSMTPServer</key>
<string>dell2.irit.fr</string>
<key>SOGoSentFolderName</key>
<string>INBOX/Sent</string>
<key>SOGoSieveScriptsEnabled</key>
<string>YES</string>
<key>SOGoSieveServer</key>
<string>sieve://mailhost.irit.fr:2000</string>
<key>NGImap4ConnectionStringSeparator</key>
<string>.</string>
<key>SOGoSuperUsernames</key>
<array>
<string>pocquet</string>
</array>
<key>SOGoTimeZone</key>
<string>Europe/Paris</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>MailFieldNames</key>
<key>MailFieldNames</key>
<array>
<string>mail</string>
</array>
<key>UIDFieldName</key>
<string>uid</string>
<key>baseDN</key>
<string>ou=People,dc=irit,dc=fr</string>
<key>bindDN</key>
<string>cn=ldapread,ou=Special,dc=irit,dc=fr</string>
<key>bindPassword</key>
<string>lecture_branche_users</string>
<key>canAuthenticate</key>
<string>YES</string>
<key>displayName</key>
<string>Shared Addresses</string>
<key>hostname</key>
<string>ldap1.irit.fr</string>
<key>id</key>
<string>public</string>
<key>isAddressBook</key>
<string>YES</string>
<key>port</key>
<string>389</string>
</dict>
</array>
<key>SOGoVacationEnabled</key>
<string>YES</string>
<key>SxVMemLimit</key>
<string>1024</string>
</dict>
</dict>
</plist>

Additional Information

Part of sogo.log :

localhost.localdomain - - [21/Jan/2011:18:07:52 GMT] "GET /SOGo HTTP/1.1" 302 0/0 0.018 - - 2M
2011-01-21 18:07:52.929 sogod[24525] WARNING(-[NSNull(misc) count]): called NSNull -count (returns 0) !!!
localhost.localdomain - - [21/Jan/2011:18:07:52 GMT] "GET /SOGo/ HTTP/1.1" 200 3433/0 0.021 10454 67% 1M
Jan 21 18:08:01 sogod [24525]: SOGoRootPage successful login for user 'maurice' - expire = -1 grace = -1
Jan 21 18:08:01 sogod [24525]: [WARN] <0x0x1cca2760[SOGoWebDAVAclManager]> entry '{DAV:}write' already exists in DAV permissions table
Jan 21 18:08:01 sogod [24525]: [WARN] <0x0x1cca2760[SOGoWebDAVAclManager]> entry '{DAV:}write-properties' already exists in DAV permissions table
Jan 21 18:08:01 sogod [24525]: [WARN] <0x0x1cca2760[SOGoWebDAVAclManager]> entry '{DAV:}write-content' already exists in DAV permissions table
EXCEPTION: <NSException: 0x1d0fa330> NAME:NSInvalidArgumentException REASON:NSDataMalloc(instance) does not recognize stringByReplacingString:withString: INFO:(nil)
Jan 21 18:08:01 sogod [24512]: <0x0x1cb217c0[WOWatchDogChild]> child 24525 exited
Jan 21 18:08:01 sogod [24512]: <0x0x1cb217c0[WOWatchDogChild]> (terminated due to signal 6)
Jan 21 18:08:01 sogod [24512]: <0x0x1caecae0[WOWatchDog]> child spawned with pid 24542
Jan 21 18:08:01 sogod [24542]: <0x0x1cd2a650[SOGoProductLoader]> SOGo products loaded from '/usr/GNUstep/System/Library/SOGo':
Jan 21 18:08:01 sogod [24542]: <0x0x1cd2a650[SOGoProductLoader]> PreferencesUI.SOGo, MailPartViewers.SOGo, MainUI.SOGo, MailerUI.SOGo, AdministrationUI.SOGo, SchedulerUI.SOGo, CommonUI.SOGo, Mailer.SOGo, Appointments.SOGo, ContactsUI.SOGo, Contacts.SOGo
Jan 21 18:08:01 sogod [24542]: |SOGo| version 1.3.4 (build root@vizzini.inverse.ca 201011171140) -- starting
Jan 21 18:08:01 sogod [24542]: |SOGo| vmem size check enabled: shutting down app when vmem > 1024 MB

The Apache error log reports :

Internal error: proxy: error reading status line from remote server 127.0.0.1, referer: https://websecu.irit.fr/SOGo/

SOGo.conf contains :

........
ProxyRequests Off
SetEnv proxy-nokeepalive 0
SetEnv force-proxy-request-1.0 1
ProxyPreserveHost On
......
ProxyPass /SOGo http://127.0.0.1:20000/SOGo retry=0
<Proxy http://127.0.0.1:20000/SOGo>
RequestHeader set "x-webobjects-server-port" "443"
RequestHeader set "x-webobjects-server-name" "websecu"
RequestHeader set "x-webobjects-server-url" "https://websecu.irit.fr&quot;
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>
.......
RewriteEngine On
RewriteRule ^/SOGo/(.*)$ /SOGo/$1 [env=REMOTE_HOST:%{REMOTE_ADDR},PT]

TagsNo tags attached.

Activities

maurice

maurice

2011-01-24 14:14

reporter   ~0002041

The error reported here appears always after a first (and alone) successfull connection.

maurice

maurice

2011-01-24 14:57

reporter   ~0002042

Deleting the tables and other information concerning a user in the mysql database
allows one (just one) successfull connection.

maurice

maurice

2011-01-27 09:57

reporter   ~0002056

Deleting the entire Mysql database and restarting from scratch
solved the problem.

Sorry for the inconvenience.

Issue History

Date Modified Username Field Change
2011-01-21 17:25 maurice New Issue
2011-01-24 14:14 maurice Note Added: 0002041
2011-01-24 14:57 maurice Note Added: 0002042
2011-01-27 09:57 maurice Note Added: 0002056
2011-02-01 21:21 ludovic Status new => resolved
2011-02-01 21:21 ludovic Resolution open => no change required
2011-02-01 21:21 ludovic Assigned To => ludovic