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

OpenSearch Authorization exception from multimodal_chat.py #14

Open
cfregly opened this issue Sep 5, 2024 · 1 comment
Open

OpenSearch Authorization exception from multimodal_chat.py #14

cfregly opened this issue Sep 5, 2024 · 1 comment

Comments

@cfregly
Copy link

cfregly commented Sep 5, 2024

File "/Users/admin/dev/multimodal-chat/multimodal_chat.py", line 2576, in
main(args)
File "/Users/admin/dev/multimodal-chat/multimodal_chat.py", line 2491, in main
opensearch_client = get_opensearch_client()
^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/admin/dev/multimodal-chat/multimodal_chat.py", line 245, in get_opensearch_client
info = client.info()
^^^^^^^^^^^^^
File "/opt/miniconda3/lib/python3.12/site-packages/opensearchpy/client/utils.py", line 176, in _wrapped
return func(*args, params=params, headers=headers, **kwargs)
```^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/lib/python3.12/site-packages/opensearchpy/client/init.py", line 308, in info
return self.transport.perform_request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/lib/python3.12/site-packages/opensearchpy/transport.py", line 455, in perform_request
raise e
File "/opt/miniconda3/lib/python3.12/site-packages/opensearchpy/transport.py", line 416, in perform_request
status, headers_response, data = connection.perform_request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/lib/python3.12/site-packages/opensearchpy/connection/http_urllib3.py", line 308, in perform_request
self._raise_error(
File "/opt/miniconda3/lib/python3.12/site-packages/opensearchpy/connection/base.py", line 315, in _raise_error
raise HTTP_EXCEPTIONS.get(status_code, TransportError)(
opensearchpy.exceptions.AuthenticationException: AuthenticationException(401, 'Unauthorized')

@cfregly
Copy link
Author

cfregly commented Sep 5, 2024

my environment is relatively messed up right now, so I may need to rebuild from scratch

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

1 participant