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
I have been using edge-tts successfully for quite some time via a powershell to generate audio files for use in a IVR system. Recently, this powershell began failing. I have tried egde-tts itself outside the powershell on two different systems and am receiving the same error on both system, any thoughts? I have updated to the 7.2.3 version of edge-tts with the same result.
Error:
edge-tts --text "This is a test" --voice en-US-AriaNeural --write-media test.mp3
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Python\Scripts\edge-tts.exe_main.py", line 7, in
File "C:\Python\Lib\site-packages\edge_tts\util.py", line 139, in main
loop.run_until_complete(amain())
File "C:\Python\Lib\asyncio\base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "C:\Python\Lib\site-packages\edge_tts\util.py", line 132, in amain
await _run_tts(args)
File "C:\Python\Lib\site-packages\edge_tts\util.py", line 66, in _run_tts
async for chunk in tts.stream():
File "C:\Python\Lib\site-packages\edge_tts\communicate.py", line 316, in stream
async with aiohttp.ClientSession(
File "C:\Python\Lib\site-packages\aiohttp\client.py", line 1141, in aenter
self._resp = await self._coro
^^^^^^^^^^^^^^^^
File "C:\Python\Lib\site-packages\aiohttp\client.py", line 795, in _ws_connect
raise WSServerHandshakeError(
aiohttp.client_exceptions.WSServerHandshakeError: 403, message='Invalid response status', url=URL('wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&ConnectionId=98ed29b7e3a74aadb934477491c7b8ac')
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Greetings,
I have been using edge-tts successfully for quite some time via a powershell to generate audio files for use in a IVR system. Recently, this powershell began failing. I have tried egde-tts itself outside the powershell on two different systems and am receiving the same error on both system, any thoughts? I have updated to the 7.2.3 version of edge-tts with the same result.
Error:
edge-tts --text "This is a test" --voice en-US-AriaNeural --write-media test.mp3
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Python\Scripts\edge-tts.exe_main.py", line 7, in
File "C:\Python\Lib\site-packages\edge_tts\util.py", line 139, in main
loop.run_until_complete(amain())
File "C:\Python\Lib\asyncio\base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "C:\Python\Lib\site-packages\edge_tts\util.py", line 132, in amain
await _run_tts(args)
File "C:\Python\Lib\site-packages\edge_tts\util.py", line 66, in _run_tts
async for chunk in tts.stream():
File "C:\Python\Lib\site-packages\edge_tts\communicate.py", line 316, in stream
async with aiohttp.ClientSession(
File "C:\Python\Lib\site-packages\aiohttp\client.py", line 1141, in aenter
self._resp = await self._coro
^^^^^^^^^^^^^^^^
File "C:\Python\Lib\site-packages\aiohttp\client.py", line 795, in _ws_connect
raise WSServerHandshakeError(
aiohttp.client_exceptions.WSServerHandshakeError: 403, message='Invalid response status', url=URL('wss://speech.platform.bing.com/consumer/speech/synthesize/readaloud/edge/v1?TrustedClientToken=6A5AA1D4EAFF4E9FB37E23D68491D6F4&ConnectionId=98ed29b7e3a74aadb934477491c7b8ac')
McD
Beta Was this translation helpful? Give feedback.
All reactions