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

No syncRecognize response (DEADLINE_EXCEEDED) using Java speech client library #1772

Closed
henryjcee opened this issue Mar 20, 2017 · 5 comments
Assignees
Labels
api: speech Issues related to the Speech-to-Text API. dependencies

Comments

@henryjcee
Copy link

As Requested in https://groups.google.com/forum/#!msg/cloud-speech-discuss/ I'm opening a ticket on here.

Using both the sample and a bare Java 8/Spring/Tomcat 8 stack with Java speech client versions 0.8.0 / 0.9.4-alpha / 0.10.0-alpha I get no response when I make a syncRecognise request. The request future doesn't resolve until I eventually get a com.google.api.gax.grpc.ApiException: io.grpc.StatusRuntimeException: DEADLINE_EXCEEDED error.

I am authorising via service account and have tried using both the application default json creds and via the command line tools. Happy to fill in more details about my setup if needed.

@garrettjonesgoogle
Copy link
Member

This is likely to be the same general class of root cause as #1430 , which is that there is likely to be a problem loading netty-tcnative.

To be sure, you need to set your logging level to FINE to see if you see logs that say Unable to load the library: netty-tcnative-linux-x86_64.

@garrettjonesgoogle garrettjonesgoogle added the api: speech Issues related to the Speech-to-Text API. label Mar 22, 2017
@henryjcee
Copy link
Author

This is correct, moronic tcnative config error on my part. Thanks for your time and I'll report back to the groups convo.

@kilaka
Copy link

kilaka commented Mar 30, 2017

Happening to me as well with google-cloud-speech v0.8.1-alpha and v0.8.0 on tomcat v8.5.8 on Ubuntu 16.04 64bit.
Any idea how to fix it?

@garrettjonesgoogle
Copy link
Member

@kilaka Could you change your logging level to FINE as instructed above, and come back with what you see?

@garrettjonesgoogle garrettjonesgoogle changed the title No syncRecognize response using Java speech client library No syncRecognize response (DEADLINE_EXCEEDED) using Java speech client library Mar 30, 2017
@garrettjonesgoogle
Copy link
Member

I'm going to close out this issue because there has been no response. Feel free to reopen if there are more issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: speech Issues related to the Speech-to-Text API. dependencies
Projects
None yet
Development

No branches or pull requests

4 participants