Where am I seeing those errors? I've attached the traceback below but it has to do with my django app's sessions.
Are they still happening? After posting the first time, it occured another 5 times yesterday. I haven't seen it happen today.
Can you connect to your databases from the PA Bash console as shown here? Yes, and I verified it was working myself by logging into the site.
Traceback (most recent call last):
File "/home/xDev/.cache/pypoetry/virtualenvs/dropship-UWZJfWmZ-py3.9/lib/python3.9/site-packages/django/contrib/sessions/backends/base.py", line 233, in _get_session
return self._session_cache
During handling of the above exception ('SessionStore' object has no attribute '_session_cache'), another exception occurred:
File "/home/xDev/.cache/pypoetry/virtualenvs/dropship-UWZJfWmZ-py3.9/lib/python3.9/site-packages/django/db/backends/base/base.py", line 219, in ensure_connection
self.connect()
File "/home/xDev/.cache/pypoetry/virtualenvs/dropship-UWZJfWmZ-py3.9/lib/python3.9/site-packages/django/utils/asyncio.py", line 33, in inner
return func(*args, **kwargs)
File "/home/xDev/.cache/pypoetry/virtualenvs/dropship-UWZJfWmZ-py3.9/lib/python3.9/site-packages/django/db/backends/base/base.py", line 200, in connect
self.connection = self.get_new_connection(conn_params)
File "/home/xDev/.cache/pypoetry/virtualenvs/dropship-UWZJfWmZ-py3.9/lib/python3.9/site-packages/django/utils/asyncio.py", line 33, in inner
return func(*args, **kwargs)
File "/home/xDev/.cache/pypoetry/virtualenvs/dropship-UWZJfWmZ-py3.9/lib/python3.9/site-packages/django/db/backends/mysql/base.py", line 234, in get_new_connection
connection = Database.connect(**conn_params)
File "/home/xDev/.cache/pypoetry/virtualenvs/dropship-UWZJfWmZ-py3.9/lib/python3.9/site-packages/MySQLdb/__init__.py", line 123, in Connect
return Connection(*args, **kwargs)
File "/home/xDev/.cache/pypoetry/virtualenvs/dropship-UWZJfWmZ-py3.9/lib/python3.9/site-packages/MySQLdb/connections.py", line 185, in __init__
super().__init__(*args, **kwargs2)
The above exception ((2005, "Unknown MySQL server host 'xdev.mysql.pythonanywhere-services.com' (11)")) was the direct cause of the following exception:
File "/home/xDev/.cache/pypoetry/virtualenvs/dropship-UWZJfWmZ-py3.9/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
response = get_response(request)