Closed Norgus closed 1 week ago
hi, do you still want to see the env file? I got an email notification of your message, but can't see it on github, so maybe you deleted the response?
On Wed, 28 Aug 2024, 03:00 Yu Sheng, @.***> wrote:
Can you share your .env file? Its strange that you are trying to transcribe in port 8000
— Reply to this email directly, view it on GitHub https://github.com/pluja/whishper/issues/116#issuecomment-2313939461, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA7XGC4Z24K6JHCANMQT4TZTUVKLAVCNFSM6AAAAABMPBIOYKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJTHEZTSNBWGE . You are receiving this because you authored the thread.Message ID: @.***>
hi, do you still want to see the env file? I got an email notification of your message, but can't see it on github, so maybe you deleted the response? … On Wed, 28 Aug 2024, 03:00 Yu Sheng, @.> wrote: Can you share your .env file? Its strange that you are trying to transcribe in port 8000 — Reply to this email directly, view it on GitHub <#116 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA7XGC4Z24K6JHCANMQT4TZTUVKLAVCNFSM6AAAAABMPBIOYKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJTHEZTSNBWGE . You are receiving this because you authored the thread.Message ID: @.>
My bad, my comment was wrong so i deleted it.
Potential fix for you issue:
Stop your containers, delete the whishper_data folder, and run this command:
sudo mkdir -p ./whishper_data/libretranslate/{data,cache}
sudo chown -R 1032:1032 whishper_data/libretranslate
I gave it a go, restarted the PC after to be sure, but I still get a transcription error when I try to test it. Here's all the new logs.
$ cat whishper_data/logs/* (base)
File: whishper_data/logs/backend.err.log
7:26AM INF Starting monitor!
7:26AM ERR Error sending transcription request [0m36merror="Post \"http://127.0.0.1:8000/transcribe?model_size=small&task=transcribe&language=auto&device=cuda\": dial tcp 127.0.0.1:8000: connect: connection refused"
7:26AM ERR Error transcribing [0m36merror="Post \"http://127.0.0.1:8000/transcribe?model_size=small&task=transcribe&language=auto&device=cuda\": dial tcp 127.0.0.1:8000: connect: connection refused"
7:28AM ERR Error sending transcription request [0m36merror="Post \"http://127.0.0.1:8000/transcribe?model_size=large-v2&task=transcribe&language=auto&device=cuda\": dial tcp 127.0.0.1:8000: connect: connection refused"
7:28AM ERR Error transcribing [0m36merror="Post \"http://127.0.0.1:8000/transcribe?model_size=large-v2&task=transcribe&language=auto&device=cuda\": dial tcp 127.0.0.1:8000: connect: connection refused"
File: whishper_data/logs/backend.out.log
┌───────────────────────────────────────────────────┐
│ Fiber v2.50.0 │
│ http://127.0.0.1:8080 │
│ (bound on host 0.0.0.0 and port 8080) │
│ │
│ Handlers ............ 13 Processes ........... 1 │
│ Prefork ....... Disabled PID ................. 7 │
└───────────────────────────────────────────────────┘
File: whishper_data/logs/frontend.err.log <EMPTY>
File: whishper_data/logs/frontend.out.log
Listening on 0.0.0.0:3000
File: whishper_data/logs/nginx.err.log <EMPTY>
File: whishper_data/logs/nginx.out.log <EMPTY>
File: whishper_data/logs/transcription.err.log
An error occured while synchronizing the model Systran/faster-whisper-tiny from the Hugging Face Hub:
Cannot find an appropriate cached snapshot folder for the specified revision on the local disk and outgoing traffic has been disabled. To enable repo look-ups and downloads online, pass 'local_files_only=False' as input.
Trying to load the model directly from the local cache, if it exists.
File: whishper_data/logs/transcription.out.log <EMPTY>
FWIW, my browser console gives a regular error about parsing JSON from http://localhost:8082/languages - but when I test this URL, I get a 502 Bad Gateway nginx error page.
I'm afraid the yt-dl stuff is not working. I can transcribe downloaded videos by choose file, but whenever I pastw a yt link I'm ending up with the error "
"Error transcribing [...] dial tcp 127.0.0.1:8000: connect: connection refused"
I guess you need to download the libretranslate languagepacks. That solved my issue. Also i see you are using port 8000. Unless it is customized in the .env file it should be port 8082. If that doesn't help you can try giving the configuration the same ip as your PC that helps sometimes http://127.0.0.1:8082 should however do the trick
I don't understand why my browser console log has the error about port 8000, as I did not customise the config and indeed, access the page itself successfully on port 8082.
I think I'll close the issue, since it doesn't seem to be helping get to the bottom of anything and is attracting unrelated responses.
@1977Mario I did not change anything in the env file or ports. It worked before. I have the feeling since my docker pulled images new that it seems it doesn't work anymore with the YT DL. The "libretranslate languagepacks" are downloaded. With uploading files, it works w/o any issues. I will take a look in details and see what I can find.
Description
Cannot transcribe with very vanilla install, all default settings (127.0.0.1 / localhost, port 8082 etc)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The audio to get fed through a whisper model and be transcribed.
Environment
Logs and Configuration
Docker Compose Logs
Docker Compose File
whishper_data/logs/backend.err.log
ends in:
FWIW my computer doesn't report any process listening on tcp 8000