Open underthesand opened 2 months ago
Maybe similar issue. I have a similar setup with wsl + docker. The page return "ERR_EMPTY_RESPONSE". I can get the correct content if I curl localhost:7860 inside the container. I tried start a simple python web server inside the container which works fine.
Found the solution to my issue. https://github.com/JarodMica/ai-voice-cloning/blob/master/src/main.py#L34, the default value for server name is none. But it requires 0.0.0.0 to be accessed remotely. In this case, access out of the container seems treated as remote. Hard coded the server name as 0.0.0.0 fixed the problem.
Sadly, that didn't work for me...Can you write the exact line you wrote so I'm sure to be doing the same thing?
EDIT : nevermind, it did work, you just have to remember to re run "setup-docker.sh" after changing the main.py script :) thank you friend!!!!
Found the solution to my issue. https://github.com/JarodMica/ai-voice-cloning/blob/master/src/main.py#L34, the default value for server name is none. But it requires 0.0.0.0 to be accessed remotely. In this case, access out of the container seems treated as remote. Hard coded the server name as 0.0.0.0 fixed the problem.
Thank you for your comments! for me this worked fine: change from server_name=args.listen_host to server_name="0.0.0.0", then a rebuild with setup-docker.sh and the browser has access to the url.
i have same issue as above though editing the main.py file at #L34, did not fix the issue itself still produces when using the link in any browser i get this error on the web page, The connection was reset
The connection to the server was reset while the page was loading.
The site could be temporarily unavailable or too busy. Try again in a few moments.
If you are unable to load any pages, check your computer’s network connection.
I was able to get the hello world docker test to work before i fully set up ai-voice-cloning to this point i am using garuda linux docker package
Hello fresh install ubuntu + docker
script setup work fine but after start script http://127.0.0.1:7860/ can’t be reached
work with shared=True