Comments (9)
more detail msg:
WebSocket upgrade failed: Unspecified connection error (200). USP state: 2. Received audio size: 0 bytes.
from aspeak.
It seems that Microsoft has deliberately done some changes to prevent 3rd party tools(such as aspeak) using their trial service.
from aspeak.
I guess these two cookies are the main reason that prevents aspeak from functioning, but I will double check it later.
If this is the case. The fix won't be easy because we need to reimplement most of azure-cognitiveservices-speech
and remove it from requirements.txt
.
from aspeak.
I decided to end this mouse & cat game and thus drop support for the trial service. I do not have enough time to fight against Microsoft. I'm just an undergraduate with tons of course works to do and lots of deadlines to catch. (And I have another PR to work on: jobisoft/CategoryManager#86)
However, I'm willing to accept PRs that re-enable the token-free trial service.
You need an azure subscription to continue to use the next major version of aspeak.
A free azure subscription(credit card needed) provides you 5 audio hours free per month, which is enough for daily usage. You can also choose a nearby region to lower latency, which is not possible in the trial service.
Unfortunately, azure didn't accept my prepaid card, which means I do not have a subscription for testing purpose.
from aspeak.
Although have some regrets, I still appreciate what you have done before. I'm also trying to use Python selenium to solve this problem temporarily.
Good luck.
from aspeak.
Can anyone else fix up the code?
from aspeak.
Can anyone else fix up the code?
This won't be an easy fix.
I have already fixed the voice listing function(aspeak -L
): 127a7a4
To fix other things, you need to attach header Origin: https://azure.microsoft.com
to the websocket connection. But that is controlled by Microsoft propriety native code.
from aspeak.
https://azure.microsoft.com/zh-cn/products/cognitive-services/speech-translation/
This address can obtain the token as before
from aspeak.
Fixed in v3.1.0.
from aspeak.
Related Issues (20)
- Add an CLI arg to disable colored output HOT 1
- Add `audio` feature for crate HOT 2
- the free version may refer to this page:https://speech.microsoft.com/audiocontentcreation HOT 2
- Better error handling HOT 1
- Pass key/auth token via environment variable HOT 1
- Add support get voice list in lib HOT 1
- Question #19017 HOT 1
- No examples on v5.2.0 HOT 3
- Provide REST Mode HOT 3
- feat: batch processing API HOT 2
- tokio-tungstenite-0.19.0.crate: 4 vulnerabilities (highest severity is: 9.1) - autoclosed HOT 1
- reqwest-0.11.18.crate: 1 vulnerabilities (highest severity is: 5.5) - autoclosed HOT 1
- Python Binding: provide .pyi file
- colored-2.0.0.crate: 1 vulnerabilities (highest severity is: 9.8) - autoclosed HOT 1
- aspeak does not support python3.9 or above HOT 1
- Publish python wheels for apple silicon Macs HOT 1
- tokio-tungstenite-0.20.1.crate: 1 vulnerabilities (highest severity is: 7.5) - autoclosed HOT 1
- 400 error HOT 3
- tokio-tungstenite-0.21.0.crate: 2 vulnerabilities (highest severity is: 7.5)
- ws synthesizer Error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aspeak.