[Bug]: Could not reach translate service
Kolyada opened this issue · 0 comments
Kolyada commented
Issue
Trying to make batch translate via docker
and always fail via deepl translate
Command Line Arguments
docker run --ipc=host --rm -v /home/translate/result/1/images/:/app/images -v /home/translate/result/1/images-translated/:/app/images-translated -v /home/translate/fonts/:/app/fonts -v /home/translate/models/:/app/models --env-file=/home/translate/.env zyddnys/manga-image-translator:main --mode=batch --input=/app/images --target-lang=RUS --translator=deepl
Console logs
[DeeplTranslator] Translating into Russian
ERROR: [batch] ConnectionException: Connection failed: HTTPSConnectionPool(host='api.deepl.com', port=443): Max retries exceeded with url: /v2/translate (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f636f523190>, 'Connection to api.deepl.com timed out. (connect timeout=10.760850429534912)'))