Forums

OperationalError: (2005, "Unknown MySQL server host 'mydomain.mysql.pythonanywhere-services.com' (-3)")

Hi there, I just got a mail from Sentry informing me about this error and when i checked my site, it was returning a 500 server error. Upon checking the error logs, i found the following

django.db.utils.OperationalError: (2005, "Unknown MySQL server host 'mydomain.mysql.pythonanywhere-services.com' (-3)") 2023-07-27 11:05:32,420: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f761e0f4ee0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /api/4505293054803968/envelope/

I am not sure about what is going on, because everything has been working fine up until now.

We had DNS issues which we have now fixed, so everything should be working again.