Comments (5)
Looks like you do not have your credentials configured:
https://cloud.google.com/docs/authentication/getting-started
Did you try using gcloud
first to verify the authentication works?
https://cloud.google.com/speech-to-text/docs/quickstart-gcloud
from cpp-samples.
Hi @coryan I have followed the above links. I have a service account with owner role. and I have set up the gcloud.
I can access the gcloud commands from the google-cloud-sdk directory.
But I am not sure why do I need this. It did not make any visual difference in the behaviour of my question. Did I do it right?
from cpp-samples.
The error message is what you get from gRPC when the credentials are not setup, it is very hidden, but it says:
{"created":"@1549373148.360135072","description":
"Failed to load file",
"file":"src/core/lib/iomgr/load_file.cc","file_line":71,
"filename":"/root/.config/gcloud/application_default_credentials.json",
That is, gRPC tried to open /root/.config/gcloud/application_default_credentials.json
and failed, and that file is where the application default credentials are usually stored for root
.
And only after writing that I noticed that you are doing a sudo make
. I suspect your account has credentials, but root
does not (and probably should not). You probably want to run make tests
without the sudo
.
from cpp-samples.
Ohh genius ! Yay that worked :)
from cpp-samples.
Glad to hear that, closing this bug.
from cpp-samples.
Related Issues (20)
- Ignore - Old Dependency Dashboard HOT 1
- [Policy Bot] found one or more issues with this repository.
- Dependency Dashboard
- Dependency Dashboard
- Running the examples - grpc error HOT 5
- Jwt.h on example HOT 2
- Trouble creating a Google Cloud Speech to Text Client using HOT 2
- run streaming_transcribe Error in windows HOT 8
- How to set speech language in streaming_transcribe HOT 5
- Google cloud speech library is static library HOT 1
- "Segmentation fault" error while running "streaming_transcribe_singlethread" on Linux Mint x64. HOT 5
- New HOT 1
- Action Required: Fix Renovate Configuration
- fix(pubsub_opentelemetry): segfault on publisher HOT 4
- [pubsub-otel] Add trace screenshots for zipkins
- [pubsub-otel] Add screenshots of the unary pull telemetery data HOT 1
- [pubsub-otel] Does not build at head HOT 1
- Add a distribute computing batch example
- Fix avro_read segfault HOT 1
- Cleanup vcpkg manifest for pubsub + OTel
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cpp-samples.