Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

这个是离线方案还是在线方案的? #4

Open
bugensui2022 opened this issue Nov 16, 2024 · 0 comments
Open

这个是离线方案还是在线方案的? #4

bugensui2022 opened this issue Nov 16, 2024 · 0 comments

Comments

@bugensui2022
Copy link

docker部署成功后,能用一会,但是第二天就不行了。不知道是哪里的问题,我也没有修改过什么东西。yarn run v1.22.19
$ node dist/index.js
Server is running on port 8080
Traceback (most recent call last):
File "/usr/bin/edge-tts", line 8, in
sys.exit(main())
^^^^^^
File "/usr/lib/python3.11/site-packages/edge_tts/util.py", line 138, in main
loop.run_until_complete(amain())
File "/usr/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/edge_tts/util.py", line 131, in amain
await _run_tts(args)
File "/usr/lib/python3.11/site-packages/edge_tts/util.py", line 65, in _run_tts
async for chunk in tts.stream():
File "/usr/lib/python3.11/site-packages/edge_tts/communicate.py", line 388, in stream
async with aiohttp.ClientSession(
File "/usr/lib/python3.11/site-packages/aiohttp/client.py", line 1194, in aenter
self._resp = await self._coro
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/aiohttp/client.py", line 848, 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=46a75023550f46488fc289eee3af7bc7')
yarn run v1.22.19
$ node dist/index.js
Server is running on port 8080
Traceback (most recent call last):
File "/usr/bin/edge-tts", line 8, in
sys.exit(main())
^^^^^^
File "/usr/lib/python3.11/site-packages/edge_tts/util.py", line 138, in main
loop.run_until_complete(amain())
File "/usr/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/edge_tts/util.py", line 131, in amain
await _run_tts(args)
File "/usr/lib/python3.11/site-packages/edge_tts/util.py", line 65, in _run_tts
async for chunk in tts.stream():
File "/usr/lib/python3.11/site-packages/edge_tts/communicate.py", line 388, in stream
async with aiohttp.ClientSession(
File "/usr/lib/python3.11/site-packages/aiohttp/client.py", line 1194, in aenter
self._resp = await self._coro
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/aiohttp/client.py", line 848, 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=971b685595a448a2b45ebb19fce8b2eb')
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant