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

librato.exceptions.Unauthorized when using lore api #169

Open
Guzzii opened this issue Aug 27, 2020 · 1 comment
Open

librato.exceptions.Unauthorized when using lore api #169

Guzzii opened this issue Aug 27, 2020 · 1 comment

Comments

@Guzzii
Copy link
Contributor

Guzzii commented Aug 27, 2020

Exception in thread Thread-3:
Traceback (most recent call last):
  File "/app/.heroku/python/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/app/.heroku/python/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/app/.heroku/python/lib/python3.6/site-packages/librato/aggregator.py", line 191, in submit
    query_props=self.to_payload())
  File "/app/.heroku/python/lib/python3.6/site-packages/librato/__init__.py", line 209, in _mexe
    resp_data, success, backoff = self._process_response(resp, backoff)
  File "/app/.heroku/python/lib/python3.6/site-packages/librato/__init__.py", line 183, in _process_response
    raise exceptions.get(resp.status, resp_data)
librato.exceptions.Unauthorized: [401] Credentials are required to access this resource.
10:56:55.911  WARNING  threading:120 => Exception in thread Thread-3:
Traceback (most recent call last):
  File "/app/.heroku/python/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/app/.heroku/python/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/app/.heroku/python/lib/python3.6/site-packages/librato/aggregator.py", line 191, in submit
    query_props=self.to_payload())
  File "/app/.heroku/python/lib/python3.6/site-packages/librato/__init__.py", line 209, in _mexe
    resp_data, success, backoff = self._process_response(resp, backoff)
  File "/app/.heroku/python/lib/python3.6/site-packages/librato/__init__.py", line 183, in _process_response
    raise exceptions.get(resp.status, resp_data)
librato.exceptions.Unauthorized: [401] Credentials are required to access this resource.
@ganesh-krishnan
Copy link
Contributor

We should get rid of librato inside of lore, but a quick fix is to ensure that LIBRATO_USER is not set in your environment.

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

No branches or pull requests

2 participants