vision-ken edited a comment on issue #4512: How to connect elasticsearch with 
https?
URL: https://github.com/apache/skywalking/issues/4512#issuecomment-599112766
 
 
   When I disable TLS of elasticsearch, OAP can connetct to ES now, but report 
the error:
   ```
   org.elasticsearch.client.ResponseException: method [HEAD], host 
[http://quickstart-es-http:9200], URI [/], status line [HTTP/1.1 401 
Unauthorized]
   ```
   And then I add `oap.env` in charts/values.yaml as below and reinstall the 
chart, but it didn't work.
   ```
   oap:
     env:
       SW_ES_USER: "elastic"
       SW_ES_PASSWORD: "xxx"
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to