我正在尝试在以下位置获取 Microsoft Azure Speech To Text Java 快速入门: Java 快速入门按说明工作。
我还不能这样做。运行代码时,Eclipse 控制台上显示以下错误:
Say something...
CANCELED: Reason=Error
CANCELED: ErrorCode=ConnectionFailure
CANCELED: ErrorDetails=Connection failed (no connection to the remote host). Internal error: 1. Error details: 11002. Please check network connection, firewall setting, and the region name used to create speech factory. SessionId: 56caf94e5a9b4c499e5c78b5bd659dcf
CANCELED: Did you update the subscription info?
我已尝试在 Azure 控制台中为我的 Azure 语音资源重新生成SpeechSubscriptionKey 。我centralindia
用作serviceRegion。
- 我有免费试用订阅。
- JDK 版本:
1.8.0_231
适用于 64 位。 - 操作系统:微软视窗 10
- IDE:日食月神
我在使用代理服务器的网络中。我在将代理设置配置为后尝试:
System.setProperty("http.proxyHost", "<ProxyHost>");
System.setProperty("http.proxyPort", "<ProxyPort>");
还是不行。
PS:我有一个连接到系统的工作麦克风。