Giter VIP home page Giter VIP logo

Comments (4)

jakommo avatar jakommo commented on July 25, 2024 1

From the error it looks like the cert is not trusted, which should not be the case with verify_ssl = false.
Are there any other messages logged? i.e. something about the verify_ssl = false not getting picket up or so?

from homeassistant-elasticsearch.

legrego avatar legrego commented on July 25, 2024 1

Thanks @jakommo for helping out. Glad you got this sorted, and thanks for posting what finally worked for you @revmannl!

I'm going to close this since it appears you have everything up and running now 👍

from homeassistant-elasticsearch.

revmannl avatar revmannl commented on July 25, 2024

By looking at the logging from HA, there are no messages that the verify_ssl = false is not getting picked up. Running the 'curl' command in the homeassistant docker also states that it cannot verify the legitimacy of the server. Running 'curl' with the --insecure option works. Somehow the docker doesn't seem to have the right certs in its truststore.

Are there other places where I could find any errors regarding the python script or HA not picking up the verify_ssl = false ?

from homeassistant-elasticsearch.

revmannl avatar revmannl commented on July 25, 2024

jakommo... after changing the config of elastic to use different cert and changing the HA configuration to url = '<servername:port>' with the quotes and verify_ssl = true , it is working!

After reading some more about the LetsEncrypt cert it appears I was using the wrong cert :/ Changing that to the right one, 'curl' in the homeassistant docker started working, but needed to change the url = '<servername:port>' to use those quotes, without them, same error that cert was no good.
Doesn't seem to make sence though, but I am keeping this config as I am getting data into Elastic.
Thanks for the reply, and thanks for the Integration to Elastic!!

from homeassistant-elasticsearch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.