Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to invite attendees to SOGo calendar event when authenticated via Mailcow #4333

Closed
4 tasks done
keenmouse opened this issue Nov 24, 2021 · 15 comments · Fixed by #4439
Closed
4 tasks done

Unable to invite attendees to SOGo calendar event when authenticated via Mailcow #4333

keenmouse opened this issue Nov 24, 2021 · 15 comments · Fixed by #4439
Assignees
Labels
bug stale Please update the issue with current status, unclear if it's still open/needed.

Comments

@keenmouse
Copy link

keenmouse commented Nov 24, 2021

Prior to placing the issue, please check following: (fill out each checkbox with an X once done)

  • I understand that not following or deleting the below instructions will result in immediate closure and/or deletion of my issue.
  • I have understood that this bug report is dedicated for bugs, and not for support-related inquiries.
  • I have understood that answers are voluntary and community-driven, and not commercial support.
  • I have verified that my issue has not been already answered in the past. I also checked previous issues.

Summary

When inviting an attendee to a SOGo calendar event, having authenticated via the Mailcow web interface, the event dialog closes and the page refreshes. No event is created. The problem does not occur when authenticating directly via the SOGo login dialog.

Mailcow installed fresh today. Tested on an SSD Nodes 8GB/2 core VPS under both Debian 10 and Ubuntu 20.04. Also tested on a Hyper-V virtual machine.

Logs

acme-mailcow_1       | OK
clamd-mailcow_1      | Wed Nov 24 10:58:38 2021 -> Activating the newly loaded database...
dockerapi-mailcow_1  | 172.22.1.9 - - [24/Nov/2021 10:50:30] "POST /containers/61b4d9619c9c7051a9a1c1cd839704bd3823c49afcfc1d3383ffa893fc0f4d1b/restart HTTP/1.1" 200 -
dovecot-mailcow_1    | Nov 24 11:25:43 7c8a192442d4 dovecot: imap-login: Disconnected: Aborted login by logging out (no auth attempts in 0 secs): user=<>, rip=172.22.1.5, lip=172.22.1.250
mysql-mailcow_1      | Version: '10.5.13-MariaDB-1:10.5.13+maria~focal'  socket: '/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution
netfilter-mailcow_1  | Watching Redis channel F2B_CHANNEL
nginx-mailcow_1      | 172.22.1.5 - - [24/Nov/2021:11:25:59 -0700] "GET / HTTP/1.1" 200 15 "-" "check_http/v (nagios-plugins 2.3.2)"
ofelia-mailcow_1     | 2021-11-24T18:25:59.558Z  common.go:125 ▶ NOTICE [Job "sogo_sessions" (045cbf4902d7)] Finished in "545.78414ms", failed: false, skipped: false, error: none
olefy-mailcow_1      | olefy INFO <module> serving on ('0.0.0.0', 10055)
php-fpm-mailcow_1    | fd4d:6169:6c63:6f77::d -  24/Nov/2021:11:25:44 -0700 "HEAD /settings.php" 304
postfix-mailcow_1    | Nov 24 10:52:35 0cd4836ea8ad postfix/qmgr[349]: C68191621E2: removed
redis-mailcow_1      | 1:M 24 Nov 2021 11:21:54.113 * Background saving terminated with success
rspamd-mailcow_1     | 2021-11-24 11:25:11 #38(controller) <046d3b>; csession; rspamd_protocol_http_reply: regexp statistics: 0 pcre regexps scanned, 0 regexps matched, 3174 regexps total, 2404 regexps cached, 0B scanned using pcre, 102B scanned total
sogo-mailcow_1       | Nov 24 11:25:59 61b4d9619c9c sogod [64]: mailcowdockerized_watchdog-mailcow_1.mailcowdockerized_mailcow-network "GET /SOGo.index/ HTTP/1.1" 200 2573/0 0.010 - - 0 - 13
solr-mailcow_1       | 2021-11-24 17:52:51.163 INFO  (commitScheduler-13-thread-1) [   ] o.a.s.u.DirectUpdateHandler2 end_commit_flush
unbound-mailcow_1    | [1637776017] unbound[1:0] info: generate keytag query _ta-4f66. NULL IN
watchdog-mailcow_1   | Wed Nov 24 11:26:15 MST 2021 Clamd health level: 100% (15/15), health trend: 0
php-fpm-mailcow_1    | fd4d:6169:6c63:6f77::d -  24/Nov/2021:11:26:20 -0700 "GET /sogo-auth.php" 200
nginx-mailcow_1      | 127.0.0.1 - - [24/Nov/2021:11:26:20 -0700] "GET /sogo-auth HTTP/1.0" 200 0 "https://mailcow.[my domain]/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0"
nginx-mailcow_1      | 192.168.111.12 - - [24/Nov/2021:11:26:20 -0700] "GET /SOGo/so/jim@[my domain]/Calendar/personal/newguid HTTP/2.0" 200 55 "https://mailcow.[my domain]/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0"
sogo-mailcow_1       | Nov 24 11:26:20 61b4d9619c9c sogod [64]: 192.168.111.12 "GET /SOGo/so/jim@[my domain]/Calendar/personal/newguid HTTP/1.0" 200 55/0 0.003 - - 0 - 13
watchdog-mailcow_1   | Wed Nov 24 11:26:21 MST 2021 PHP-FPM health level: 100% (5/5), health trend: 0
rspamd-mailcow_1     | 2021-11-24 11:26:22 #38(controller) <e8eb02>; csession; rspamd_redis_connected: skip obtaining bayes tokens for BAYES_HAM of classifier bayes: not enough learns 2; 5 required
rspamd-mailcow_1     | 2021-11-24 11:26:22 #38(controller) <e8eb02>; csession; rspamd_redis_connected: skip obtaining bayes tokens for BAYES_SPAM of classifier bayes: not enough learns 0; 5 required
rspamd-mailcow_1     | 2021-11-24 11:26:22 #38(controller) <e8eb02>; csession; rspamd_protocol_http_reply: regexp statistics: 0 pcre regexps scanned, 0 regexps matched, 3174 regexps total, 2404 regexps cached, 0B scanned using pcre, 102B scanned total
watchdog-mailcow_1   | Wed Nov 24 11:26:22 MST 2021 Rspamd health level: 100% (5/5), health trend: 0
watchdog-mailcow_1   | Wed Nov 24 11:26:24 MST 2021 ACME health level: 100% (1/1), health trend: 0
watchdog-mailcow_1   | Wed Nov 24 11:26:24 MST 2021 Postfix health level: 100% (8/8), health trend: 0
php-fpm-mailcow_1    | 172.22.1.10 -  24/Nov/2021:11:26:24 -0700 "GET /sogo-auth.php" 200
nginx-mailcow_1      | 127.0.0.1 - - [24/Nov/2021:11:26:24 -0700] "GET /sogo-auth HTTP/1.0" 200 0 "https://mailcow.[my domain]/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0"
sogo-mailcow_1       | Nov 24 11:26:24 61b4d9619c9c 2021-11-24 11:26:24.743 sogod[64:64] sortedFolders = ("<0x55923ac31ad0[SOGoContactSourceFolder]: name=[my domain] container=0x55923ac15ff0/Contacts>", "<0x55923a9f0c70[SOGoContactGCSFolder]: name=personal container=0x55923ac15ff0/Contacts ocs=/Users/jim@[my domain]/Contacts/personal>")
nginx-mailcow_1      | 192.168.111.12 - - [24/Nov/2021:11:26:24 -0700] "GET /SOGo/so/jim@[my domain]/Contacts/allContactSearch?search=am HTTP/2.0" 200 205 "https://mailcow.[my domain]/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0"
sogo-mailcow_1       | Nov 24 11:26:24 61b4d9619c9c sogod [64]: 192.168.111.12 "GET /SOGo/so/jim@[my domain]/Contacts/allContactSearch?search=am HTTP/1.0" 200 449/0 0.008 - - 0 - 13
nginx-mailcow_1      | 127.0.0.1 - - [24/Nov/2021:11:26:24 -0700] "GET /sogo-auth HTTP/1.0" 200 0 "https://mailcow.[my domain]/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0"
php-fpm-mailcow_1    | fd4d:6169:6c63:6f77::d -  24/Nov/2021:11:26:24 -0700 "GET /sogo-auth.php" 200
sogo-mailcow_1       | Nov 24 11:26:24 61b4d9619c9c 2021-11-24 11:26:24.931 sogod[64:64] sortedFolders = ("<0x55923ab4d0e0[SOGoContactSourceFolder]: name=[my domain] container=0x55923ab77af0/Contacts>", "<0x55923ac95670[SOGoContactGCSFolder]: name=personal container=0x55923ab77af0/Contacts ocs=/Users/jim@[my domain]/Contacts/personal>")
nginx-mailcow_1      | 192.168.111.12 - - [24/Nov/2021:11:26:24 -0700] "GET /SOGo/so/jim@[my domain]/Contacts/allContactSearch?search=amb HTTP/2.0" 200 205 "https://mailcow.[my domain]/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0"
sogo-mailcow_1       | Nov 24 11:26:24 61b4d9619c9c sogod [64]: 192.168.111.12 "GET /SOGo/so/jim@[my domain]/Contacts/allContactSearch?search=amb HTTP/1.0" 200 450/0 0.007 - - 0 - 13
sogo-mailcow_1       | Nov 24 11:26:26 61b4d9619c9c 2021-11-24 11:26:26.076 sogod[64:64] sortedFolders = ("<0x55923abe4310[SOGoContactSourceFolder]: name=[my domain] container=0x55923adcae90/Contacts>", "<0x55923ac5d9d0[SOGoContactGCSFolder]: name=personal container=0x55923adcae90/Contacts ocs=/Users/jim@[my domain]/Contacts/personal>")
php-fpm-mailcow_1    | 172.22.1.10 -  24/Nov/2021:11:26:26 -0700 "GET /sogo-auth.php" 200
nginx-mailcow_1      | 127.0.0.1 - - [24/Nov/2021:11:26:26 -0700] "GET /sogo-auth HTTP/1.0" 200 0 "https://mailcow.[my domain]/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0"
nginx-mailcow_1      | 192.168.111.12 - - [24/Nov/2021:11:26:26 -0700] "GET /SOGo/so/jim@[my domain]/Contacts/allContactSearch?search=amb HTTP/2.0" 200 205 "https://mailcow.[my domain]/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0"
sogo-mailcow_1       | Nov 24 11:26:26 61b4d9619c9c sogod [64]: 192.168.111.12 "GET /SOGo/so/jim@[my domain]/Contacts/allContactSearch?search=amb HTTP/1.0" 200 450/0 0.006 - - 0 - 13
nginx-mailcow_1      | 127.0.0.1 - - [24/Nov/2021:11:26:26 -0700] "GET /sogo-auth HTTP/1.0" 200 0 "https://mailcow.[my domain]/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0"
nginx-mailcow_1      | 127.0.0.1 - - [24/Nov/2021:11:26:26 -0700] "GET /sogo-auth HTTP/1.0" 200 0 "https://mailcow.[my domain]/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0"
php-fpm-mailcow_1    | fd4d:6169:6c63:6f77::d -  24/Nov/2021:11:26:26 -0700 "GET /sogo-auth.php" 200
php-fpm-mailcow_1    | 172.22.1.10 -  24/Nov/2021:11:26:26 -0700 "GET /sogo-auth.php" 200
nginx-mailcow_1      | 192.168.111.12 - - [24/Nov/2021:11:26:26 -0700] "GET /SOGo/so/jim@[my domain]/freebusy.ifb/ajaxRead?eday=20211130&sday=20211117 HTTP/2.0" 200 2 "https://mailcow.[my domain]/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0"
sogo-mailcow_1       | Nov 24 11:26:26 61b4d9619c9c sogod [66]: 192.168.111.12 "GET /SOGo/so/jim@[my domain]/freebusy.ifb/ajaxRead?eday=20211130&sday=20211117 HTTP/1.0" 200 2/0 0.005 - - 0 - 13
nginx-mailcow_1      | 192.168.111.12 - - [24/Nov/2021:11:26:26 -0700] "GET /SOGo/so/amber@[my domain]/freebusy.ifb/ajaxRead?eday=20211130&sday=20211117 HTTP/2.0" 200 8281 "https://mailcow.[my domain]/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0"
sogo-mailcow_1       | Nov 24 11:26:26 61b4d9619c9c sogod [64]: 192.168.111.12 "GET /SOGo/so/amber@[my domain]/freebusy.ifb/ajaxRead?eday=20211130&sday=20211117 HTTP/1.0" 200 8281/0 0.012 32698 74% 0 - 13
php-fpm-mailcow_1    | fd4d:6169:6c63:6f77::d -  24/Nov/2021:11:26:26 -0700 "GET /sogo-auth.php" 200
nginx-mailcow_1      | 127.0.0.1 - - [24/Nov/2021:11:26:26 -0700] "GET /sogo-auth HTTP/1.0" 200 0 "https://mailcow.[my domain]/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0"
nginx-mailcow_1      | 192.168.111.12 - - [24/Nov/2021:11:26:26 -0700] "GET /SOGo/so/jim@[my domain]/Calendar/ HTTP/2.0" 302 0 "https://mailcow.[my domain]/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0"
sogo-mailcow_1       | Nov 24 11:26:26 61b4d9619c9c sogod [64]: 192.168.111.12 "GET /SOGo/so/jim@[my domain]/Calendar/ HTTP/1.0" 302 0/0 0.004 - - 0 - 13
php-fpm-mailcow_1    | 172.22.1.10 -  24/Nov/2021:11:26:26 -0700 "GET /sogo-auth.php" 200
nginx-mailcow_1      | 127.0.0.1 - - [24/Nov/2021:11:26:26 -0700] "GET /sogo-auth HTTP/1.0" 200 0 "https://mailcow.[my domain]/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0"
nginx-mailcow_1      | 192.168.111.12 - - [24/Nov/2021:11:26:26 -0700] "GET /SOGo/so/jim@[my domain]/Calendar/view HTTP/2.0" 200 19059 "https://mailcow.[my domain]/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0"
sogo-mailcow_1       | Nov 24 11:26:26 61b4d9619c9c sogod [64]: 192.168.111.12 "GET /SOGo/so/jim@[my domain]/Calendar/view HTTP/1.0" 200 19059/0 0.035 78995 75% 260K - 13
nginx-mailcow_1      | 192.168.111.12 - - [24/Nov/2021:11:26:26 -0700] "GET /SOGo.woa/WebServerResources/js/theme.js?lm=1637775794 HTTP/2.0" 304 0 "https://mailcow.[my domain]/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0"
nginx-mailcow_1      | 192.168.111.12 - - [24/Nov/2021:11:26:26 -0700] "GET /SOGo.woa/WebServerResources/js/custom-sogo.js?lm=1637775794 HTTP/2.0" 304 0 "https://mailcow.[my domain]/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0"
nginx-mailcow_1      | 192.168.111.12 - - [24/Nov/2021:11:26:27 -0700] "GET /SOGo.woa/WebServerResources/img/sogo.ico?lm=1637775794 HTTP/2.0" 200 4915 "https://mailcow.[my domain]/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0"
nginx-mailcow_1      | 127.0.0.1 - - [24/Nov/2021:11:26:27 -0700] "GET /sogo-auth HTTP/1.0" 200 0 "https://mailcow.[my domain]/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0"
nginx-mailcow_1      | 127.0.0.1 - - [24/Nov/2021:11:26:27 -0700] "GET /sogo-auth HTTP/1.0" 200 0 "https://mailcow.[my domain]/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0"
php-fpm-mailcow_1    | fd4d:6169:6c63:6f77::d -  24/Nov/2021:11:26:27 -0700 "GET /sogo-auth.php" 200
php-fpm-mailcow_1    | 172.22.1.10 -  24/Nov/2021:11:26:27 -0700 "GET /sogo-auth.php" 200
php-fpm-mailcow_1    | fd4d:6169:6c63:6f77::d -  24/Nov/2021:11:26:27 -0700 "GET /sogo-auth.php" 200
nginx-mailcow_1      | 127.0.0.1 - - [24/Nov/2021:11:26:27 -0700] "GET /sogo-auth HTTP/1.0" 200 0 "https://mailcow.[my domain]/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0"
nginx-mailcow_1      | 192.168.111.12 - - [24/Nov/2021:11:26:27 -0700] "GET /SOGo/so/jim@[my domain]/Calendar/eventsblocks?ed=20211128&sd=20211122&view=weekview HTTP/2.0" 200 322 "https://mailcow.[my domain]/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0"
sogo-mailcow_1       | Nov 24 11:26:27 61b4d9619c9c sogod [63]: 192.168.111.12 "GET /SOGo/so/jim@[my domain]/Calendar/eventsblocks?ed=20211128&sd=20211122&view=weekview HTTP/1.0" 200 744/0 0.020 - - 0 - 13
nginx-mailcow_1      | 192.168.111.12 - - [24/Nov/2021:11:26:27 -0700] "GET /SOGo/so/jim@[my domain]/Calendar/alarmslist?browserTime=1637778386 HTTP/2.0" 200 63 "https://mailcow.[my domain]/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0"
sogo-mailcow_1       | Nov 24 11:26:27 61b4d9619c9c sogod [64]: 192.168.111.12 "GET /SOGo/so/jim@[my domain]/Calendar/alarmslist?browserTime=1637778386 HTTP/1.0" 200 63/0 0.029 - - 0 - 13
php-fpm-mailcow_1    | 172.22.1.10 -  24/Nov/2021:11:26:27 -0700 "GET /sogo-auth.php" 200
nginx-mailcow_1      | 127.0.0.1 - - [24/Nov/2021:11:26:27 -0700] "GET /sogo-auth HTTP/1.0" 200 0 "https://mailcow.[my domain]/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0"
nginx-mailcow_1      | 192.168.111.12 - - [24/Nov/2021:11:26:27 -0700] "GET /SOGo/so/jim@[my domain]/Calendar/weekview?day=20211124 HTTP/2.0" 200 3571 "https://mailcow.[my domain]/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0"
sogo-mailcow_1       | Nov 24 11:26:27 61b4d9619c9c sogod [64]: 192.168.111.12 "GET /SOGo/so/jim@[my domain]/Calendar/weekview?day=20211124 HTTP/1.0" 200 3571/0 0.018 74972 95% 0 - 13
dovecot-mailcow_1    | Nov 24 11:26:27 7c8a192442d4 dovecot: imap-login: Login: user=<jim@[my domain]>, method=PLAIN, rip=172.22.1.248, lip=172.22.1.250, mpid=1887
php-fpm-mailcow_1    | fd4d:6169:6c63:6f77::d -  24/Nov/2021:11:26:27 -0700 "GET /sogo-auth.php" 200
php-fpm-mailcow_1    | 172.22.1.10 -  24/Nov/2021:11:26:27 -0700 "GET /sogo-auth.php" 200
nginx-mailcow_1      | 127.0.0.1 - - [24/Nov/2021:11:26:27 -0700] "GET /sogo-auth HTTP/1.0" 200 0 "https://mailcow.[my domain]/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0"
nginx-mailcow_1      | 127.0.0.1 - - [24/Nov/2021:11:26:27 -0700] "GET /sogo-auth HTTP/1.0" 200 0 "https://mailcow.[my domain]/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0"
nginx-mailcow_1      | 192.168.111.12 - - [24/Nov/2021:11:26:27 -0700] "POST /SOGo/so/jim@[my domain]/Mail/0/folderINBOX/changes HTTP/2.0" 200 20 "https://mailcow.[my domain]/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0"
sogo-mailcow_1       | Nov 24 11:26:27 61b4d9619c9c sogod [66]: 192.168.111.12 "POST /SOGo/so/jim@[my domain]/Mail/0/folderINBOX/changes HTTP/1.0" 200 20/126 0.199 - - 0 - 14
dovecot-mailcow_1    | Nov 24 11:26:27 7c8a192442d4 dovecot: imap(jim@[my domain])<1887><zGX9/ozRUNusFgH4>: Disconnected: Logged out in=111 out=1618 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
nginx-mailcow_1      | 192.168.111.12 - - [24/Nov/2021:11:26:27 -0700] "POST /SOGo/so/jim@[my domain]/Calendar/saveSelectedList HTTP/2.0" 204 0 "https://mailcow.[my domain]/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0"
sogo-mailcow_1       | Nov 24 11:26:27 61b4d9619c9c sogod [63]: 192.168.111.12 "POST /SOGo/so/jim@[my domain]/Calendar/saveSelectedList HTTP/1.0" 204 0/25 0.014 - - 0 - 13
nginx-mailcow_1      | 192.168.111.12 - - [24/Nov/2021:11:26:27 -0700] "GET /SOGo/so/jim@[my domain]/Calendar/eventslist?asc=1&day=20211124&filterpopup=view_next7&search=title_Category_Location&sort=start&value= HTTP/2.0" 200 243 "https://mailcow.[my domain]/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0"
sogo-mailcow_1       | Nov 24 11:26:27 61b4d9619c9c sogod [64]: 192.168.111.12 "GET /SOGo/so/jim@[my domain]/Calendar/eventslist?asc=1&day=20211124&filterpopup=view_next7&search=title_Category_Location&sort=start&value= HTTP/1.0" 200 452/0 0.012 - - 0 - 13
nginx-mailcow_1      | 172.22.1.5 - - [24/Nov/2021:11:26:29 -0700] "GET / HTTP/1.1" 200 15 "-" "check_http/v (nagios-plugins 2.3.2)"
watchdog-mailcow_1   | Wed Nov 24 11:26:29 MST 2021 Nginx health level: 100% (5/5), health trend: 0

