trocotronic / edistribucion

API para e-distribución (Endesa distribución)
GNU General Public License v3.0
26 stars 28 forks source link

Error connecting to e-Distribución #21

Closed nikuxic closed 1 year ago

nikuxic commented 1 year ago

Hi,

I'm unable to connect to e-Distribución since Friday 28th April (5 days ago). When running, within the call to Edistribution(), I got an error: HTTPSConnectionPool(host='zonaprivada.edistribucion.com', port=443): Max retries exceeded with url: /areaprivada/s/login?ec=302&startURL=%2Fareaprivada%2Fs%2F (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)')))

I'm trying this code on Windows and Raspberry and same error appears. These are the versions of 'requests' package of my Windows:

Does any of you have the same problem?

nikuxic commented 1 year ago

Hi! On 5th of May, the code start working again. I guess there was a change in the web side.