Hello @YutongTie-MSFT ,
Uninstalling update KB5018410 worked!
Obviously this doesn't sound like a permanent solution, but I'm guessing the nuget package will need to be patched somehow?
Thanks,
Richard
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I've been using Speech Synthesis quite happily for several months, but on the 16th October it suddenly stopped working.
I have double checked my keys, and regenerated new ones, but the call to SpeakTextAsync (using the Microsoft.CognitiveServices.Speech nuget package) just eventually fails with a reason of Canceled.
Even a call to GetVoicesAsync results in an error, e.g.
Error in sending a http request. Details: Failed with error: HTTPAPI_OPEN_REQUEST_FAILED [0x3]
GET https://uksouth.tts.speech.microsoft.com/cognitiveservices/voices/list
X-ConnectionId: b9e1c706e75f443283b0e599caf69c12
Example code:
async Task Main()
{
var speechSettings = new SpeechSettings
{
Key = "<redacted>",
Region = "uksouth",
Voice = "en-US-JennyNeural"
};
var config = SpeechConfig.FromSubscription(speechSettings.Key, speechSettings.Region);
var synth = new SpeechSynthesizer(config);
synth.Properties.SetProperty(PropertyId.SpeechServiceConnection_SynthVoice, speechSettings.Voice);
await synth.SpeakTextAsync("Test sentence");
}
public class SpeechSettings
{
public string Key { get; set; } = default;
public string Region { get; set; } = default;
public string Voice { get; set; } = default;
}
Hello @YutongTie-MSFT ,
Uninstalling update KB5018410 worked!
Obviously this doesn't sound like a permanent solution, but I'm guessing the nuget package will need to be patched somehow?
Thanks,
Richard
Hello @YutongTie-MSFT ,
I'm running Windows 10 - Version 21H2 (OS Build 19044.2130)
The following updates were recently installed:
I suspect given the timing (they were installed on the 16th) that could well be one of these two!
My Azure cost analysis graph shows usage on the 16th but nothing on the 17th.
I'll see if I can uninstall those updates and try again.
Thanks,
Richard