Reproduction

On a fresh Mailcow installation on a fresh Debian or Ubuntu install:

  • Log in to Mailcow web interface as admin.
  • Create a domain.
  • Create two mailboxes.
  • Log out of Mailcow web interface.
  • Log in to Mailcow web interface as one of the mailbox users created above.
  • Click "Login to webmail"
  • Wait until you have received notification messages that Personal Address Book and Personal Calendar have been created.
  • Create a new calendar event.
  • In the Invite Attendees field, enter/select the other mailbox user created above.
  • Event creation dialog closes and page refreshes. Event is not saved.

System information

Question Answer
My operating system Debian 10
Is Apparmor, SELinux or similar active? No
Virtualization technlogy (KVM, VMware, Xen, etc - LXC and OpenVZ are not supported I believe SSD Nodes uses KVM
Server/VM specifications (Memory, CPU Cores) 8GB, 2 cores
Docker Version (docker version) 20.10.11
Docker-Compose Version (docker-compose version) 1.29.2
Reverse proxy (custom solution) None
  • Output of git diff origin/master (certs and keys are no longer in use):
--- a/data/conf/postfix/main.cf
+++ b/data/conf/postfix/main.cf
@@ -198,3 +198,6 @@ parent_domain_matches_subdomains = debug_peer_list,fast_flush_domains,mynetworks

 # DO NOT EDIT ANYTHING BELOW #
 # User overrides #
+
+myhostname = mailcow.grusendorf.lan
+
  • No firewall installed

  • DNS problems? Please run docker exec -it $(docker ps -qf name=acme-mailcow) dig +short stackoverflow.com @172.22.1.254:
    151.101.193.69
    151.101.1.69
    151.101.129.69
    151.101.65.69

@keenmouse keenmouse added the bug label Nov 24, 2021
@keenmouse
Copy link
Author

Has anyone attempted to reproduce this?

@dragoangel
Copy link
Collaborator

Can't reproduce

@keenmouse
Copy link
Author

keenmouse commented Jan 26, 2022

I've just tried it again and encountered the same issue. I'll lay out my procedure in precise detail. Maybe you can point to what I'm doing differently.

I've tried this on both a Hyper-V virtual machine and on an SSD Nodes VPS with a valid live domain.

  • Debian 10 freshly installed and updated, curl and git installed, hostname mailcowtest.example.com
  • su -
  • curl -sSL https://get.docker.com/ | CHANNEL=stable sh
  • systemctl enable --now docker
  • curl -L https://github.com/docker/compose/releases/download/$(curl -Ls https://www.servercow.de/docker-compose/latest.php)/docker-compose-$(uname -s)-$(uname -m) > /usr/local/bin/docker-compose
  • chmod +x /usr/local/bin/docker-compose
  • cd /opt
  • git clone https://github.com/mailcow/mailcow-dockerized
  • cd mailcow-dockerized
  • ./generate_config.sh
  • Mail server hostname (FQDN) - this is not your mail domain, but your mail servers hostname: mailcowtest.example.com
  • Time zone: (accept suggestion)
  • Change in mailcow.conf: SKIP_LETS_ENCRYPT=y
  • docker-compose pull
  • docker-compose up -d
  • Switch to Windows PC
  • chrome.exe --guest (also tested with other browsers with clean profiles)
  • Browse to https://[ip address of VM]
  • Accept self-signed certificate
  • Refresh until mailcow init complete
  • Log in as admin (default password moohoo)
  • Configuration > Mail Setup
  • Add domain
  • Domain: example.com
  • Click Add domain and restart SOGo
  • Mailboxes > Add mailbox
  • Username: user1
  • Generate password
  • Click Add
  • Add mailbox
  • Username: user2
  • Generate password
  • Click Add
  • Log out
  • Log in as user1@example.com
  • Click Login to webmail
  • Wait for "Personal Calendar" has been created and "Personal Address Book" has been created messages
  • Go to Calendar
  • Click to add event
  • Title: Test
  • Click Invite Attendees field
  • Type user2
  • Click pop-up suggestion for user2 or press enter
  • Event dialog disappears

@dragoangel
Copy link
Collaborator

You not provided TZ maybe?

@keenmouse
Copy link
Author

You not provided TZ maybe?

I don't know how it's possible not to. I did; I just didn't note it because I just accepted the suggestion because it was correct.

@timjtech
Copy link

I reproduced on Fedora 35 on Firefox 96. Event dialog closes and forces a refresh.

https://imgur.com/a/4CXncM4

@dragoangel
Copy link
Collaborator

Then you better create bug report directly in sogo bug tracker

@keenmouse
Copy link
Author

Then you better create bug report directly in sogo bug tracker

I think at least a little investigation on the mailcow side is warranted, given that, as I mentioned in my initial post, the problem only occurs when mailcow authenticates the user via the Login to webmail button in mailcow. The problem does not occur when authenticating manually at /SOGo.

I don't want to see mailcow and SOGo blaming each other and nothing getting done.

@mkuron
Copy link
Member

mkuron commented Jan 27, 2022

the problem only occurs when mailcow authenticates the user via the Login to webmail button in mailcow

Thanks for pointing that out. It does sound like it might be a Mailcow-specific issue then. I’ll see if I can reproduce it myself. In the meantime, could you please provide logs from only the sogo, nginx and phpfpm containers from precisely that point in time where the page refreshes?

@mkuron mkuron self-assigned this Jan 27, 2022
@dragoangel
Copy link
Collaborator

Yep, I read about it and later honestly forget :). I could not get it reproduced.

@keenmouse
Copy link
Author

keenmouse commented Jan 27, 2022

Thank you for being so accepting and willing to help. You guys are awesome.

I've included logs for both failure (logging in via mailcow) and success (logging in manually to SOGo) in case comparing them might be useful.

Logged in via mailcow, invite attendees fails

nginx-mailcow_1      | 127.0.0.1 - - [27/Jan/2022:11:55:32 -0700] "GET /sogo-auth HTTP/1.0" 200 0 "https://172.23.159.69/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"
nginx-mailcow_1      | 172.23.144.1 - - [27/Jan/2022:11:55:32 -0700] "GET /SOGo/so/user1@example.com/Contacts/allContactSearch?search=user2 HTTP/2.0" 200 199 "https://172.23.159.69/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"
php-fpm-mailcow_1    | 172.22.1.8 -  27/Jan/2022:11:55:32 -0700 "GET /sogo-auth.php" 200
php-fpm-mailcow_1    | fd4d:6169:6c63:6f77::a -  27/Jan/2022:11:55:32 -0700 "GET /sogo-auth.php" 200
nginx-mailcow_1      | 127.0.0.1 - - [27/Jan/2022:11:55:32 -0700] "GET /sogo-auth HTTP/1.0" 200 0 "https://172.23.159.69/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"
nginx-mailcow_1      | 127.0.0.1 - - [27/Jan/2022:11:55:32 -0700] "GET /sogo-auth HTTP/1.0" 200 0 "https://172.23.159.69/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"
nginx-mailcow_1      | 172.23.144.1 - - [27/Jan/2022:11:55:32 -0700] "GET /SOGo/so/user1@example.com/freebusy.ifb/ajaxRead?eday=20220202&sday=20220120 HTTP/2.0" 200 2 "https://172.23.159.69/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"
nginx-mailcow_1      | 172.23.144.1 - - [27/Jan/2022:11:55:32 -0700] "GET /SOGo/so/user2@example.com/freebusy.ifb/ajaxRead?eday=20220202&sday=20220120 HTTP/2.0" 200 8625 "https://172.23.159.69/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"
php-fpm-mailcow_1    | 172.22.1.8 -  27/Jan/2022:11:55:33 -0700 "GET /sogo-auth.php" 200
nginx-mailcow_1      | 127.0.0.1 - - [27/Jan/2022:11:55:33 -0700] "GET /sogo-auth HTTP/1.0" 200 0 "https://172.23.159.69/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"
nginx-mailcow_1      | 172.23.144.1 - - [27/Jan/2022:11:55:33 -0700] "GET /SOGo/so/user1@example.com/Calendar/ HTTP/2.0" 302 0 "https://172.23.159.69/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"
php-fpm-mailcow_1    | fd4d:6169:6c63:6f77::a -  27/Jan/2022:11:55:33 -0700 "GET /sogo-auth.php" 200
nginx-mailcow_1      | 127.0.0.1 - - [27/Jan/2022:11:55:33 -0700] "GET /sogo-auth HTTP/1.0" 200 0 "https://172.23.159.69/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"
nginx-mailcow_1      | 172.23.144.1 - - [27/Jan/2022:11:55:33 -0700] "GET /SOGo/so/user1@example.com/Calendar/view HTTP/2.0" 200 19138 "https://172.23.159.69/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"
nginx-mailcow_1      | 172.23.144.1 - - [27/Jan/2022:11:55:34 -0700] "GET /SOGo.woa/WebServerResources/css/theme-default.css?lm=1642770516 HTTP/2.0" 200 30551 "https://172.23.159.69/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"
nginx-mailcow_1      | 172.23.144.1 - - [27/Jan/2022:11:55:34 -0700] "GET /SOGo.woa/WebServerResources/css/styles.css?lm=1642770516 HTTP/2.0" 200 68735 "https://172.23.159.69/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"
php-fpm-mailcow_1    | 172.22.1.8 -  27/Jan/2022:11:55:34 -0700 "GET /sogo-auth.php" 200
nginx-mailcow_1      | 127.0.0.1 - - [27/Jan/2022:11:55:34 -0700] "GET /sogo-auth HTTP/1.0" 200 0 "https://172.23.159.69/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"
php-fpm-mailcow_1    | fd4d:6169:6c63:6f77::a -  27/Jan/2022:11:55:34 -0700 "GET /sogo-auth.php" 200
nginx-mailcow_1      | 127.0.0.1 - - [27/Jan/2022:11:55:34 -0700] "GET /sogo-auth HTTP/1.0" 200 0 "https://172.23.159.69/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"
nginx-mailcow_1      | 172.23.144.1 - - [27/Jan/2022:11:55:34 -0700] "GET /SOGo.woa/WebServerResources/img/sogo.ico?lm=1643228168 HTTP/2.0" 200 4915 "https://172.23.159.69/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"
nginx-mailcow_1      | 172.23.144.1 - - [27/Jan/2022:11:55:34 -0700] "GET /SOGo/so/user1@example.com/Calendar/alarmslist?browserTime=1643309734 HTTP/2.0" 200 63 "https://172.23.159.69/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"
php-fpm-mailcow_1    | 172.22.1.8 -  27/Jan/2022:11:55:34 -0700 "GET /sogo-auth.php" 200
nginx-mailcow_1      | 127.0.0.1 - - [27/Jan/2022:11:55:34 -0700] "GET /sogo-auth HTTP/1.0" 200 0 "https://172.23.159.69/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"
nginx-mailcow_1      | 172.23.144.1 - - [27/Jan/2022:11:55:34 -0700] "GET /SOGo/so/user1@example.com/Calendar/eventsblocks?ed=20220130&sd=20220124&view=weekview HTTP/2.0" 200 323 "https://172.23.159.69/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"
php-fpm-mailcow_1    | fd4d:6169:6c63:6f77::a -  27/Jan/2022:11:55:34 -0700 "GET /sogo-auth.php" 200
nginx-mailcow_1      | 127.0.0.1 - - [27/Jan/2022:11:55:34 -0700] "GET /sogo-auth HTTP/1.0" 200 0 "https://172.23.159.69/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"
nginx-mailcow_1      | 172.23.144.1 - - [27/Jan/2022:11:55:34 -0700] "GET /SOGo/so/user1@example.com/Calendar/weekview?day=20220127 HTTP/2.0" 200 3677 "https://172.23.159.69/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"
php-fpm-mailcow_1    | 172.22.1.8 -  27/Jan/2022:11:55:34 -0700 "GET /sogo-auth.php" 200
nginx-mailcow_1      | 127.0.0.1 - - [27/Jan/2022:11:55:34 -0700] "GET /sogo-auth HTTP/1.0" 200 0 "https://172.23.159.69/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"
php-fpm-mailcow_1    | fd4d:6169:6c63:6f77::a -  27/Jan/2022:11:55:34 -0700 "GET /sogo-auth.php" 200
nginx-mailcow_1      | 127.0.0.1 - - [27/Jan/2022:11:55:34 -0700] "GET /sogo-auth HTTP/1.0" 200 0 "https://172.23.159.69/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"
nginx-mailcow_1      | 172.23.144.1 - - [27/Jan/2022:11:55:34 -0700] "POST /SOGo/so/user1@example.com/Calendar/saveSelectedList HTTP/2.0" 204 0 "https://172.23.159.69/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"
nginx-mailcow_1      | 172.23.144.1 - - [27/Jan/2022:11:55:34 -0700] "GET /SOGo/so/user1@example.com/Calendar/eventslist?asc=1&day=20220127&filterpopup=view_next7&search=title_Category_Location&sort=start&value= HTTP/2.0" 200 243 "https://172.23.159.69/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"
nginx-mailcow_1      | 172.23.144.1 - - [27/Jan/2022:11:55:34 -0700] "POST /SOGo/so/user1@example.com/Mail/0/folderINBOX/changes HTTP/2.0" 200 20 "https://172.23.159.69/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"

Logged in manually to SOGo, invite attendees succeeeds

php-fpm-mailcow_1    | fd4d:6169:6c63:6f77::a -  27/Jan/2022:11:59:07 -0700 "GET /sogo-auth.php" 200
nginx-mailcow_1      | 127.0.0.1 - - [27/Jan/2022:11:59:07 -0700] "GET /sogo-auth HTTP/1.0" 200 655 "https://172.23.159.69/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"
nginx-mailcow_1      | 172.23.144.1 - - [27/Jan/2022:11:59:07 -0700] "GET /SOGo/so/user1@example.com/Contacts/allContactSearch?search=user2 HTTP/2.0" 200 199 "https://172.23.159.69/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"
php-fpm-mailcow_1    | 172.22.1.8 -  27/Jan/2022:11:59:07 -0700 "GET /sogo-auth.php" 200
nginx-mailcow_1      | 127.0.0.1 - - [27/Jan/2022:11:59:07 -0700] "GET /sogo-auth HTTP/1.0" 200 655 "https://172.23.159.69/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"
php-fpm-mailcow_1    | fd4d:6169:6c63:6f77::a -  27/Jan/2022:11:59:07 -0700 "GET /sogo-auth.php" 200
nginx-mailcow_1      | 127.0.0.1 - - [27/Jan/2022:11:59:07 -0700] "GET /sogo-auth HTTP/1.0" 200 655 "https://172.23.159.69/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"
nginx-mailcow_1      | 172.23.144.1 - - [27/Jan/2022:11:59:07 -0700] "GET /SOGo/so/user1@example.com/freebusy.ifb/ajaxRead?eday=20220202&sday=20220120 HTTP/2.0" 200 2 "https://172.23.159.69/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"
nginx-mailcow_1      | 172.23.144.1 - - [27/Jan/2022:11:59:07 -0700] "GET /SOGo/so/user2@example.com/freebusy.ifb/ajaxRead?eday=20220202&sday=20220120 HTTP/2.0" 200 2 "https://172.23.159.69/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"

