Checked the uwsgi by using “tail -f /var/log/messages”
Jun 5 22:53:40 mx01 uwsgi: webmail.domain.com [pid: 26016|app: 0|req: 66/66] 123.123.123.123 () {54 vars in 1017 bytes} [Tue Jun 5 22:53:38 2018] GET /iredadmin/profile/domain/general/domain.com => generated 133296 bytes in 2507 msecs (HTTP/1.1 200) 2 headers in 146 bytes (2 switches on core 0)
Jun 5 22:53:44 mx01 uwsgi: webmail.domain.com [pid: 26016|app: 0|req: 67/67] 123.123.123.123 () {54 vars in 1007 bytes} [Tue Jun 5 22:53:42 2018] GET /iredadmin/users/domain.com => generated 29118 bytes in 2056 msecs (HTTP/1.1 200) 2 headers in 146 bytes (2 switches on core 0)
Jun 5 22:53:51 mx01 uwsgi: Traceback (most recent call last):
Jun 5 22:53:51 mx01 uwsgi: File "/usr/lib/python2.7/site-packages/web/application.py", line 239, in process
Jun 5 22:53:51 mx01 uwsgi: return self.handle()
Jun 5 22:53:51 mx01 uwsgi: File "/usr/lib/python2.7/site-packages/web/application.py", line 230, in handle
Jun 5 22:53:51 mx01 uwsgi: return self._delegate(fn, self.fvars, args)
Jun 5 22:53:51 mx01 uwsgi: File "/usr/lib/python2.7/site-packages/web/application.py", line 420, in _delegate
Jun 5 22:53:51 mx01 uwsgi: return handle_class(cls)
Jun 5 22:53:51 mx01 uwsgi: File "/usr/lib/python2.7/site-packages/web/application.py", line 396, in handle_class
Jun 5 22:53:51 mx01 uwsgi: return tocall(*args)
Jun 5 22:53:51 mx01 uwsgi: File "/var/www/iRedAdmin-Pro-SQL-2.9.0/controllers/sql/user.py", line 322, in GET
Jun 5 22:53:51 mx01 uwsgi: _qr = mlmmj.get_subscribed_lists(mail=mail, query_all_lists=False)
Jun 5 22:53:51 mx01 uwsgi: File "/var/www/iRedAdmin-Pro-SQL-2.9.0/libs/mlmmj/__init__.py", line 327, in get_subscribed_lists
Jun 5 22:53:51 mx01 uwsgi: r = requests.get(url, params=params, headers=api_headers, verify=_verify_ssl)
Jun 5 22:53:51 mx01 uwsgi: File "/usr/lib/python2.7/site-packages/requests/api.py", line 68, in get
Jun 5 22:53:51 mx01 uwsgi: return request('get', url, **kwargs)
Jun 5 22:53:51 mx01 uwsgi: File "/usr/lib/python2.7/site-packages/requests/api.py", line 50, in request
Jun 5 22:53:51 mx01 uwsgi: response = session.request(method=method, url=url, **kwargs)
Jun 5 22:53:51 mx01 uwsgi: File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 464, in request
Jun 5 22:53:51 mx01 uwsgi: resp = self.send(prep, **send_kwargs)
Jun 5 22:53:51 mx01 uwsgi: File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 576, in send
Jun 5 22:53:51 mx01 uwsgi: r = adapter.send(request, **kwargs)
Jun 5 22:53:51 mx01 uwsgi: File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 415, in send
Jun 5 22:53:51 mx01 uwsgi: raise ConnectionError(err, request=request)
Jun 5 22:53:51 mx01 uwsgi: ConnectionError: ('Connection aborted.', error(111, 'Connection refused'))
Jun 5 22:53:51 mx01 uwsgi: webmail.domain.com [pid: 26016|app: 0|req: 68/68] 123.123.123.123 () {54 vars in 1036 bytes} [Tue Jun 5 22:53:51 2018] GET /iredadmin/profile/user/general/support@domain.com => generated 21 bytes in 34 msecs (HTTP/1.1 500) 2 headers in 165 bytes (2 switches on core 0)
Jun 5 22:54:01 mx01 systemd: Created slice User Slice of sogo.
Jun 5 22:54:01 mx01 systemd: Starting User Slice of sogo.
Jun 5 22:54:01 mx01 systemd: Started Session 26938 of user sogo.
Jun 5 22:54:01 mx01 systemd: Starting Session 26938 of user sogo.
Jun 5 22:54:02 mx01 systemd: Removed slice User Slice of sogo.
Jun 5 22:54:02 mx01 systemd: Stopping User Slice of sogo.
Anyone can give me an advise?
Many thanks.
Regards,
Matt