collabora / WhisperFusion

WhisperFusion builds upon the capabilities of WhisperLive and WhisperSpeech to provide a seamless conversations with an AI.
1.45k stars 101 forks source link

Cannot capture to audio capture endpoint (113: No route to host) #44

Open Baquara opened 4 months ago

Baquara commented 4 months ago

Greetings.

I followed the exact instructions for the 3090 image.

However, I am getting these problems when I open the browser and try to start audio capturing:

nginx-1          | 172.18.0.1 - - [04/Mar/2024:15:04:19 +0000] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36" "-"
nginx-1          | 2024/03/04 15:04:22 [error] 9#9: *2 connect() failed (113: No route to host) while connecting to upstream, client: 172.18.0.1, server: _, request: "GET /audio HTTP/1.1", upstream: "http://172.18.0.2:8888/audio", host: "localhost:8000"
nginx-1          | 2024/03/04 15:04:22 [error] 10#10: *4 connect() failed (113: No route to host) while connecting to upstream, client: 172.18.0.1, server: _, request: "GET /transcription HTTP/1.1", upstream: "http://172.18.0.2:6006/transcription", host: "localhost:8000"
nginx-1          | 172.18.0.1 - - [04/Mar/2024:15:04:22 +0000] "GET /audio HTTP/1.1" 502 559 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36" "-"
nginx-1          | 172.18.0.1 - - [04/Mar/2024:15:04:22 +0000] "GET /transcription HTTP/1.1" 502 559 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36" "-"

Can anyone help?

makaveli10 commented 4 months ago

Hello @Baquara, do you mind sharing the complete logs from the docker-compose up phase? I suspect that models have not built/loaded which cause the issue.

The first time setup is on the slower side because of building tensorrt models for whisper and phi.