@mkuron
Copy link
Member

mkuron commented Jan 27, 2022

I have been able to reproduce this and It is actually a Mailcow bug. It happens at the /SOGo/so/otheruser@example.com/freebusy.ifb/ajaxRead?eday=20220201&sday=20220119 request, which sogo-auth.php declines because it contains an email address different from the logged-in user (user@example.com). There are two more places where the bug can be triggered: go to calendars or contacts, click the plus button next to "Subscriptions" and try to search for another user. It will again reload the page. The requests here are /SOGo/so/otheruser@example.com/foldersSearch?type=contact and /SOGo/so/otheruser@example.com/foldersSearch?type=calendar. I will submit a pull request to fix this. Thanks for reporting, @keenmouse!

@dragoangel
Copy link
Collaborator

dragoangel commented Jan 27, 2022

Hm, why I can't get it reproduced?

Edit: well, sorry, actually I also get it reproduced now. Will test PR tomorrow.

@keenmouse
Copy link
Author

@mkuron, thank you so much!

@milkmaker
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@milkmaker milkmaker added the stale Please update the issue with current status, unclear if it's still open/needed. label Mar 29, 2022
@mkuron mkuron closed this as completed Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug stale Please update the issue with current status, unclear if it's still open/needed.
Projects
None yet
5 participants