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
Addon version : 5fc6de6ce0306d51e1867b10e76e9dbd1343faa0-2023-01-28-2
Describe the bug
The addon fails to connect to the Hassio instace because it's domain certificate does not include the local IP of the machine as a valid IP
To Reproduce
Go to the config of the addon and add your Hassio domain with HTTPS
Click on save and restart the addon
Go to the log and see the error
Full addon log
[2023-02-02 16:33:07.716 -0300] ERROR: Encountered an error during browser automation. Saved a screenshot for debugging purposes.
user: "[email protected]"
errorFile: "error-2023-02-02T19:33:07.236Z.png"
[2023-02-02 16:33:07.728 -0300] ERROR: Hostname/IP does not match certificate's altnames: IP: 192.168.2.9 is not in the cert's list:
user: "[email protected]"
err: {
"type": "RequestError",
"message": "Hostname/IP does not match certificate's altnames: IP: 192.168.2.9 is not in the cert's list: ",
"stack":
RequestError: Hostname/IP does not match certificate's altnames: IP: 192.168.2.9 is not in the cert's list:
at ClientRequest.<anonymous> (/usr/app/node_modules/got/dist/source/core/index.js:970:111)
at Object.onceWrapper (node:events:628:26)
at ClientRequest.emit (node:events:525:35)
at ClientRequest.origin.emit (/usr/app/node_modules/@szmarczak/http-timer/dist/source/index.js:43:20)
at TLSSocket.socketErrorListener (node:_http_client:496:9)
at TLSSocket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at processTicksAndRejections (node:internal/process/task_queues:82:21)
at new NodeError (node:internal/errors:400:5)
at Object.checkServerIdentity (node:tls:337:12)
at TLSSocket.onConnectSecure (node:_tls_wrap:1555:27)
at TLSSocket.emit (node:events:513:28)
at TLSSocket._finishInit (node:_tls_wrap:959:8)
at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:743:12)
"name": "RequestError",
"code": "ERR_TLS_CERT_ALTNAME_INVALID",
"timings": {
"start": 1675366387200,
"socket": 1675366387204,
"lookup": 1675366387211,
"connect": 1675366387211,
"error": 1675366387231,
"phases": {
"wait": 4,
"dns": 7,
"tcp": 0,
"total": 31
}
}
}
Mmh that seems more to me an issue with the app itself and that it should autogenerate it's certificate based on the base url? Not sure how i can help from the addon side
You are right, it does, but based on my public IPV4, not my local ip. Even if i add the local ip it does not want to work and spits the same error.
It's possible that adding a ignore SSL cetificate validation option could help.
I've looked at the addon structure and there is no specific network modification that I'm doing. Actually I am surprised that it supports https as my addon directs the webui to http. I'm sorry but I don't think I can help you there, you should open an issue in https://github.com/claabs/epicgames-freegames-node thanks
Which addon?
Epic Games Free
Describe the bug
The addon fails to connect to the Hassio instace because it's domain certificate does not include the local IP of the machine as a valid IP
To Reproduce
Full addon log
Full addon config
System
Home Assistant 2023.2.0
Supervisor 2023.01.1
Operating System 9.5
Frontend 20230201.0 - latest
The text was updated successfully, but these errors were encountered: