1 (edited by andrew88 2017-06-04 08:34:17)

Topic: Can not access SOGo day after installing SSL Cert

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.6
- Linux/BSD distribution name and version: ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Web server (Apache or Nginx):apache
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

yesterday install lets encrypt SSL certificate for everything, there were no problems, everything worked as planned.  Today though i can no longer get into SOGo webmail.  When i attempt to open the page all i receive is a blank white page, and it does come up as a secure page (padlock).  I am able to access the iredadmin app without any issues however.  I have restarted apache and also rebooted the server without any change.

Nothing shows in the apache error log, and the only thing in the apache access log are these entries

71.7.184.44 - - [03/Jun/2017:21:41:27 +0000] "GET /SOGo/ HTTP/1.1" 501 3387 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0"
71.7.184.44 - - [03/Jun/2017:21:42:10 +0000] "GET /SOGo/ HTTP/1.1" 501 344 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0"

the sogo log files shows these entries when i try to login

Jun 03 20:32:14 sogod [1301]: <0x0x5596f6c7e1d0[SOGoWebAuthenticator]> tried wrong password for user 'r2mR2Gqjq72rOvdvOPCvbQyR8OrL9n7NsuRSSJLWNB38J4c43z8e6XqReMF1A3R8rmQcN/OYQO5wuhBgyk9XqOsVZcoWF3Ae51VI7Op$
2017-06-03 20:32:14.419 sogod[1301] EXCEPTION: <NSException: 0x5596f71dd760> NAME:NSInvalidArgumentException REASON:Tried to insert nil to array INFO:{Array = (); Index = 0; }
Jun 03 20:32:14 sogod [1301]: 71.7.184.44 "GET /SOGo HTTP/1.1" 501 0/0 0.019 - - 0

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Can not access SOGo day after installing SSL Cert

No idea, try to restart sogo, memcached and Apache services. If still not working, check /var/log/sogo/sogo.log again to get new error message.

3

Re: Can not access SOGo day after installing SSL Cert

ZhangHuangbin wrote:

No idea, try to restart sogo, memcached and Apache services. If still not working, check /var/log/sogo/sogo.log again to get new error message.

I am having the same issue. A temporary fix is to delete browser data/cache until the error comes up again. My log output is:

Jun 27 23:38:27 sogod [2797]: <0x0x55d2d040ac70[SOGoCache]> Using host(s) '127.0.0.1' as server(s)
Jun 27 23:38:27 sogod [2797]: <0x0x55d2d04917c0[SOGoWebAuthenticator]> tried wrong password for user '8sSj7sUBfdTBBnAhPxex0mc7C5KC9qpEmx/+grFRLMuuD/Nl2wBmZqCZpiwBuHdy8X+hv46+tHsv4j0VIUAqGG0zvQzH9C/LxxpPrMf4n6J3836s5WS1vBVlh4seuQfivT5lkexsDBNVu5piXeh9wxMPKeji3mgfswhZcvvQP7tizDuaOpnX2Xq9184BbWMUT+li+rkfUxfp7dnNF6+O8A=='!
Jun 27 23:38:27 sogod [2797]: [WARN] <0x0x7fbd690f5cc0[WOxElemBuilder]> could not locate builders: WOxExtElemBuilder,WOxExtElemBuilder
2017-06-27 23:38:27.991 sogod[2797] EXCEPTION: <NSException: 0x55d2d08c25a0> NAME:NSInvalidArgumentException REASON:Tried to insert nil to array INFO:{Array = (); Index = 0; }
Jun 27 23:38:27 sogod [2797]: 172.56.39.184 "GET /SOGo/ HTTP/1.0" 501 0/0 0.122 - - 6M

4

Re: Can not access SOGo day after installing SSL Cert

promaethius wrote:
ZhangHuangbin wrote:

No idea, try to restart sogo, memcached and Apache services. If still not working, check /var/log/sogo/sogo.log again to get new error message.

I am having the same issue. A temporary fix is to delete browser data/cache until the error comes up again. My log output is:

Jun 27 23:38:27 sogod [2797]: <0x0x55d2d040ac70[SOGoCache]> Using host(s) '127.0.0.1' as server(s)
Jun 27 23:38:27 sogod [2797]: <0x0x55d2d04917c0[SOGoWebAuthenticator]> tried wrong password for user '8sSj7sUBfdTBBnAhPxex0mc7C5KC9qpEmx/+grFRLMuuD/Nl2wBmZqCZpiwBuHdy8X+hv46+tHsv4j0VIUAqGG0zvQzH9C/LxxpPrMf4n6J3836s5WS1vBVlh4seuQfivT5lkexsDBNVu5piXeh9wxMPKeji3mgfswhZcvvQP7tizDuaOpnX2Xq9184BbWMUT+li+rkfUxfp7dnNF6+O8A=='!
Jun 27 23:38:27 sogod [2797]: [WARN] <0x0x7fbd690f5cc0[WOxElemBuilder]> could not locate builders: WOxExtElemBuilder,WOxExtElemBuilder
2017-06-27 23:38:27.991 sogod[2797] EXCEPTION: <NSException: 0x55d2d08c25a0> NAME:NSInvalidArgumentException REASON:Tried to insert nil to array INFO:{Array = (); Index = 0; }
Jun 27 23:38:27 sogod [2797]: 172.56.39.184 "GET /SOGo/ HTTP/1.0" 501 0/0 0.122 - - 6M

The white screen of death happened to me - I ended up increasing my worker count and memory limits.

5

Re: Can not access SOGo day after installing SSL Cert

Hello
i had this issue after i have upgrade sogo to the newest version

i fixed it like this:
1.i installed fresh iredmail in a temporary with the newest sogo.
2.copy all /usr/lib/GNUstep/SOGo/ to the old server
3.sync differences between /etc/sogo/sogo.conf

service restart sogo
                       apache
                       memcached