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

Getting Connection Failed Error on Android build via Unity #2612

Open
cjaligaga opened this issue Oct 1, 2024 · 2 comments
Open

Getting Connection Failed Error on Android build via Unity #2612

cjaligaga opened this issue Oct 1, 2024 · 2 comments

Comments

@cjaligaga
Copy link

cjaligaga commented Oct 1, 2024

I 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.

logFile.txt

  • 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 sample project in the 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:

  1. 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#

Screenshot_20241001-214641_SpeechToText

Copy link

This item has been open without activity for 19 days. Provide a comment on status and remove "update needed" label.

@github-actions github-actions bot added the update needed For items that are in progress but have not been updated label Oct 21, 2024
@cjaligaga
Copy link
Author

cjaligaga commented Oct 21, 2024

I am still getting the same error

@github-actions github-actions bot removed the update needed For items that are in progress but have not been updated label Oct 22, 2024
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