Project

General

Profile

Bug #338 » log-events-viewer-result (3).csv

Nguyen Trong, 01/10/2024 02:41 PM

 
timestamp,message
1704342324719,2024-01-04 04:25:24 [INFO] Started server process [1]
1704342324719,2024-01-04 04:25:24 [INFO] Waiting for application startup.
1704342324738,2024-01-04 04:25:24 [INFO] Application startup complete.
1704342324739,2024-01-04 04:25:24 [INFO] Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
1704342358837,"2024-01-04 04:25:58 [INFO] 10.0.11.220:38738 - ""GET /api/v1/me HTTP/1.1"" 200"
1704342362415,"2024-01-04 04:26:02 [INFO] 10.0.11.220:38738 - ""GET /api/v1/me HTTP/1.1"" 200"
1704342365261,"2024-01-04 04:26:05 [INFO] 10.0.12.19:40054 - ""OPTIONS /api/v1/products HTTP/1.1"" 200"
1704342365261,"2024-01-04 04:26:05 [INFO] 10.0.12.19:40058 - ""OPTIONS /api/v1/me HTTP/1.1"" 200"
1704342365345,2024-01-04 04:26:05 [ERROR] Traceback (most recent call last):
1704342365345," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 35, in get_db"
1704342365345, yield db
1704342365345,fastapi.exceptions.HTTPException
1704342365345,Traceback (most recent call last):
1704342365345," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 35, in get_db"
1704342365345, yield db
1704342365345,fastapi.exceptions.HTTPException
1704342365347,2024-01-04 04:26:05 [ERROR]
1704342365347,Traceback (most recent call last):
1704342365347," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 35, in get_db"
1704342365347, yield db
1704342365347,fastapi.exceptions.HTTPException
1704342365350,"2024-01-04 04:26:05 [INFO] 10.0.12.19:40058 - ""GET /api/v1/products HTTP/1.1"" 200"
1704342365351,"2024-01-04 04:26:05 [INFO] 10.0.12.19:40054 - ""GET /api/v1/me HTTP/1.1"" 401"
1704342372313,"2024-01-04 04:26:12 [INFO] 10.0.11.220:53962 - ""OPTIONS /api/v1/products HTTP/1.1"" 200"
1704342372314,"2024-01-04 04:26:12 [INFO] 10.0.11.220:53962 - ""OPTIONS /api/v1/me HTTP/1.1"" 200"
1704342372402,2024-01-04 04:26:12 [ERROR] Traceback (most recent call last):
1704342372402," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 35, in get_db"
1704342372402, yield db
1704342372402,fastapi.exceptions.HTTPException
1704342372402,Traceback (most recent call last):
1704342372402," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 35, in get_db"
1704342372402, yield db
1704342372402,fastapi.exceptions.HTTPException
1704342372403,2024-01-04 04:26:12 [ERROR]
1704342372403,Traceback (most recent call last):
1704342372403," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 35, in get_db"
1704342372403, yield db
1704342372403,fastapi.exceptions.HTTPException
1704342372403,"2024-01-04 04:26:12 [INFO] 10.0.11.220:53972 - ""GET /api/v1/me HTTP/1.1"" 401"
1704342372407,"2024-01-04 04:26:12 [INFO] 10.0.11.220:53962 - ""GET /api/v1/products HTTP/1.1"" 200"
1704342374622,2024-01-04 04:26:14 [ERROR] Traceback (most recent call last):
1704342374622," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 35, in get_db"
1704342374622, yield db
1704342374622,fastapi.exceptions.HTTPException
1704342374622,Traceback (most recent call last):
1704342374622," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 35, in get_db"
1704342374622, yield db
1704342374622,fastapi.exceptions.HTTPException
1704342374623,2024-01-04 04:26:14 [ERROR]
1704342374623,Traceback (most recent call last):
1704342374623," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 35, in get_db"
1704342374623, yield db
1704342374623,fastapi.exceptions.HTTPException
1704342374623,"2024-01-04 04:26:14 [INFO] 10.0.12.19:57302 - ""GET /api/v1/me HTTP/1.1"" 401"
1704342382890,2024-01-04 04:26:22 [ERROR] Traceback (most recent call last):
1704342382890," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 35, in get_db"
1704342382890, yield db
1704342382890,fastapi.exceptions.HTTPException
1704342382890,Traceback (most recent call last):
1704342382890," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 35, in get_db"
1704342382890, yield db
1704342382890,fastapi.exceptions.HTTPException
1704342382890,2024-01-04 04:26:22 [ERROR]
1704342382890,Traceback (most recent call last):
1704342382890," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 35, in get_db"
1704342382890, yield db
1704342382890,fastapi.exceptions.HTTPException
1704342382894,"2024-01-04 04:26:22 [INFO] 10.0.11.220:46088 - ""GET /api/v1/me HTTP/1.1"" 401"
1704342382899,"2024-01-04 04:26:22 [INFO] 10.0.11.220:46090 - ""GET /api/v1/products HTTP/1.1"" 200"
1704342386811,2024-01-04 04:26:26 [ERROR] Traceback (most recent call last):
1704342386811," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 35, in get_db"
1704342386811, yield db
1704342386811,fastapi.exceptions.HTTPException
1704342386811,Traceback (most recent call last):
1704342386811," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 35, in get_db"
1704342386811, yield db
1704342386811,fastapi.exceptions.HTTPException
1704342386811,2024-01-04 04:26:26 [ERROR]
1704342386811,Traceback (most recent call last):
1704342386811," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 35, in get_db"
1704342386811, yield db
1704342386811,fastapi.exceptions.HTTPException
1704342386812,"2024-01-04 04:26:26 [INFO] 10.0.11.220:46088 - ""GET /api/v1/me HTTP/1.1"" 401"
1704342386869,"2024-01-04 04:26:26 [INFO] 10.0.12.19:58260 - ""GET /api/v1/me HTTP/1.1"" 200"
1704342391771,2024-01-04 04:26:31 [ERROR] Traceback (most recent call last):
1704342391771," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 35, in get_db"
1704342391771, yield db
1704342391771,fastapi.exceptions.HTTPException
1704342391771,Traceback (most recent call last):
1704342391771," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 35, in get_db"
1704342391771, yield db
1704342391771,fastapi.exceptions.HTTPException
1704342391774,2024-01-04 04:26:31 [ERROR]
1704342391774,Traceback (most recent call last):
1704342391774," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 35, in get_db"
1704342391774, yield db
1704342391774,fastapi.exceptions.HTTPException
1704342391774,"2024-01-04 04:26:31 [INFO] Translate_req: gpt_version='gpt-3.5' origin_lang=None target_lang='english' domain='' tone='' writing_style='' trans_input='❤❤❤ THỰC ĐƠN VÀ CHẾ ĐỘ ĂN UỐNG TẠI MON TỪ 18/12 - 23/12 CHUYÊN RAU CỦ
❤ Mời quý phụ huynh cùng xem các bạn nhỏ Mon ăn uống trong tuần qua ạ' custom_prompt=''"
1704342391774,2024-01-04 04:26:31 [INFO] lengthy_flag False
1704342392879,2024-01-04 04:26:32 [INFO] vietnamese detected
1704342396233,2024-01-04 04:26:36 [INFO] Prompt token: 162
1704342396295,2024-01-04 04:26:36 [INFO] setup_api_key of model: gpt-3.5
1704342396345,2024-01-04 04:26:36 [INFO] count_all_active_key: 1804
1704342396347,"2024-01-04 04:26:36 [INFO] 10.0.12.19:38284 - ""GET /api/v1/me HTTP/1.1"" 401"
1704342396347,"2024-01-04 04:26:36 [INFO] 10.0.12.19:38268 - ""POST /api/v1/public/translate-text-stream HTTP/1.1"" 200"
1704342396347,"2024-01-04 04:26:36 [INFO] 10.0.11.220:46088 - ""OPTIONS /api/v1/public/translate-text-stream HTTP/1.1"" 200"
1704342396348,"2024-01-04 04:26:36 [INFO] 10.0.12.19:58260 - ""OPTIONS /api/v1/histories?filter_by=translate-document&items_per_page=10&page=1 HTTP/1.1"" 200"
1704342396348,2024-01-04 04:26:36 [INFO] Using open ai key: ********************5ThhLt1YdJm9QpVSIGshVnwEf
1704342396348,2024-01-04 04:26:36 [INFO] retry_count 1
1704342396348,"2024-01-04 04:26:36 [INFO] [{'role': 'system', 'content': 'We will be using variables represented with double square brackets.'}, {'role': 'user', 'content': '[[original_text]]:`❤❤❤ THỰC ĐƠN VÀ CHẾ ĐỘ ĂN UỐNG TẠI MON TỪ 18/12 - 23/12 CHUYÊN RAU CỦ
❤ Mời quý phụ huynh cùng xem các bạn nhỏ Mon ăn uống trong tuần qua ạ`. Translate to english
. Grammatically correct, never break words. Remove quotation marks at the beginning and end of the result, return only translated text, do not include [[original_text]], preserve line break.
english text:'}]"
1704342396349,2024-01-04 04:26:36 [INFO] openai.organization ChatCompletion
1704342396349,2024-01-04 04:26:36 [INFO] None
1704342397067,"2024-01-04 04:26:37 [INFO] 10.0.12.19:38294 - ""OPTIONS /api/v1/products HTTP/1.1"" 200"
1704342397068,"2024-01-04 04:26:37 [INFO] 10.0.12.19:38298 - ""OPTIONS /api/v1/me HTTP/1.1"" 200"
1704342397226,2024-01-04 04:26:37 [ERROR] Traceback (most recent call last):
1704342397226," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 35, in get_db"
1704342397226, yield db
1704342397226,fastapi.exceptions.HTTPException
1704342397226,Traceback (most recent call last):
1704342397226," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 35, in get_db"
1704342397226, yield db
1704342397226,fastapi.exceptions.HTTPException
1704342397227,2024-01-04 04:26:37 [ERROR]
1704342397227,Traceback (most recent call last):
1704342397227," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 35, in get_db"
1704342397227, yield db
1704342397227,fastapi.exceptions.HTTPException
1704342397303,"2024-01-04 04:26:37 [INFO] 10.0.11.220:3790 - ""GET /api/v1/me HTTP/1.1"" 401"
1704342397306,2024-01-04 04:26:37 [ERROR] Traceback (most recent call last):
1704342397306," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 70, in get_current_user"
1704342397306, payload = jwt.decode(
1704342397306, ^^^^^^^^^^^
1704342397306," File ""/usr/local/lib/python3.11/site-packages/jose/jwt.py"", line 157, in decode"
1704342397306, _validate_claims(
1704342397306," File ""/usr/local/lib/python3.11/site-packages/jose/jwt.py"", line 481, in _validate_claims"
1704342397306," _validate_exp(claims, leeway=leeway)"
1704342397306," File ""/usr/local/lib/python3.11/site-packages/jose/jwt.py"", line 314, in _validate_exp"
1704342397306," raise ExpiredSignatureError(""Signature has expired."")"
1704342397306,jose.exceptions.ExpiredSignatureError: Signature has expired.
1704342397306,"During handling of the above exception, another exception occurred:"
1704342397306,Traceback (most recent call last):
1704342397306," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 35, in get_db"
1704342397306, yield db
1704342397306,fastapi.exceptions.HTTPException
1704342397306,Traceback (most recent call last):
1704342397306," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 70, in get_current_user"
1704342397306, payload = jwt.decode(
1704342397306, ^^^^^^^^^^^
1704342397306," File ""/usr/local/lib/python3.11/site-packages/jose/jwt.py"", line 157, in decode"
1704342397306, _validate_claims(
1704342397306," File ""/usr/local/lib/python3.11/site-packages/jose/jwt.py"", line 481, in _validate_claims"
1704342397306," _validate_exp(claims, leeway=leeway)"
1704342397306," File ""/usr/local/lib/python3.11/site-packages/jose/jwt.py"", line 314, in _validate_exp"
1704342397306," raise ExpiredSignatureError(""Signature has expired."")"
1704342397306,jose.exceptions.ExpiredSignatureError: Signature has expired.
1704342397306,"During handling of the above exception, another exception occurred:"
1704342397306,Traceback (most recent call last):
1704342397306," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 35, in get_db"
1704342397306, yield db
1704342397306,fastapi.exceptions.HTTPException
1704342397307,2024-01-04 04:26:37 [ERROR]
1704342397307,Traceback (most recent call last):
1704342397307," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 70, in get_current_user"
1704342397307, payload = jwt.decode(
1704342397307, ^^^^^^^^^^^
1704342397307," File ""/usr/local/lib/python3.11/site-packages/jose/jwt.py"", line 157, in decode"
1704342397307, _validate_claims(
1704342397307," File ""/usr/local/lib/python3.11/site-packages/jose/jwt.py"", line 481, in _validate_claims"
1704342397307," _validate_exp(claims, leeway=leeway)"
1704342397307," File ""/usr/local/lib/python3.11/site-packages/jose/jwt.py"", line 314, in _validate_exp"
1704342397307," raise ExpiredSignatureError(""Signature has expired."")"
1704342397307,jose.exceptions.ExpiredSignatureError: Signature has expired.
1704342397307,"During handling of the above exception, another exception occurred:"
1704342397307,Traceback (most recent call last):
1704342397307," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 35, in get_db"
1704342397307, yield db
1704342397307,fastapi.exceptions.HTTPException
1704342397392,"2024-01-04 04:26:37 [INFO] 10.0.12.19:58260 - ""GET /api/v1/histories?filter_by=translate-document&items_per_page=10&page=1 HTTP/1.1"" 403"
1704342397595,"2024-01-04 04:26:37 [INFO] 10.0.12.19:58260 - ""OPTIONS /api/v1/refresh-token HTTP/1.1"" 200"
1704342397596,2024-01-04 04:26:37 [ERROR] Traceback (most recent call last):
1704342397596," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 70, in get_current_user"
1704342397596, payload = jwt.decode(
1704342397596, ^^^^^^^^^^^
1704342397596," File ""/usr/local/lib/python3.11/site-packages/jose/jwt.py"", line 157, in decode"
1704342397596, _validate_claims(
1704342397596," File ""/usr/local/lib/python3.11/site-packages/jose/jwt.py"", line 481, in _validate_claims"
1704342397596," _validate_exp(claims, leeway=leeway)"
1704342397596," File ""/usr/local/lib/python3.11/site-packages/jose/jwt.py"", line 314, in _validate_exp"
1704342397596," raise ExpiredSignatureError(""Signature has expired."")"
1704342397596,jose.exceptions.ExpiredSignatureError: Signature has expired.
1704342397596,"During handling of the above exception, another exception occurred:"
1704342397596,Traceback (most recent call last):
1704342397596," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 35, in get_db"
1704342397596, yield db
1704342397596,fastapi.exceptions.HTTPException
1704342397596,Traceback (most recent call last):
1704342397596," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 70, in get_current_user"
1704342397596, payload = jwt.decode(
1704342397596, ^^^^^^^^^^^
1704342397596," File ""/usr/local/lib/python3.11/site-packages/jose/jwt.py"", line 157, in decode"
1704342397596, _validate_claims(
1704342397596," File ""/usr/local/lib/python3.11/site-packages/jose/jwt.py"", line 481, in _validate_claims"
1704342397596," _validate_exp(claims, leeway=leeway)"
1704342397596," File ""/usr/local/lib/python3.11/site-packages/jose/jwt.py"", line 314, in _validate_exp"
1704342397596," raise ExpiredSignatureError(""Signature has expired."")"
1704342397596,jose.exceptions.ExpiredSignatureError: Signature has expired.
1704342397596,"During handling of the above exception, another exception occurred:"
1704342397596,Traceback (most recent call last):
1704342397596," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 35, in get_db"
1704342397596, yield db
1704342397596,fastapi.exceptions.HTTPException
1704342397597,2024-01-04 04:26:37 [ERROR]
1704342397597,Traceback (most recent call last):
1704342397597," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 70, in get_current_user"
1704342397597, payload = jwt.decode(
1704342397597, ^^^^^^^^^^^
1704342397597," File ""/usr/local/lib/python3.11/site-packages/jose/jwt.py"", line 157, in decode"
1704342397597, _validate_claims(
1704342397597," File ""/usr/local/lib/python3.11/site-packages/jose/jwt.py"", line 481, in _validate_claims"
1704342397597," _validate_exp(claims, leeway=leeway)"
1704342397597," File ""/usr/local/lib/python3.11/site-packages/jose/jwt.py"", line 314, in _validate_exp"
1704342397597," raise ExpiredSignatureError(""Signature has expired."")"
1704342397597,jose.exceptions.ExpiredSignatureError: Signature has expired.
1704342397597,"During handling of the above exception, another exception occurred:"
1704342397597,Traceback (most recent call last):
1704342397597," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 35, in get_db"
1704342397597, yield db
1704342397597,fastapi.exceptions.HTTPException
1704342397598,"2024-01-04 04:26:37 [INFO] 10.0.12.19:38294 - ""GET /api/v1/products HTTP/1.1"" 200"
1704342397609,2024-01-04 04:26:37 [INFO] Translate_req: gpt_version='gpt-3.5' origin_lang='english' target_lang='japanese' domain='' tone='' writing_style='' trans_input='Hello' custom_prompt=''
1704342397609,2024-01-04 04:26:37 [INFO] lengthy_flag False
1704342397609,2024-01-04 04:26:37 [INFO] Prompt token: 75
1704342397642,2024-01-04 04:26:37 [INFO] setup_api_key of model: gpt-3.5
1704342397676,2024-01-04 04:26:37 [INFO] count_all_active_key: 1804
1704342397676,"2024-01-04 04:26:37 [INFO] 10.0.12.19:38298 - ""GET /api/v1/me HTTP/1.1"" 403"
1704342397678,"2024-01-04 04:26:37 [INFO] 10.0.11.220:46088 - ""POST /api/v1/public/translate-text-stream HTTP/1.1"" 200"
1704342397679,2024-01-04 04:26:37 [INFO] Using open ai key: ********************Ip7eOsPYWrIfEGF0aILBa8AyB
1704342397679,2024-01-04 04:26:37 [INFO] retry_count 1
1704342397679,"2024-01-04 04:26:37 [INFO] [{'role': 'system', 'content': 'We will be using variables represented with double square brackets.'}, {'role': 'user', 'content': '[[original_text]]:`Hello`. Translate to japanese
. Grammatically correct, never break words. Remove quotation marks at the beginning and end of the result, return only translated text, do not include [[original_text]], preserve line break.
japanese text:'}]"
1704342397679,2024-01-04 04:26:37 [INFO] openai.organization ChatCompletion
1704342397679,2024-01-04 04:26:37 [INFO] None
1704342398192,2024-01-04 04:26:38 [INFO] setup_api_key of model: gpt-3.5
1704342398223,2024-01-04 04:26:38 [INFO] count_all_active_key: 1804
1704342398224,2024-01-04 04:26:38 [INFO] Total used tokens: 78
1704342398224,2024-01-04 04:26:38 [INFO] Result: こんにちは
1704342398253,2024-01-04 04:26:38 [INFO] setup_api_key of model: gpt-3.5
1704342398308,2024-01-04 04:26:38 [INFO] count_all_active_key: 1804
1704342398309,2024-01-04 04:26:38 [INFO] Total used tokens: 208
1704342398309,2024-01-04 04:26:38 [INFO] Result: ❤❤❤ MENU AND DIET AT MON FROM 18/12 - 23/12 SPECIALIZING IN VEGETABLES
1704342398309,❤ Parents are invited to see Mon's children's meals during the past week.
1704342398324,"2024-01-04 04:26:38 [INFO] 10.0.12.19:58260 - ""POST /api/v1/refresh-token HTTP/1.1"" 200"
1704342398408,"2024-01-04 04:26:38 [INFO] 10.0.12.19:58260 - ""GET /api/v1/me HTTP/1.1"" 200"
1704342398413,"2024-01-04 04:26:38 [INFO] 10.0.12.19:38294 - ""GET /api/v1/histories?filter_by=translate-document&items_per_page=10&page=1 HTTP/1.1"" 200"
1704342398472,"2024-01-04 04:26:38 [INFO] 10.0.12.19:58260 - ""GET /api/v1/me HTTP/1.1"" 200"
1704342398530,"2024-01-04 04:26:38 [INFO] 10.0.12.19:58260 - ""GET /api/v1/histories?filter_by=translate-document&items_per_page=10&page=1 HTTP/1.1"" 200"
1704342403265,"2024-01-04 04:26:43 [INFO] 10.0.11.220:8770 - ""OPTIONS /api/v1/signup HTTP/1.1"" 200"
1704342403347,2024-01-04 04:26:43 [INFO] Create user email gazijivani304@gmail.com
1704342403353,2024-01-04 04:26:43 [WARNING] (trapped) error reading bcrypt version
1704342403353,Traceback (most recent call last):
1704342403353," File ""/usr/local/lib/python3.11/site-packages/passlib/handlers/bcrypt.py"", line 620, in _load_backend_mixin"
1704342403353, version = _bcrypt.__about__.__version__
1704342403353, ^^^^^^^^^^^^^^^^^
1704342403353,AttributeError: module 'bcrypt' has no attribute '__about__'
1704342403936,"2024-01-04 04:26:43 [INFO] {'_sa_instance_state': <sqlalchemy.orm.state.InstanceState object at 0x7fa4916c0ef0>, 'uuid': '76c78cd6-aab9-11ee-bac5-0a58a9feac02', 'id': 4914, 'email': 'gazijivani304@gmail.com', 'hashed_password': '$2b$12$ps3zCjV7GIAcSUEWvr873eXX8GrV0Xcj189SEVF9qXhmI8N7b4hOS', 'is_active': False, 'status': 1, 'updated_at': datetime.datetime(2024, 1, 4, 4, 26, 43), 'full_name': 'Gazi Jivani', 'is_superuser': False, 'created_at': datetime.datetime(2024, 1, 4, 4, 26, 43)}"
1704342403995,2024-01-04 04:26:43 [INFO] ImdhemlqaXZhbmkzMDRAZ21haWwuY29tIg.ZZYzgw._sM9YuBX0doj22HbVaDztJ_f3uM
1704342403995,2024-01-04 04:26:43 [INFO] Send account activation email
1704342404302,"2024-01-04 04:26:44 [INFO] 10.0.12.19:27500 - ""GET /api/v1/me HTTP/1.1"" 200"
1704342404438,2024-01-04 04:26:44 [INFO] Message 1d6f383a-88ae-4b1e-a87a-e23d21acff3f sent to queue: https://sqs.ap-southeast-1.amazonaws.com/449813343309/cdk-translate-gpt-prod-send-email-queue
1704342404440,"2024-01-04 04:26:44 [INFO] 10.0.11.220:8770 - ""POST /api/v1/signup HTTP/1.1"" 200"
1704342409752,"2024-01-04 04:26:49 [INFO] 10.0.11.220:61218 - ""GET /api/v1/me HTTP/1.1"" 200"
1704342410730,"2024-01-04 04:26:50 [INFO] 10.0.12.19:4038 - ""OPTIONS /api/v1/translate-text-stream HTTP/1.1"" 200"
1704342410750,"2024-01-04 04:26:50 [INFO] 10.0.12.19:4040 - ""GET /api/v1/me HTTP/1.1"" 200"
1704342410776,2024-01-04 04:26:50 [INFO] Translate_req: gpt_version='gpt-3.5' origin_lang='vietnamese' target_lang='english' domain='' tone='' writing_style='' trans_input='Bảng tra tính chất vật lý của kim loại ở 239K' custom_prompt=''
1704342410776,2024-01-04 04:26:50 [INFO] input_text_tokens: 21
1704342410786,2024-01-04 04:26:50 [INFO] Prompt token: 94
1704342410786,2024-01-04 04:26:50 [INFO] translate_model: gpt-3.5-turbo
1704342410802,2024-01-04 04:26:50 [INFO] Start translation using model: gpt-3.5-turbo
1704342410802,2024-01-04 04:26:50 [INFO] setup_api_key of model: gpt-3.5
1704342410835,2024-01-04 04:26:50 [INFO] count_all_active_key: 1804
1704342410836,"2024-01-04 04:26:50 [INFO] 10.0.12.19:4038 - ""POST /api/v1/translate-text-stream HTTP/1.1"" 200"
1704342410836,2024-01-04 04:26:50 [INFO] Using open ai key: ********************7zQ5QMBRLaX0JqnHz7eWFaoPc
1704342410836,2024-01-04 04:26:50 [INFO] retry_count 1
1704342410836,"2024-01-04 04:26:50 [INFO] [{'role': 'system', 'content': 'We will be using variables represented with double square brackets.'}, {'role': 'user', 'content': '[[original_text]]:`Bảng tra tính chất vật lý của kim loại ở 239K`. Translate to english
. Grammatically correct, never break words. Remove quotation marks at the beginning and end of the result, return only translated text, do not include [[original_text]], preserve line break.
english text:'}]"
1704342410836,2024-01-04 04:26:50 [INFO] openai.organization ChatCompletion
1704342410836,2024-01-04 04:26:50 [INFO] None
1704342411538,2024-01-04 04:26:51 [INFO] setup_api_key of model: gpt-3.5
1704342411563,2024-01-04 04:26:51 [INFO] count_all_active_key: 1804
1704342411563,2024-01-04 04:26:51 [INFO] Total used tokens: 107
1704342411563,2024-01-04 04:26:51 [INFO] Result: Table of physical properties of metal at 239K.
1704342411582,2024-01-04 04:26:51 [INFO] Deduct user's tokens: 107
1704342411636,2024-01-04 04:26:51 [INFO] Update user's tokens completed:
1704342416063,2024-01-04 04:26:56 [INFO] Translate_req: gpt_version='gpt-3.5' origin_lang='japanese' target_lang='english' domain='' tone='' writing_style='' trans_input='こんにちは' custom_prompt=''
1704342416064,2024-01-04 04:26:56 [INFO] lengthy_flag False
1704342416066,2024-01-04 04:26:56 [INFO] Prompt token: 74
1704342416088,2024-01-04 04:26:56 [INFO] setup_api_key of model: gpt-3.5
1704342416121,2024-01-04 04:26:56 [INFO] count_all_active_key: 1804
1704342416122,"2024-01-04 04:26:56 [INFO] 10.0.11.220:61226 - ""POST /api/v1/public/translate-text-stream HTTP/1.1"" 200"
1704342416123,2024-01-04 04:26:56 [INFO] Using open ai key: ********************73Rvv8DEo0y7owifLsAoIQb9n
1704342416123,2024-01-04 04:26:56 [INFO] retry_count 1
1704342416123,"2024-01-04 04:26:56 [INFO] [{'role': 'system', 'content': 'We will be using variables represented with double square brackets.'}, {'role': 'user', 'content': '[[original_text]]:`こんにちは`. Translate to english
. Grammatically correct, never break words. Remove quotation marks at the beginning and end of the result, return only translated text, do not include [[original_text]], preserve line break.
english text:'}]"
1704342416123,2024-01-04 04:26:56 [INFO] openai.organization ChatCompletion
1704342416123,2024-01-04 04:26:56 [INFO] None
1704342416578,2024-01-04 04:26:56 [INFO] setup_api_key of model: gpt-3.5
1704342416608,2024-01-04 04:26:56 [INFO] count_all_active_key: 1804
1704342416610,2024-01-04 04:26:56 [INFO] Total used tokens: 78
1704342416610,2024-01-04 04:26:56 [INFO] Result: Hello.
1704342416639,2024-01-04 04:26:56 [ERROR] Traceback (most recent call last):
1704342416639," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 35, in get_db"
1704342416639, yield db
1704342416639,fastapi.exceptions.HTTPException
1704342416639,Traceback (most recent call last):
1704342416639," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 35, in get_db"
1704342416639, yield db
1704342416639,fastapi.exceptions.HTTPException
1704342416639,2024-01-04 04:26:56 [ERROR]
1704342416639,Traceback (most recent call last):
1704342416639," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 35, in get_db"
1704342416639, yield db
1704342416639,fastapi.exceptions.HTTPException
1704342416640,"2024-01-04 04:26:56 [INFO] 10.0.11.220:61236 - ""GET /api/v1/me HTTP/1.1"" 401"
1704342426480,"2024-01-04 04:27:06 [INFO] 10.0.12.19:27080 - ""OPTIONS /api/v1/translate-text-stream HTTP/1.1"" 200"
1704342426480,"2024-01-04 04:27:06 [INFO] 10.0.12.19:27086 - ""OPTIONS /api/v1/me HTTP/1.1"" 200"
1704342426528,2024-01-04 04:27:06 [ERROR] Traceback (most recent call last):
1704342426528," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 70, in get_current_user"
1704342426528, payload = jwt.decode(
1704342426528, ^^^^^^^^^^^
1704342426528," File ""/usr/local/lib/python3.11/site-packages/jose/jwt.py"", line 157, in decode"
1704342426528, _validate_claims(
1704342426528," File ""/usr/local/lib/python3.11/site-packages/jose/jwt.py"", line 481, in _validate_claims"
1704342426528," _validate_exp(claims, leeway=leeway)"
1704342426528," File ""/usr/local/lib/python3.11/site-packages/jose/jwt.py"", line 314, in _validate_exp"
1704342426528," raise ExpiredSignatureError(""Signature has expired."")"
1704342426528,jose.exceptions.ExpiredSignatureError: Signature has expired.
1704342426528,"During handling of the above exception, another exception occurred:"
1704342426528,Traceback (most recent call last):
1704342426528," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 35, in get_db"
1704342426528, yield db
1704342426528,fastapi.exceptions.HTTPException
1704342426528,Traceback (most recent call last):
1704342426528," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 70, in get_current_user"
1704342426528, payload = jwt.decode(
1704342426528, ^^^^^^^^^^^
1704342426528," File ""/usr/local/lib/python3.11/site-packages/jose/jwt.py"", line 157, in decode"
1704342426528, _validate_claims(
1704342426528," File ""/usr/local/lib/python3.11/site-packages/jose/jwt.py"", line 481, in _validate_claims"
1704342426528," _validate_exp(claims, leeway=leeway)"
1704342426528," File ""/usr/local/lib/python3.11/site-packages/jose/jwt.py"", line 314, in _validate_exp"
1704342426528," raise ExpiredSignatureError(""Signature has expired."")"
1704342426528,jose.exceptions.ExpiredSignatureError: Signature has expired.
1704342426528,"During handling of the above exception, another exception occurred:"
1704342426528,Traceback (most recent call last):
1704342426528," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 35, in get_db"
1704342426528, yield db
1704342426528,fastapi.exceptions.HTTPException
1704342426528,2024-01-04 04:27:06 [ERROR] Traceback (most recent call last):
1704342426528," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 70, in get_current_user"
1704342426528, payload = jwt.decode(
1704342426528, ^^^^^^^^^^^
1704342426528," File ""/usr/local/lib/python3.11/site-packages/jose/jwt.py"", line 157, in decode"
1704342426528, _validate_claims(
1704342426528," File ""/usr/local/lib/python3.11/site-packages/jose/jwt.py"", line 481, in _validate_claims"
1704342426528," _validate_exp(claims, leeway=leeway)"
1704342426528," File ""/usr/local/lib/python3.11/site-packages/jose/jwt.py"", line 314, in _validate_exp"
1704342426528," raise ExpiredSignatureError(""Signature has expired."")"
1704342426528,jose.exceptions.ExpiredSignatureError: Signature has expired.
1704342426528,"During handling of the above exception, another exception occurred:"
1704342426528,Traceback (most recent call last):
1704342426528," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 35, in get_db"
1704342426528, yield db
1704342426528,fastapi.exceptions.HTTPException
1704342426528,Traceback (most recent call last):
1704342426528," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 70, in get_current_user"
1704342426528, payload = jwt.decode(
1704342426528, ^^^^^^^^^^^
1704342426528," File ""/usr/local/lib/python3.11/site-packages/jose/jwt.py"", line 157, in decode"
1704342426528, _validate_claims(
1704342426528," File ""/usr/local/lib/python3.11/site-packages/jose/jwt.py"", line 481, in _validate_claims"
1704342426528," _validate_exp(claims, leeway=leeway)"
1704342426528," File ""/usr/local/lib/python3.11/site-packages/jose/jwt.py"", line 314, in _validate_exp"
1704342426528," raise ExpiredSignatureError(""Signature has expired."")"
1704342426528,jose.exceptions.ExpiredSignatureError: Signature has expired.
1704342426528,"During handling of the above exception, another exception occurred:"
1704342426528,Traceback (most recent call last):
1704342426528," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 35, in get_db"
1704342426528, yield db
1704342426528,fastapi.exceptions.HTTPException
1704342426529,2024-01-04 04:27:06 [ERROR]
1704342426529,Traceback (most recent call last):
1704342426529," File ""/app/app/translate_gpt_back_common/core/deps.py"", line 70, in get_current_user"
1704342426529, payload = jwt.decode(
1704342426529, ^^^^^^^^^^^
1704342426529," File ""/usr/local/lib/python3.11/site-packages/jose/jwt.py"", line 157, in decode"
1704342426529, _validate_claims(
1704342426529," File ""/usr/local/lib/python3.11/site-packages/jose/jwt.py"", line 481, in _validate_claims"
1704342426529," _validate_exp(claims, leeway=leeway)"
1704342426529," File ""/usr/local/lib/python3.11/site-packages/jose/jwt.py"", line 314, in _validate_exp"
1704342426529," raise ExpiredSignatureError(""Signature has expired."")"
1704342426529,jose.exceptions.ExpiredSignatureError: Signature has expired.
1704342426529,"During handling of the above exception, another exception occurred:"
1704342426529,Traceback (most recent call last):
    (1-1/1)