Why Am I Getting Connection Failed Error on Android build via Unity?
get an error message on Android build via Unity Connection failed (no connection to the remote host). Internal error: 1. Error details: Failed with error: WS_OPEN_ERROR_UNDERLYING_IO_OPEN_FAILED
- Speech SDK log taken from a run that exhibits the reported issue.
- A stripped down, simplified version of your source code that exhibits the issue. Or, preferably, try to reproduce the problem with one of the public samples in this repository (or a minimally modified version of it), and share the code.
I used the Microphone Unity sample project in the cognitive-services-speech-sdk repo.
- Additional information as shown below
I tested it in the Unity Editor and it worked fine, also worked fine on a windows build. I tested it on two different Android phones, and still got the negative results. I also used different regions, and still no luck.
Steps to reproduce the behavior:
- Build an Android version of the "Microphone" Unity sample on the repo.
Version of the Cognitive Services Speech SDK
I used Microsoft.CognitiveServices.Speech.1.40.0.unitypackage
Platform, Operating System, and Programming Language
- OS: Android 12
- Hardware - ARM,
- Programming language: C# get an error message on Android build via Unity
Connection failed (no connection to the remote host). Internal error: 1. Error details: Failed with error: WS_OPEN_ERROR_UNDERLYING_IO_OPEN_FAILED
- Speech SDK log taken from a run that exhibits the reported issue.
- A stripped down, simplified version of your source code that exhibits the issue. Or, preferably, try to reproduce the problem with one of the public samples in this repository (or a minimally modified version of it), and share the code.
- Additional information as shown below
Steps to reproduce the behavior:
- Build an Android version of the "Microphone" Unity sample on the repo.
Version of the Cognitive Services Speech SDK
Platform, Operating System, and Programming Language
- OS: Android 12 & 13
- Programming language: C#