Dielee / volvo2mqtt

Home Assistant addon for connecting AAOS Volvos
MIT License
162 stars 37 forks source link

Is the API currently half way down? #174

Closed HWiese1980 closed 9 months ago

HWiese1980 commented 9 months ago

Describe the bug Volvo2MQTT runs into timeouts when trying to connect the API endpoint

To Reproduce:
Steps to reproduce the behavior:

  1. Simply restart the Addon
  2. See in the logs that things take very long after volvo2mqtt [108] - INFO: Starting volvo2mqtt version v1.8.27
  3. Wait for a timeout
  4. See error

Expected behavior:
Volvo2mqtt working as usual

Version info:
HA Addon, v1.8.27

Logs:

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[16:25:17] ERROR: Got unexpected response from the API: Service not enabled
Feb 24 16:25:19 volvo2mqtt [107] - INFO: Starting volvo2mqtt version v1.8.27
Feb 24 16:26:52 volvo2mqtt [107] - INFO: Using VCCAPIKEY: yyy
Feb 24 16:26:52 volvo2mqtt [107] - INFO: Vin: ['xxx'] found!
Feb 24 16:26:52 volvo2mqtt [107] - INFO: Success! Battery Charge Level is supported by your vehicle.
Feb 24 16:26:52 volvo2mqtt [107] - INFO: Success! Electric Range is supported by your vehicle.
Feb 24 16:26:52 volvo2mqtt [107] - INFO: Success! Estimated Charging Time is supported by your vehicle.
Feb 24 16:26:52 volvo2mqtt [107] - INFO: Success! Charging System Status is supported by your vehicle.
Feb 24 16:26:52 volvo2mqtt [107] - INFO: Success! Charging Connection Status is supported by your vehicle.
Feb 24 16:26:52 volvo2mqtt [107] - INFO: Success! Estimated Charging Finish Time is supported by your vehicle.
Feb 24 16:27:07 volvo2mqtt [107] - ERROR: Error getting data: HTTPSConnectionPool(host='api.volvocars.com', port=443): Read timed out. (read timeout=15)
Feb 24 16:27:07 volvo2mqtt [107] - INFO: Failed, Odometer is unfortunately not supported by your vehicle.
Feb 24 16:27:07 volvo2mqtt [107] - INFO: Success! Last Data Update is supported by your vehicle.
Feb 24 16:27:07 volvo2mqtt [107] - INFO: Success! Active schedules is supported by your vehicle.
Feb 24 16:27:22 volvo2mqtt [107] - ERROR: Error getting data: HTTPSConnectionPool(host='api.volvocars.com', port=443): Read timed out. (read timeout=15)
Feb 24 16:27:22 volvo2mqtt [107] - INFO: Failed, Window Front Left is unfortunately not supported by your vehicle.
HWiese1980 commented 9 months ago

Could anyone please confirm that this is a problem with the API endpoint, not with my network? I'd wonder how it would be a local networking issue because everything else works like a charm. It's only the Volvo API that behaves so weirdly right now.

jamesdennett commented 9 months ago

Could anyone please confirm that this is a problem with the API endpoint, not with my network? I'd wonder how it would be a local networking issue because everything else works like a charm. It's only the Volvo API that behaves so weirdly right now.

I’m having the same issue

HWiese1980 commented 9 months ago

Thanks! Then it's not just me.

Ilpo55 commented 9 months ago

Same here.

Ilpo55 commented 9 months ago

Now working again after Volvo2MQTT restart.

HWiese1980 commented 9 months ago

Yepp, seems like the service is back. I'm closing this issue now. Thanks for reassuring me that it's not my network setup acting strangely. Good night everyone!