mbillow / ha-chargepoint

Home Assistant ChargePoint EV Charger Integration
MIT License
49 stars 7 forks source link

Failed to get account charging status! status_code=503 #27

Open joelevi opened 1 year ago

joelevi commented 1 year ago

Integration fails to startup when ChargePoint api returns 503 error; fails to gracefully fail when data provider site returns error.

The problem is with the data provider, but the manner of failover makes this hard to figure out unless you're a developer and know what to look for and what HTTP errors mean.

Logger: chargepoint Source: /usr/local/lib/python3.10/site-packages/python_chargepoint/client.py:342 First occurred: 1:49:18 PM (4 occurrences) Last logged: 1:50:45 PM

Failed to get account charging status! status_code=503 err= 503 Service Temporarily Unavailable

503 Service Temporarily Unavailable