INFO: 172.18.0.6:44342 - "OPTIONS /api/v1/chatbot/chat HTTP/1.1" 200 OK
2026-03-05 04:41:32,473 - core.database - ERROR - Database error: could not send data to server: Connection timed out
2026-03-05 04:41:32,473 - services.data_service - ERROR - Error fetching candidate context: could not send data to server: Connection timed out
Traceback (most recent call last):
File "/app/services/data_service.py", line 219, in get_candidate_context
cursor.execute("""
File "/root/.local/lib/python3.11/site-packages/psycopg2/extras.py", line 236, in execute
return super().execute(query, vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
psycopg2.DatabaseError: could not send data to server: Connection timed out
2026-03-05 04:41:32,474 - core.database - ERROR - Database error: could not send data to server: Connection timed out
2026-03-05 04:41:32,474 - services.data_service - ERROR - Error fetching interview data: could not send data to server: Connection timed out
Traceback (most recent call last):
File "/app/services/data_service.py", line 280, in get_interview_data
cursor.execute("""
File "/root/.local/lib/python3.11/site-packages/psycopg2/extras.py", line 236, in execute
return super().execute(query, vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
psycopg2.DatabaseError: could not send data to server: Connection timed out
2026-03-05 04:41:32,474 - core.database - ERROR - Database error: could not send data to server: Connection timed out
2026-03-05 04:41:32,475 - services.chatbot_service - ERROR - Error fetching fresh questions: could not send data to server: Connection timed out
Traceback (most recent call last):
File "/app/services/chatbot_service.py", line 431, in _fetch_fresh_questions
INFO: 172.18.0.6:44342 - "POST /api/v1/chatbot/chat HTTP/1.1" 500 Internal Server Error
cursor.execute("""
File "/root/.local/lib/python3.11/site-packages/psycopg2/extras.py", line 236, in execute
return super().execute(query, vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
psycopg2.DatabaseError: could not send data to server: Connection timed out
2026-03-05 04:41:32,475 - services.chatbot_service - ERROR - Chatbot error: could not send data to server: Connection timed out
2026-03-05 04:41:32,475 - api.v1.endpoints.chatbot - ERROR - Chat processing error: could not send data to server: Connection timed out
Traceback (most recent call last):
File "/app/api/v1/endpoints/chatbot.py", line 16, in process_chat
response = await chatbot_service.process_chat_message(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/services/chatbot_service.py", line 199, in process_chat_message
context, interview_data, fresh_questions = await asyncio.gather(
^^^^^^^^^^^^^^^^^^^^^
File "/app/services/data_service.py", line 219, in get_candidate_context
cursor.execute("""
File "/root/.local/lib/python3.11/site-packages/psycopg2/extras.py", line 236, in execute
return super().execute(query, vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
psycopg2.DatabaseError: could not send data to server: Connection timed out