daikin_residential icon indicating copy to clipboard operation
daikin_residential copied to clipboard

SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)'))

Open agamez opened this issue 2 years ago • 2 comments

Hi,

I can't seem to login, this is the full error:

Logger: custom_components.daikin_residential.config_flow Source: custom_components/daikin_residential/config_flow.py:58 Integration: Daikin Residential Controller (documentation, issues) First occurred: 10:52:27 (1 occurrences) Last logged: 10:52:27 Failed to retrieve Access Token: ('Error trying to extract API version: %s', SSLError(MaxRetryError("HTTPSConnectionPool(host='cdns.gigya.com', port=443): Max retries exceeded with url: /js/gigya.js?apiKey=3_xRB3jaQ62bVjqXU1omaEsPDVYC0Twi1zfq1zHPu_5HFT0zWkDvZJS97Yw1loJnTm (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)')))")))

It looks like there's some SSL problem, but the certificate of cdns.gigya.com seems OK to me. In the meantime, while this issue is investigated further, is there any way to bypass SSL verification, as I can check it by myself and see that it is okay to continue even if the software isn't able to?

agamez avatar Jun 06 '22 08:06 agamez

2022-10-02 07:45:16.669 ERROR (MainThread) [custom_components.daikin_residential.config_flow] Failed to retrieve Access Token: ('Error trying to follow redirect: %s', SSLError(MaxRetryError("HTTPSCo
nnectionPool(host='fidm.eu1.gigya.com', port=443): Max retries exceeded with url: /saml/v2.0/3_xRB3jaQ62bVjqXU1omaEsPDVYC0Twi1zfq1zHPu_5HFT0zWkDvZJS97Yw1loJnTm/idp/sso?SAMLRequest=fVJPb9owHL3vU0S%2B
O7FNIY1FUrEyVBCVOghs7QUZx6FuYzvEDrR8%2Bhko1Xrp0db7p%2Fd%2B%2FZs3VQU70VhpdApwiEAgNDeF1JsULPIRvAY32Y%2B%2BZaoiNR207lnPxLYV1gUDa0XjPO%2FWaNsq0cxFs5NcLGbTFDw7V1saRQWTr1LDVktembaAdWOKkHmZULR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_X1kArOhLNyAAAAA.3 (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: se
lf signed certificate (_ssl.c:997)')))")))

Brice187 avatar Oct 02 '22 07:10 Brice187

my local dns blocker (pihole) blocked the access

Brice187 avatar Oct 02 '22 08:10 Brice187

Thanks @Brice187 , it was a similar case to yours. Make always sure that there isn't any adblocker active, or that it is properly configured to let connections to Daikin servers work!

agamez avatar Nov 11 '22 11:11 agamez