You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception in thread Thread-2 (process_tts):
Traceback (most recent call last):
File "E:\metahuman-stream\venv\lib\threading.py", line 1016, in _bootstrap_inner
self.run()
File "E:\metahuman-stream\venv\lib\threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "E:\metahuman-stream\ttsreal.py", line 53, in process_tts
self.txt_to_audio(msg)
File "E:\metahuman-stream\ttsreal.py", line 66, in txt_to_audio
asyncio.new_event_loop().run_until_complete(self.__main(voicename,text))
File "E:\metahuman-stream\venv\lib\asyncio\base_events.py", line 649, in run_until_complete
return future.result()
File "E:\metahuman-stream\ttsreal.py", line 106, in __main
async for chunk in communicate.stream():
File "E:\metahuman-stream\venv\lib\site-packages\edge_tts\communicate.py", line 391, in stream
async with aiohttp.ClientSession(
File "E:\metahuman-stream\venv\lib\site-packages\aiohttp\client.py", line 1353, in aenter
self._resp = await self._coro
File "E:\metahuman-stream\venv\lib\site-packages\aiohttp\client.py", line 947, in _ws_connect
raise WSServerHandshakeError(
aiohttp.client_exceptions.WSServerHandshakeError: 403, message='Invalid response status', url='wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&ConnectionId=a948023e557544d3bba7da5b42f37259'
The text was updated successfully, but these errors were encountered:
Exception in thread Thread-2 (process_tts):
Traceback (most recent call last):
File "E:\metahuman-stream\venv\lib\threading.py", line 1016, in _bootstrap_inner
self.run()
File "E:\metahuman-stream\venv\lib\threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "E:\metahuman-stream\ttsreal.py", line 53, in process_tts
self.txt_to_audio(msg)
File "E:\metahuman-stream\ttsreal.py", line 66, in txt_to_audio
asyncio.new_event_loop().run_until_complete(self.__main(voicename,text))
File "E:\metahuman-stream\venv\lib\asyncio\base_events.py", line 649, in run_until_complete
return future.result()
File "E:\metahuman-stream\ttsreal.py", line 106, in __main
async for chunk in communicate.stream():
File "E:\metahuman-stream\venv\lib\site-packages\edge_tts\communicate.py", line 391, in stream
async with aiohttp.ClientSession(
File "E:\metahuman-stream\venv\lib\site-packages\aiohttp\client.py", line 1353, in aenter
self._resp = await self._coro
File "E:\metahuman-stream\venv\lib\site-packages\aiohttp\client.py", line 947, in _ws_connect
raise WSServerHandshakeError(
aiohttp.client_exceptions.WSServerHandshakeError: 403, message='Invalid response status', url='wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&ConnectionId=a948023e557544d3bba7da5b42f37259'
The text was updated successfully, but these errors were encountered: