View Issue Details

IDProjectCategoryView StatusLast Update
0005727SOGoBackend Generalpublic2023-04-05 10:51
Reporterjcarnus Assigned To 
PrioritynormalSeveritymajorReproducibilitysometimes
Status newResolutionopen 
Product Version5.8.2 
Summary0005727: Failure to login with correct credentials
Description

Hi,
I randomly have an issue to login using the SOGO login page, a message with "Unknown error" is then displayed.
SOGO logs have the following error:
2023-04-04 12:45:54.002 sogod[321108:321108] EXCEPTION: <NSException: 0x562f243ca480> NAME:NSInvalidArgumentException REASON:Tried to add nil value for key 'cn' to dictionary INFO:{}

TagsNo tags attached.

Activities

sebastien

sebastien

2023-04-04 11:00

administrator   ~0016788

Sorry invalid previous message, please put sogo in debug mode and break into NSException to provide backtrace

Sebastien

jcarnus

jcarnus

2023-04-04 11:18

reporter   ~0016789

Hi,
Here in debug mode:
Apr 04 13:15:51 sogod [322074]: |SOGo| starting method 'POST' on uri '/SOGo/connect'
2023-04-04 13:15:51.317 sogod[322074:322074] <MySQL4Channel[0x0x55c8fc8fba20] connection=0x0x55c8fc894630> SQL: SELECT c_password FROM sogo_users_view4 WHERE mail = 'contact@abc.com';
2023-04-04 13:15:51.318 sogod[322074:322074] <MySQL4Channel[0x0x55c8fc8fba20] connection=0x0x55c8fc894630> query has results, entering fetch-mode.
Apr 04 13:15:51 sogod [322074]: SOGoRootPage successful login from '24.201.88.52' for user 'contact@abc.com' - expire = -1 grace = -1
2023-04-04 13:15:51.320 sogod[322074:322074] <MySQL4Channel[0x0x55c8fcd9eba0] connection=0x0x55c8fcda0ae0> SQL: SELECT * FROM sogo_users_view4 WHERE (domain = 'abc.com') AND ((c_uid = 'contact') OR (mail = 'contact') OR (mail = 'contact'));
2023-04-04 13:15:51.320 sogod[322074:322074] <MySQL4Channel[0x0x55c8fcd9eba0] connection=0x0x55c8fcda0ae0> query has results, entering fetch-mode.
2023-04-04 13:15:51.321 sogod[322074:322074] EXCEPTION: <NSException: 0x55c8fc6ef440> NAME:NSInvalidArgumentException REASON:Tried to add nil value for key 'cn' to dictionary INFO:{}

sebastien

sebastien

2023-04-04 12:01

administrator   ~0016790

https://www.sogo.nu/support/faq/how-do-i-debug-sogo.html

jcarnus

jcarnus

2023-04-05 10:51

reporter   ~0016796

Hi,
Sorry but is there no other option to get a stackstrace except debugging it ? Definitively, you should log all exception fully in the log ?

Issue History

Date Modified Username Field Change
2023-04-04 10:51 jcarnus New Issue
2023-04-04 11:00 sebastien Note Added: 0016788
2023-04-04 11:18 jcarnus Note Added: 0016789
2023-04-04 12:01 sebastien Note Added: 0016790
2023-04-05 10:51 jcarnus Note Added: 0016796