#589 RuntimeError: HTTPConnectionPool(host='127.0.0.1', port=9233): Max retries exceeded with url: / (Caused by NewConnection

*100.11* Posted at: 3 hours ago 👁8

HTTPConnectionPool(host='127.0.0.1', port=9233): Max retries exceeded with url: / (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))CosyVoice:Traceback (most recent call last):

File "videotrans\util\ListenVoice.py", line 18, in run

File "videotrans\tts\__init__.py", line 462, in run

File "videotrans\tts\_base.py", line 142, in run

RuntimeError: HTTPConnectionPool(host='127.0.0.1', port=9233): Max retries exceeded with url: / (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))CosyVoice

=====

Windows-10-10.0.26100-SP0

version:v3.80

frozen:True

language:en

2 Replies

HTTPConnectionPool(host='127.0.0.1', port=9233): Max retries exceeded with url: / (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively re

Admin

First, deploy the cosyvoice project at https://github.com/FunAudioLLM/CosyVoice

Then open the project at https://github.com/jianchang512/cosyvoice-api.

This is the API file for CosyVoice2. After deploying the cosyVoice project, place the api.py file alongside the webui.py file and execute python api.py.

If using a third-party integration package, place the api.py file alongside the bat script. Then, locate the location of python.exe. In the address bar of the current folder containing the bat script, type cmd and press Enter, then execute directory/python.exe api.py.

If you receive a message stating module flask not found during execution, run python.exe -m pip install flask ​​to install it.

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Donate: https://ko-fi.com/jianchang512

Trending Questions