Hi Zhang,
after upgrade to 3.3 version I have strange bug with postmaster user only (other domain admins works normally).
Can't open any user profile ( iredadmin/profile/user/general/email@domain.tld link)
Browser shows just - "internal server error" msg. with blank screen
Apache logs shows these errors:
[Fri Feb 15 15:58:22.414024 2019] [:error] [pid 12450] [remote 192.168.0.31:13516] Traceback (most recent call last):
[Fri Feb 15 15:58:22.414074 2019] [:error] [pid 12450] [remote 192.168.0.31:13516] File "/usr/lib/python2.7/dist-packages/web/application.py", line 239, in process
[Fri Feb 15 15:58:22.414085 2019] [:error] [pid 12450] [remote 192.168.0.31:13516] return self.handle()
[Fri Feb 15 15:58:22.414093 2019] [:error] [pid 12450] [remote 192.168.0.31:13516] File "/usr/lib/python2.7/dist-packages/web/application.py", line 230, in handle
[Fri Feb 15 15:58:22.414100 2019] [:error] [pid 12450] [remote 192.168.0.31:13516] return self._delegate(fn, self.fvars, args)
[Fri Feb 15 15:58:22.414108 2019] [:error] [pid 12450] [remote 192.168.0.31:13516] File "/usr/lib/python2.7/dist-packages/web/application.py", line 420, in _delegate
[Fri Feb 15 15:58:22.414215 2019] [:error] [pid 12450] [remote 192.168.0.31:13516] return handle_class(cls)
[Fri Feb 15 15:58:22.414225 2019] [:error] [pid 12450] [remote 192.168.0.31:13516] File "/usr/lib/python2.7/dist-packages/web/application.py", line 396, in handle_class
[Fri Feb 15 15:58:22.414336 2019] [:error] [pid 12450] [remote 192.168.0.31:13516] return tocall(*args)
[Fri Feb 15 15:58:22.414349 2019] [:error] [pid 12450] [remote 192.168.0.31:13516] File "/opt/www/iredadmin/controllers/ldap/user.py", line 293, in GET
[Fri Feb 15 15:58:22.414435 2019] [:error] [pid 12450] [remote 192.168.0.31:13516] _qr = mlmmj.get_subscribed_lists(mail=mail, query_all_lists=False)
[Fri Feb 15 15:58:22.414515 2019] [:error] [pid 12450] [remote 192.168.0.31:13516] File "/opt/www/iredadmin/libs/mlmmj/__init__.py", line 338, in get_subscribed_lists
[Fri Feb 15 15:58:22.414526 2019] [:error] [pid 12450] [remote 192.168.0.31:13516] r = requests.get(url, params=params, headers=api_headers, verify=_verify_ssl)
[Fri Feb 15 15:58:22.414533 2019] [:error] [pid 12450] [remote 192.168.0.31:13516] File "/usr/lib/python2.7/dist-packages/requests/api.py", line 72, in get
[Fri Feb 15 15:58:22.414616 2019] [:error] [pid 12450] [remote 192.168.0.31:13516] return request('get', url, params=params, **kwargs)
[Fri Feb 15 15:58:22.414624 2019] [:error] [pid 12450] [remote 192.168.0.31:13516] File "/usr/lib/python2.7/dist-packages/requests/api.py", line 58, in request
[Fri Feb 15 15:58:22.414736 2019] [:error] [pid 12450] [remote 192.168.0.31:13516] return session.request(method=method, url=url, **kwargs)
[Fri Feb 15 15:58:22.414752 2019] [:error] [pid 12450] [remote 192.168.0.31:13516] File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 502, in request
[Fri Feb 15 15:58:22.414760 2019] [:error] [pid 12450] [remote 192.168.0.31:13516] resp = self.send(prep, **send_kwargs)
[Fri Feb 15 15:58:22.414767 2019] [:error] [pid 12450] [remote 192.168.0.31:13516] File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 612, in send
[Fri Feb 15 15:58:22.414849 2019] [:error] [pid 12450] [remote 192.168.0.31:13516] r = adapter.send(request, **kwargs)
[Fri Feb 15 15:58:22.414857 2019] [:error] [pid 12450] [remote 192.168.0.31:13516] File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 504, in send
[Fri Feb 15 15:58:22.414864 2019] [:error] [pid 12450] [remote 192.168.0.31:13516] raise ConnectionError(e, request=request)
[Fri Feb 15 15:58:22.414872 2019] [:error] [pid 12450] [remote 192.168.0.31:13516] ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=7790): Max retries exceeded with url: /api/subscriber/postmaster@domain.tld/subscribed?query_all_lists=no&email_only=no (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa4b6aeca90>: Failed to establish a new connection: [Errno 111] Connection refused',))
[Fri Feb 15 15:58:22.414997 2019] [:error] [pid 12450] [remote 192.168.0.31:13516]