INFO:__main__:Worker started. INFO:__main__:Parameters: Namespace(history_uuid='65dd895e-1c09-11ef-8bb1-beb72649bdc7', limit_vcpu=None, limit_ram=None) INFO:__main__:conversion_history INFO:__main__: INFO:__main__:current_user from db Mich Dam INFO:__main__:processing history: 65dd895e-1c09-11ef-8bb1-beb72649bdc7 INFO:__main__:current history type: tts-document INFO:__main__:current user_id: 39338 INFO:__main__:processing document: 65dd895e-1c09-11ef-8bb1-beb72649bdc7 INFO:__main__:Try to download and decrypt if needed for flare_uploaded/39338/20240527_091330_036700/Die digitale Bevormundung.epub INFO:app.tts_common.helpers.tts_history_helper:File downloaded successfully to: tmp/flare_uploaded/39338/20240527_091330_036700/Die digitale Bevormundung.epub INFO:app.tts_common.services.key_service:Init key service with priorities: [90, 91, 92, 93, 96, 97] INFO:Job: history 65dd895e-1c09-11ef-8bb1-beb72649bdc7:Convert TTS and send result START... INFO:Job: history 65dd895e-1c09-11ef-8bb1-beb72649bdc7:conversion_history_uuid 65dd895e-1c09-11ef-8bb1-beb72649bdc7 INFO:Job: history 65dd895e-1c09-11ef-8bb1-beb72649bdc7:input_file_path tmp/flare_uploaded/39338/20240527_091330_036700/Die digitale Bevormundung.epub INFO:Job: history 65dd895e-1c09-11ef-8bb1-beb72649bdc7:model_price_rate 1 INFO:Job: history 65dd895e-1c09-11ef-8bb1-beb72649bdc7:docs_extension epub INFO:Job: history 65dd895e-1c09-11ef-8bb1-beb72649bdc7:Processing document with status : CONVERTING INFO:Job: history 65dd895e-1c09-11ef-8bb1-beb72649bdc7:Processing document with voice type : SYSTEM_VOICE INFO:app.tts_common.services.key_service:Init key service with priorities: [90, 91, 92, 93, 96, 97] INFO:Job: history 65dd895e-1c09-11ef-8bb1-beb72649bdc7:START tts_document_extract_file_content ... 2024-05-27 09:13:48,742 [MainThread ] [INFO ] Retrieving file:////tika-server-standard-2.9.1.jar to /tmp/tika-server.jar. INFO:tika.tika:Retrieving file:////tika-server-standard-2.9.1.jar to /tmp/tika-server.jar. 2024-05-27 09:13:49,138 [MainThread ] [INFO ] Retrieving file:////tika-server-standard-2.9.1.jar.md5 to /tmp/tika-server.jar.md5. INFO:tika.tika:Retrieving file:////tika-server-standard-2.9.1.jar.md5 to /tmp/tika-server.jar.md5. 2024-05-27 09:13:49,397 [MainThread ] [WARNI] Failed to see startup log message; retrying... WARNING:tika.tika:Failed to see startup log message; retrying... 2024-05-27 09:13:50,402 [MainThread ] [WARNI] Failed to see startup log message; retrying... WARNING:tika.tika:Failed to see startup log message; retrying... 2024-05-27 09:13:51,403 [MainThread ] [WARNI] Failed to see startup log message; retrying... WARNING:tika.tika:Failed to see startup log message; retrying... 2024-05-27 09:13:52,406 [MainThread ] [WARNI] Failed to see startup log message; retrying... WARNING:tika.tika:Failed to see startup log message; retrying... 2024-05-27 09:13:53,407 [MainThread ] [WARNI] Failed to see startup log message; retrying... WARNING:tika.tika:Failed to see startup log message; retrying... 2024-05-27 09:13:54,408 [MainThread ] [WARNI] Failed to see startup log message; retrying... WARNING:tika.tika:Failed to see startup log message; retrying... 2024-05-27 09:13:55,408 [MainThread ] [WARNI] Failed to see startup log message; retrying... WARNING:tika.tika:Failed to see startup log message; retrying... INFO:app.tts_common.services.speech:Execution time of /app/app/tts_common/services/speech_tika.py.simple_extract_text_from_document: 8.569979 seconds INFO:app.tts_common.services.speech:Execution time of /app/app/tts_common/services/speech_tika.py.split_content_by_paragraphs: 0.024525 seconds INFO:Job: history 65dd895e-1c09-11ef-8bb1-beb72649bdc7:START check_and_create_new_worker ... INFO:Job: history 65dd895e-1c09-11ef-8bb1-beb72649bdc7:COUNT characters 363986... INFO:Job: history 65dd895e-1c09-11ef-8bb1-beb72649bdc7:{'history_uuid': '65dd895e-1c09-11ef-8bb1-beb72649bdc7', 'limit_vcpu': 4, 'limit_ram': 2911} INFO:Job: history 65dd895e-1c09-11ef-8bb1-beb72649bdc7:ttsopenai-batch-job-prod INFO:Job: history 65dd895e-1c09-11ef-8bb1-beb72649bdc7:Message kafka to create worker: ttsopenai-batch-job-prod INFO:Job: history 65dd895e-1c09-11ef-8bb1-beb72649bdc7:Exit job because content is large. New job created 8680: retry-tts-document-65dd895e-1c09-11ef-8bb1-beb72649bdc7 INFO:__main__:Recalculate user locked credit INFO:__main__:Convert and send result END Produced event to topic ttsopenai-batch-job-prod: value = {"history_uuid": "65dd895e-1c09-11ef-8bb1-beb72649bdc7", "limit_vcpu": 4, "limit_ram": 2911}