bwp91 / homebridge-ewelink

Homebridge plugin to integrate eWeLink devices into HomeKit.
MIT License
384 stars 126 forks source link

unable to verify the first certificate at Function.AxiosError.from #556

Open bubbaglia opened 1 week ago

bubbaglia commented 1 week ago

Current Situation

Since start of june 2024, ewelink plugin is no more working.

I have checked user and password but they are correct becouse I can access to the site and app.

Logs

[6/19/2024, 9:56:49 AM] [eWeLink] An error occurred during http login().
[6/19/2024, 9:56:49 AM] [eWeLink] ***** Disabling plugin. *****
[6/19/2024, 9:56:49 AM] [eWeLink] ***** unable to verify the first certificate at Function.AxiosError.from (file:///homebridge/node_modules/homebridge-ewelink/node_modules/axios/lib/core/AxiosError.js:89:14). *****

Configuration

{
    "name": "eWeLink",
    "username": "***",
    "password": "***",
    "mode": "auto",
    "language": "en",
    "countryCode": "39",
    "platform": "eWeLink"
}

Environment

Docker: yes OS: Ubuntu Jammy (22.04.3 LTS) nodejs: v20.14.0 homebridge: v1.8.2 homebridge UI: v4.56.2

Process Supervisor

Docker (Mention image name in Additional Context) hb-service

Additional Context

https://registry.hub.docker.com/r/homebridge/homebridge/

mikeh commented 4 days ago

Seeing exactly the same problem

mikeh commented 4 days ago

Okay this seems to have fixed it on my server:

bubbaglia commented 3 days ago

@mikeh thank you so much. it works now adding "httpHost": "auto"

cheers

Okay this seems to have fixed it on my server:

  • Head into the Plugin Config for Homebridge eWeLink
  • Expand Advanced Settings
  • Set HTTP Host to Auto (Recommended) <- mine was set to None
  • Reload Homebridge when prompted