-
I am trying to use google-cloud-cpp speech to text apis. I am able to run sample codes using as a standalone application by building a shared object(.so) file have google stt code and calling same functions through an executable. UNAVAILABLE: Error in non-idempotent operation Recognize: failed to connect to all addresses; last error: UNKNOWN: Network is unreachable System information : I am using a gcp server with Ubuntu 18.04.6 LTS. Built a sample app and unimrcp application using Makefiles. There should not be any network issues as I am to reach apis through another executable. Moreover, I am using another set of plugin with my Unimrcp service for azure stt, which works fine. I have also captured data packets using wireshark, a snapshot of that is attached. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 18 replies
-
Do you know what version you are using? Likewise for gRPC, protobuf, Abseil, and OpenSSL?
Is it possible to run this code with the following environment variables? That will add some logging that may help:
I am not sure what is your API server. Nor what request you are referring to. But I take it that this is an indication that the TTS request failed.
When you use |
Beta Was this translation helpful? Give feedback.
-
Thanks for your response @coryan !! Infact below is the working link we are using for microsoft stt and have plans to add google stt to it. https://github.com/mradmila/unimrcp/tree/master/plugins/ms-recog
I am attaching my Makfile.am which I have used to build by cpp code.
my bad.
I was able to print the environment variables value from code, not sure if this can still be a problem.
No, simple service or executable
very high probability
ldd gsrecog.so.0 |
Beta Was this translation helpful? Give feedback.
Thanks for your response @coryan !!
Infact below is the working link we are using for microsoft stt and have plans to add google stt to it.
https://github.com/mradmila/unimrcp/tree/master/plugins/ms-recog
I am attaching my Makfile.am which I have used to build by cpp code.
Make-gcp-recog.txt
my bad.
I was able to print the environment…