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

[speech to text] OnListenClosed(), state = Disconnected #542

Closed
mcarman8 opened this issue Mar 24, 2019 · 2 comments
Closed

[speech to text] OnListenClosed(), state = Disconnected #542

mcarman8 opened this issue Mar 24, 2019 · 2 comments

Comments

@mcarman8
Copy link

Overview
Getting OnListenClosed immediately upon creation with example scene and valid Credentials

Expected behavior
I expected the speech to text algorithm to continue.

Actual behavior
Immediately after starting the service, the service exits.

How to reproduce
Using Unity 2017.4.24f1 and unity-sdk version 2.15.4. Using Script runtime version 3.5 yields this error. Using Script runtime version 4.6 (listed as experimental on 2017.4) yields build error namespace name 'CertificateHandler' cannot be found, and ValidCertificate(byte[]) is marked as override but but no suitable method is found to override.

Screenshots
image
image

SDK Version
2.15.4

Additional information:

  • OS: Windows and Mac
@mcarman8
Copy link
Author

My bad, Apparently the Washington D.C. Node is not working, and creating a new key switching to Dallas fixed my problem, even though the Unity status page says everything is working.

@mediumTaj
Copy link
Contributor

Every region except for Dallas is on TLS 1.2. To use Speech to Text in the other regions you will need to change your build settings to use .NET 4.x equivalent (both Scripting Runtime Version and API Compatibility Level).

https://github.com/watson-developer-cloud/unity-sdk#configuring-unity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants