Actions
Bug #1181
closed[BE] fix bug prod error 500 voice/all
Files
Updated by Trịnh Thế Định 3 months ago
FO", "message": "GET /api/v1/voice-library/all 10.44.1.133 3900.9008407592773ms 200", "name": "app.middleware.log_middleware", "filename": "log_middleware.py", "lineno": 37, "module": "log_middleware", "funcName": "dispatch", "process": 43352, "thread": 139713861027648}
{"asctime": "2024-10-14 19:18:05,146", "levelname": "ERROR", "message": "Traceback (most recent call last):\n File \"/app/app/tts_common/core/deps.py\", line 88, in get_current_user\n payload = jwt.decode(\n ^^^^^^^^^^^\n File \"/usr/local/lib/python3.11/site-packages/jose/jwt.py\", line 157, in decode\n _validate_claims(\n File \"/usr/local/lib/python3.11/site-packages/jose/jwt.py\", line 481, in _validate_claims\n _validate_exp(claims, leeway=leeway)\n File \"/usr/local/lib/python3.11/site-packages/jose/jwt.py\", line 314, in _validate_exp\n raise ExpiredSignatureError(\"Signature has expired.\")\njose.exceptions.ExpiredSignatureError: Signature has expired.\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/app/app/tts_common/core/deps.py\", line 49, in get_db\n yield db\nfastapi.exceptions.HTTPException: 403: Could not validate credentials\n", "name": "root", "filename": "deps.py", "lineno": 51, "module": "deps", "funcName": "get_db", "process": 45333, "thread": 139713696990976, "exc_info": "Traceback (most recent call last):\n File \"/app/app/tts_common/core/deps.py\", line 88, in get_current_user\n payload = jwt.decode(\n ^^^^^^^^^^^\n File \"/usr/local/lib/python3.11/site-packages/jose/jwt.py\", line 157, in decode\n _validate_claims(\n File \"/usr/local/lib/python3.11/site-packages/jose/jwt.py\", line 481, in _validate_claims\n _validate_exp(claims, leeway=leeway)\n File \"/usr/local/lib/python3.11/site-packages/jose/jwt.py\", line 314, in _validate_exp\n raise ExpiredSignatureError(\"Signature has expired.\")\njose.exceptions.ExpiredSignatureError: Signature has expired.\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/app/app/tts_common/core/deps.py\", line 49, in get_db\n yield db\nfastapi.exceptions.HTTPException: 403: Could not validate credentials"}
{"asctime": "2024-10-14 19:18:05,148", "levelname": "ERROR", "message": "403: Could not validate credentials", "name": "root", "filename": "deps.py", "lineno": 52, "module": "deps", "funcName": "get_db", "process": 45333, "thread": 139713696990976, "exc_info": "Traceback (most recent call last):\n File \"/app/app/tts_common/core/deps.py\", line 88, in get_current_user\n payload = jwt.decode(\n ^^^^^^^^^^^\n File \"/usr/local/lib/python3.11/site-packages/jose/jwt.py\", line 157, in decode\n _validate_claims(\n File \"/usr/local/lib/python3.11/site-packages/jose/jwt.py\", line 481, in _validate_claims\n _validate_exp(claims, leeway=leeway)\n File \"/usr/local/lib/python3.11/site-packages/jose/jwt.py\", line 314, in _validate_exp\n raise ExpiredSignatureError(\"Signature has expired.\")\njose.exceptions.ExpiredSignatureError: Signature has expired.\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/app/app/tts_common/core/deps.py\", line 49, in get_db\n yield db\nfastapi.exceptions.HTTPException: 403: Could not validate credentials"}
{"asctime": "2024-10-14 19:18:05,150", "levelname": "INFO", "message": "GET /api/v1/me 10.44.1.134 10.584354400634766ms 403", "name": "app.middleware.log_middleware", "filename": "log_middleware.py", "lineno": 37, "module": "log_middleware", "funcName": "dispatch", "process": 45333, "thread": 139713861027648}
{"asctime": "2024-10-14 19:18:08,788", "levelname": "ERROR", "message": "Traceback (most recent call last):\n File \"/app/app/tts_common/core/deps.py\", line 88, in get_current_user\n payload = jwt.decode(\n ^^^^^^^^^^^\n File \"/usr/local/lib/python3.11/site-packages/jose/jwt.py\", line 157, in decode\n _validate_claims(\n File \"/usr/local/lib/python3.11/site-packages/jose/jwt.py\", line 481, in _validate_claims\n _validate_exp(claims, leeway=leeway)\n File \"/usr/local/lib/python3.11/site-packages/jose/jwt.py\", line 314, in _validate_exp\n raise ExpiredSignatureError(\"Signature has expired.\")\njose.exceptions.ExpiredSignatureError: Signature has expired.\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/app/app/tts_common/core/deps.py\", line 49, in get_db\n yield db\nfastapi.exceptions.HTTPException: 403: Could not validate credentials\n", "name": "root", "filename": "deps.py", "lineno": 51, "module": "deps", "funcName": "get_db", "process": 45333, "thread": 139713696990976, "exc_info": "Traceback (most recent call last):\n File \"/app/app/tts_common/core/deps.py\", line 88, in get_current_user\n payload = jwt.decode(\n ^^^^^^^^^^^\n File \"/usr/local/lib/python3.11/site-packages/jose/jwt.py\", line 157, in decode\n _validate_claims(\n File \"/usr/local/lib/python3.11/site-packages/jose/jwt.py\", line 481, in _validate_claims\n _validate_exp(claims, leeway=leeway)\n File \"/usr/local/lib/python3.11/site-packages/jose/jwt.py\", line 314, in _validate_exp\n raise ExpiredSignatureError(\"Signature has expired.\")\njose.exceptions.ExpiredSignatureError: Signature has expired.\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/app/app/tts_common/core/deps.py\", line 49, in get_db\n yield db\nfastapi.exceptions.HTTPException: 403: Could not validate credentials"}
{"asctime": "2024-10-14 19:18:08,791", "levelname": "ERROR", "message": "403: Could not validate credentials", "name": "root", "filename": "deps.py", "lineno": 52, "module": "deps", "funcName": "get_db", "process": 45333, "thread": 139713696990976, "exc_info": "Traceback (most recent call last):\n File \"/app/app/tts_common/core/deps.py\", line 88, in get_current_user\n payload = jwt.decode(\n ^^^^^^^^^^^\n File \"/usr/local/lib/python3.11/site-packages/jose/jwt.py\", line 157, in decode\n _validate_claims(\n File \"/usr/local/lib/python3.11/site-packages/jose/jwt.py\", line 481, in _validate_claims\n _validate_exp(claims, leeway=leeway)\n File \"/usr/local/lib/python3.11/site-packages/jose/jwt.py\", line 314, in _validate_exp\n raise ExpiredSignatureError(\"Signature has expired.\")\njose.exceptions.ExpiredSignatureError: Signature has expired.\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/app/app/tts_common/core/deps.py\", line 49, in get_db\n yield db\nfastapi.exceptions.HTTPException: 403: Could not validate credentials"}
{"asctime": "2024-10-14 19:18:08,793", "levelname": "INFO",
Updated by Trịnh Thế Định 3 months ago
2024-10-14 22:57:38 sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (1267, "Illegal mix of collations (utf8mb4_0900_ai_ci,IMPLICIT) and (utf8mb4_general_ci,IMPLICIT) for operation '='") 2024-10-14 22:57:38 [SQL: SELECT count(*) AS count_1 2024-10-14 22:57:38 FROM (SELECT voice_library.id AS voice_library_id, voice_library.speaker_id AS voice_library_speaker_id, voice_library.speaker_name AS voice_library_speaker_name, voice_library.gender AS voice_library_gender, voice_library.age AS voice_library_age, voice_library.accent AS voice_library_accent, voice_library.description AS voice_library_description, voice_library.audio_path AS voice_library_audio_path, voice_library.sample_audio_path AS voice_library_sample_audio_path, voice_library.type AS voice_library_type, voice_library.premium AS voice_library_premium, voice_library.training_type AS voice_library_training_type, voice_library.user_id AS voice_library_user_id, voice_library.user_model_path AS voice_library_user_model_path, voice_library.embedding_path AS voice_library_embedding_path, voice_library.status AS voice_library_status, voice_library.training_status AS voice_library_training_status, voice_library.used_credit AS voice_library_used_credit, voice_library.created_at AS voice_library_created_at, voice_library.updated_at AS voice_library_updated_at, user_favorite_voice.user_id AS is_favorite 2024-10-14 22:57:38 FROM voice_library LEFT OUTER JOIN user_favorite_voice ON user_favorite_voice.voice_id = voice_library.id AND user_favorite_voice.user_id IS NULL
Updated by Trịnh Thế Định 3 months ago
- Status changed from New to Resolved - Dev
Updated by Trịnh Thế Định 2 months ago
- Status changed from Resolved - Dev to Closed
Actions