anyone? please? _any_ hints welcome :-)

From: stefan_mayer...@hotmail.com
To: users@sogo.nu
Date: Fri, 1 Mar 2013 16:10:18 +0100
Subject: [SOGo] cannot login after fresh install: false "cookies disabled" error









Hi list!

I cannot login after a fresh install of SOGo. The error message: "You cannot 
login because your browser's cookies are disabled. Please enable cookies in 
your browser's settings and try again."

This is one of the two cookies being returned upon post /connect (on login) on 
01-Mar-2013 14:40:21 GMT+0:

SOGoLogin=; expires=Thu, 28-Feb-2013 14:40:21 GMT+0000; path=/connect/

Notice that the expiration date is exactly one day in the past. However, if I 
check "remember username" the expiration date is on April 1st and yet it still 
gives me the same error. I checked this behavior using lighttpd, cherokee and 
nginx as a reverse proxy, as well as with a direct connection.

Please note that cookies are indeed enabled in my browser (Firefox 19.0). I 
don't know if it's related, but I have to manually alter the form target from 
"//connect" to "/connect" on the login page, before I can use the login button. 
I have yet to find a configuration option for fixing this.

login part of sogo.log:

Mar 01 15:40:21 sogod [13335]: |SOGo| starting method 'POST' on uri '/connect'
Mar 01 15:40:21 sogod [13335]: SOGoRootPage successful login for user 
't...@example.com' - expire = -1  grace = -1
2013-03-01 15:40:21.862 sogod[13335] PG0x0x7f6cd28c7bc0 SQL: BEGIN TRANSACTION
2013-03-01 15:40:21.863 sogod[13335] PG0x0x7f6cd28c7bc0 SQL: SELECT 
t1.c_creationdate, t1.c_id, t1.c_lastseen, t1.c_value FROM  
sogo_sessions_folder t1 WHERE t1.c_id='BbpRoYrvC3xhSwolcHKOPA=='
2013-03-01 15:40:21.863 sogod[13335] PG0x0x7f6cd28c7bc0 SQL: ROLLBACK 
TRANSACTION
2013-03-01 15:40:21.863 sogod[13335] PG0x0x7f6cd29acea0 SQL: BEGIN TRANSACTION
2013-03-01 15:40:21.863 sogod[13335] PG0x0x7f6cd29acea0 SQL: INSERT INTO 
sogo_sessions_folder (c_value, c_lastseen, c_creationdate, c_id) VALUES 
('fNW7pYj01g+DjlmHROaR49/y2GPrHb57qkBlFcsaN3V9CQwe2OMJZXN0/c2XqJVCahXUgyvUE6RQElmbGq6epEj5fPJTNnMDIIq0G1xOWrxo01pO9CiOnokVulx4s/s3vC1bUn397c6/ujBbA8HbizfBoXRz75XKzLkQwUxE3RtTOTy30ZZ6cVRkUGXyB2OEfBsAy0sotoy4UcHZddSrZg==',
 1362148821, 1362148821, 'BbpRoYrvC3xhSwolcHKOPA==')
2013-03-01 15:40:21.863 sogod[13335] PG0x0x7f6cd29acea0 SQL: COMMIT TRANSACTION
2013-03-01 15:40:21.903 sogod[13335] PG0x0x7f6cd28c7bc0 SQL: SELECT c_settings 
FROM sogo_user_profile WHERE c_uid = 'ke...@zenshock.net'
Mar 01 15:40:21 sogod [13335]: |SOGo| request took 0.041711 seconds to execute
127.0.0.1 - - [01/Mar/2013:15:40:21 GMT] "POST /connect HTTP/1.0" 200 27/57 
0.042 - - 0

~/GNUstep/Defaults/.GNUstepDefaults of sogo user:

<?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>
    <key>Local Time Zone</key>
    <string>Europe/Paris</string>
    </dict>
    <key>sogod</key>
    <dict>
    <key>OCSEMailAlarmsFolderURL</key>
    
<string>postgresql://sogo:sogo@localhost:5432/sogo/sogo_alarms_folder</string>
    <key>OCSFolderInfoURL</key>
    <string>postgresql://sogo:sogo@localhost:5432/sogo/sogo_folder_info</string>
    <key>OCSSessionsFolderURL</key>
    
<string>postgresql://sogo:sogo@localhost:5432/sogo/sogo_sessions_folder</string>
    <key>PGDebugEnabled</key>
    <string>YES</string>
    <key>PasswordChangeEnabled</key>
    <string>YES</string>
    <key>SOGoACLsSendEMailNotifications</key>
    <string>YES</string>
    <key>SOGoAppointmentSendEMailNotifications</key>
    <string>YES</string>
    <key>SOGoDebugRequests</key>
    <string>YES</string>
    <key>SOGoDraftsFolderName</key>
    <string>Drafts</string>
    <key>SOGoEnableEMailAlarms</key>
    <string>YES</string>
    <key>SOGoFirstDayOfWeek</key>
    <string>1</string>
    <key>SOGoFoldersSendEMailNotifications</key>
    <string>YES</string>
    <key>SOGoIMAPServer</key>
    <string>imaps://localhost:993</string>
    <key>SOGoLanguage</key>
    <string>English</string>
    <key>SOGoLoginModule</key>
    <string>Mail</string>
    <key>SOGoMailDomain</key>
    <string>example.com</string>
    <key>SOGoMailMessageCheck</key>
    <string>every_2_minutes</string>
    <key>SOGoMailMessageForwarding</key>
    <string>attached</string>
    <key>SOGoMailReplyPlacement</key>
    <string>below</string>
    <key>SOGoMailingMechanism</key>
    <string>sendmail</string>
    <key>SOGoPageTitle</key>
    <string>zenshock SOGo</string>
    <key>SOGoProfileURL</key>
    
<string>postgresql://sogo:sogo@localhost:5432/sogo/sogo_user_profile</string>
    <key>SOGoSMTPAuthenticationType</key>
    <string>PLAIN</string>
    <key>SOGoSMTPServer</key>
    <string>mail.example.com</string>
    <key>SOGoSentFolderName</key>
    <string>Sent</string>
    <key>SOGoSieveScriptsEnabled</key>
    <string>YES</string>
    <key>SOGoSieveServer</key>
    <string>sieve://localhost:27007</string>
    <key>SOGoSuperUsernames</key>
    <array>
        <string>t...@example.com</string>
    </array>
    <key>SOGoTimeZone</key>
    <string>Europe/Paris</string>
    <key>SOGoTrashFolderName</key>
    <string>Trash</string>
    <key>SOGoUserSources</key>
    <array>
        <dict>
        <key>canAuthenticate</key>
        <string>YES</string>
        <key>displayName</key>
        <string>Lokales Adressbuch</string>
        <key>id</key>
        <string>auth</string>
        <key>isAddressBook</key>
        <string>YES</string>
        <key>prependPasswordScheme</key>
        <string>NO</string>
        <key>type</key>
        <string>sql</string>
        <key>userPasswordAlgorithm</key>
        <string>sha512</string>
        <key>viewURL</key>
        <string>postgresql://sogo:sogo@localhost:5432/mail/sogo_view</string>
        </dict>
    </array>
    <key>WOSendMail</key>
    <string>/usr/sbin/sendmail</string>
    <key>WOWorkersCount</key>
    <string>3</string>
    </dict>
</dict>
</plist>

I'd very much appreciate any help and I'd be glad to supply more information if 
needed.

Kind regards,
Stefan Mayer


                                                                                
  -- 
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to