Hi guys,
My indico has been running normally for about two years, until the “Internal Server Error” appeared on March 29. The browser displays as follows:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Indico version 2.1.8
CentOS Linux release 7.5.1804 (Core)
Apache/2.4.6 (CentOS)
uwsgi-2.0.17.1-2.el7.x86_64
postgresql96-9.6.12-1PGDG.rhel7.x86_64
celery.log outputs of ERRORs:
    [root@indico20190416 log]# tail -n 30000 celery.log | grep 'ERROR'
2021-03-29 10:30:51,413  ERROR    celery.worker.consumer.consumer consumer: Cannot connect to redis:**127_0_0_1:6379/0: Error 111 connecting to 127_0_0_1:6379. Connection refused..
2021-03-30 03:35:42,181  ERROR    celery.worker.consumer.consumer consumer: Cannot connect to ......
celery.log outputs of WARNINGs:
    [root@indico20190416 log]# tail -n 18500 celery.log | grep 'WARNING'
...
2021-03-16 03:59:59,949  WARNING  celery.redirected         Traceback (most recent call last):
2021-03-16 03:59:59,949  WARNING  celery.redirected         File "/opt/indico/.venv/lib/python2.7/site-packages/indico/core/logger.py", line 89, in emit
2021-03-16 03:59:59,949  WARNING  celery.redirected         smtp.sendmail(self.fromaddr, self.toaddrs, msg.as_string())
2021-03-16 03:59:59,949  WARNING  celery.redirected         File "/usr/lib64/python2.7/smtplib.py", line 746, in sendmail
2021-03-16 03:59:59,950  WARNING  celery.redirected         raise SMTPRecipientsRefused(senderrs)
2021-03-16 03:59:59,950  WARNING  celery.redirected         SMTPRecipientsRefused: {u'lee@jtu.edu.cn': (553, '5.7.1 <logger@indico20190416.novalocal>: Sender address rejected: not owned by user lee@jtu.edu.cn')}
2021-03-16 03:59:59,950  WARNING  celery.redirected         Logged from file emails.py, line 61
2021-03-29 10:30:56,419  WARNING  celery.redirected         Traceback (most recent call last):
2021-03-29 10:30:56,419  WARNING  celery.redirected         File "/opt/indico/.venv/lib/python2.7/site-packages/indico/core/logger.py", line 77, in emit
2021-03-29 10:30:56,420  WARNING  celery.redirected         smtp = smtplib.SMTP(self.mailhost, port, timeout=self._timeout)
2021-03-29 10:30:56,421  WARNING  celery.redirected         File "/usr/lib64/python2.7/smtplib.py", line 255, in __init__
2021-03-29 10:30:56,422  WARNING  celery.redirected         (code, msg) = self.connect(host, port)
2021-03-29 10:30:56,422  WARNING  celery.redirected         File "/usr/lib64/python2.7/smtplib.py", line 316, in connect
2021-03-29 10:30:56,423  WARNING  celery.redirected         (code, msg) = self.getreply()
2021-03-29 10:30:56,423  WARNING  celery.redirected         File "/usr/lib64/python2.7/smtplib.py", line 364, in getreply
2021-03-29 10:30:56,423  WARNING  celery.redirected         + str(e))
2021-03-29 10:30:56,423  WARNING  celery.redirected         SMTPServerDisconnected: Connection unexpectedly closed: timed out
2021-03-29 10:30:56,423  WARNING  celery.redirected         Logged from file consumer.py, line 423
2021-03-29 10:31:03,301  WARNING  celery.redirected         /opt/indico/.venv/lib/python2.7/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <ht*****/initd_org/psycopg/docs/install.html#binary-install-from-pypi>.
......