You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When the environment variable "ES_USE_SSL" is set to false, there is no possibility of authorization, which results in receiving a 401 error every time. This is caused by the fact that in the _es_config() function, if ES_USE_SSL is set to false, a return is executed before adding authorization. I believe we should provide such a possibility. In my case, OpenSearch is behind a VPN, so disabling SSL should slightly improve performance without compromising security.
To Reproduce
Steps to reproduce the behavior:
Setting ES_USE_SSL=false
OpenSearch with authorization, e.g., using username and password
We get a 401 error - no authorization
Expected behavior
Ability to add authentication with SSL disabled.
The text was updated successfully, but these errors were encountered:
**Related Issue(s):**
- #387
**Description:**
possibility of authorization with disabled ssl
**PR Checklist:**
- [ ] Code is formatted and linted (run `pre-commit run --all-files`)
- [ ] Tests pass (run `make test`)
- [ ] Documentation has been updated to reflect changes, if applicable
- [ ] Changes are added to the changelog
---------
Co-authored-by: Grzegorz Pustulka <[email protected]>
Describe the bug
When the environment variable "ES_USE_SSL" is set to false, there is no possibility of authorization, which results in receiving a 401 error every time. This is caused by the fact that in the _es_config() function, if ES_USE_SSL is set to false, a return is executed before adding authorization. I believe we should provide such a possibility. In my case, OpenSearch is behind a VPN, so disabling SSL should slightly improve performance without compromising security.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Ability to add authentication with SSL disabled.
The text was updated successfully, but these errors were encountered: