Emailservice is failing on a non-GKE cluster
See original GitHub issueIs there a way to disable the use of GOOGLE_APPLICATION_CREDENTIALS so that the app can be deployed in a non-GKE cluster? Thanks.
{"timestamp": 1585492106.3320029, "severity": "INFO", "name": "emailservice-server", "message": "starting the email service in dummy mode."}
{"timestamp": 1585492106.3322504, "severity": "INFO", "name": "emailservice-server", "message": "Profiler disabled."}
{"timestamp": 1585492106.3323855, "severity": "INFO", "name": "emailservice-server", "message": "Tracing enabled."}
Traceback (most recent call last):
File "email_server.py", line 190, in <module>
transport=AsyncTransport)
File "/usr/local/lib/python3.7/site-packages/opencensus/trace/exporters/stackdriver_exporter.py", line 199, in __init__
client = Client(project=project_id)
File "/usr/local/lib/python3.7/site-packages/google/cloud/trace/client.py", line 43, in __init__
super(Client, self).__init__(project=project, credentials=credentials)
File "/usr/local/lib/python3.7/site-packages/google/cloud/client.py", line 223, in __init__
_ClientProjectMixin.__init__(self, project=project)
File "/usr/local/lib/python3.7/site-packages/google/cloud/client.py", line 175, in __init__
project = self._determine_default(project)
File "/usr/local/lib/python3.7/site-packages/google/cloud/client.py", line 190, in _determine_default
return _determine_default_project(project)
File "/usr/local/lib/python3.7/site-packages/google/cloud/_helpers.py", line 186, in _determine_default_project
_, project = google.auth.default()
File "/usr/local/lib/python3.7/site-packages/google/auth/_default.py", line 306, in default
raise exceptions.DefaultCredentialsError(_HELP_MESSAGE)
google.auth.exceptions.DefaultCredentialsError: Could not automatically determine credentials. Please set GOOGLE_APPLICATION_CREDENTIALS or explicitly create credentials and re-run the application. For more information, please see https://cloud.google.com/docs/authentication/getting-started
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Untitled
Kastamonu romania sa contact, Gestolen dochters, Shenzhen nongke, ... Record apple tv to dvd, Biotech cluster map, Mcgill brown building hours, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Uncomment following variables in kubernetes-manifests
@nikos9742 , fyi, uncommenting tracing and profiler works for me.