Skip to content

Login not working due to local issuer certificate #553

@ericpullen

Description

@ericpullen

Describe The Bug:
Recently noticed that I could not modify temperature settings. Looked at logs and saw errors about login. Updated to the latest version, and still getting errors related to certificate and undefined locations.

To Reproduce:
Install plugin, set username password, and it won't connect. It used to work, and I was also able to verify logging in to the Carrier website works with the same username/password.

Expected behavior:
Connect and be able to get data from Carrier.

Logs:

[6/11/2025, 9:53:29 AM] [CarrierInfinity] Attempting login / token refresh.
[6/11/2025, 9:53:29 AM] [CarrierInfinity] undefined undefinedundefined undefined undefined
unable to get local issuer certificate
[6/11/2025, 9:53:29 AM] [CarrierInfinity] [API] Could not refresh access token:  MaxAttemptsError: unable to get local issuer certificate
    at Function.AxiosError.from (/opt/homebrew/lib/node_modules/homebridge-carrier-infinity/node_modules/axios/lib/core/AxiosError.js:92:14)
    at RedirectableRequest.handleRequestError (/opt/homebrew/lib/node_modules/homebridge-carrier-infinity/node_modules/axios/lib/adapters/http.js:620:25)
    at RedirectableRequest.emit (node:events:518:28)
    at ClientRequest.eventHandlers.<computed> (/opt/homebrew/lib/node_modules/homebridge-carrier-infinity/node_modules/follow-redirects/index.js:49:24)
    at ClientRequest.emit (node:events:518:28)
    at emitErrorEvent (node:_http_client:104:11)
    at TLSSocket.socketErrorListener (node:_http_client:518:5)
    at TLSSocket.emit (node:events:518:28)
    at emitErrorNT (node:internal/streams/destroy:170:8)
    at emitErrorCloseNT (node:internal/streams/destroy:129:3)
    at Axios.request (/opt/homebrew/lib/node_modules/homebridge-carrier-infinity/node_modules/axios/lib/core/Axios.js:45:41)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at InfinityRestClient.forceRefreshToken (/opt/homebrew/lib/node_modules/homebridge-carrier-infinity/src/api/rest_client.ts:108:22) {
  code: '429'
}
[6/11/2025, 9:53:29 AM] [CarrierInfinity] undefined undefinedundefined undefined undefined
[6/11/2025, 9:53:29 AM] [CarrierInfinity] [API] Failure sending activation signal:  unable to get local issuer certificate
[6/11/2025, 9:53:29 AM] [CarrierInfinity] undefined undefinedundefined undefined undefined
[6/11/2025, 9:53:29 AM] [CarrierInfinity] [API] Failed to fetch updates:  unable to get local issuer certificate
[6/11/2025, 9:53:29 AM] [CarrierInfinity] Could not discover devices: Cannot read properties of undefined (reading 'locations')

Plugin Config:

{
    "username": "MYEMAIL@gmail.com",
    "password": "PASSWORD",
    "holdBehavior": "forever",
    "showOutdoorTemperatureSensor": false,
    "showFanControl": false,
    "showIndoorHumiditySensors": false,
    "showZoneComfortActivityControls": false,
    "platform": "CarrierInfinity"
}

Environment:

  • Plugin Version: 1.8.0
  • Homebridge Version: 1.10.0
  • Node.js Version: 22.16.0
  • NPM Version: 10.9.2
  • Operating System: macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions