Closed RobPijpers closed 1 month ago
After restarting the Addon the connection is working, keep you updated asap.
After a few succesfull updates the connection is failed again:
May 27 16:01:54 volvo2mqtt [106] - INFO: Success! Update Interval is supported by your vehicle. May 27 16:01:55 volvo2mqtt [106] - INFO: Success! Warnings is supported by your vehicle. May 27 16:01:58 volvo2mqtt [106] - INFO: Sending mqtt update... May 27 16:01:59 volvo2mqtt [106] - INFO: Mqtt update done. Next run in 300 seconds. May 27 16:06:59 volvo2mqtt [106] - INFO: Sending mqtt update... May 27 16:07:03 volvo2mqtt [106] - INFO: Mqtt update done. Next run in 300 seconds. May 27 16:12:03 volvo2mqtt [106] - INFO: Sending mqtt update... May 27 16:12:03 volvo2mqtt [106] - ERROR: Error getting data: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) May 27 16:12:05 volvo2mqtt [106] - INFO: Mqtt update done. Next run in 300 seconds.
After a addon restart the connection is working again, see log below: s6-rc: info: service legacy-services: stopping s6-rc: info: service legacy-services successfully stopped s6-rc: info: service legacy-cont-init: stopping s6-rc: info: service legacy-cont-init successfully stopped s6-rc: info: service fix-attrs: stopping s6-rc: info: service fix-attrs successfully stopped s6-rc: info: service s6rc-oneshot-runner: stopping s6-rc: info: service s6rc-oneshot-runner successfully stopped 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 /volvoAAOS2mqtt/mqtt.py:56: SyntaxWarning: invalid escape sequence '\d' "pattern": "\d{6}", May 27 16:17:56 volvo2mqtt [106] - INFO: Starting volvo2mqtt version v1.9.1 May 27 16:17:56 volvo2mqtt [106] - INFO: Using login from token file May 27 16:17:56 volvo2mqtt [106] - INFO: Refreshing credentials
This has nothing to do with the otp auth. May the API or your internet be unstable at this time.
Oké, thanks for looking in to this issue. I’m very happy with this addon and thanks for your fast support!
Describe the bug OTP token does not work after update interval of 300 sec.
To Reproduce:
Steps to reproduce the behavior: The API connection is working as soon the OTP token is entered in the proposed entity. After the update interval (300 sec) the API is failing and a new token must entered.
Expected behavior:
Enter OTP once during configuration
Screenshots:
na
Version info:
1.9.1
Logs:
May 27 15:39:50 volvo2mqtt [106] - INFO: Success! Update Interval is supported by your vehicle. May 27 15:39:50 volvo2mqtt [106] - INFO: Success! Warnings is supported by your vehicle. May 27 15:39:52 volvo2mqtt [106] - INFO: Sending mqtt update... May 27 15:39:53 volvo2mqtt [106] - INFO: Mqtt update done. Next run in 300 seconds. May 27 15:44:53 volvo2mqtt [106] - INFO: Sending mqtt update... May 27 15:44:53 volvo2mqtt [106] - ERROR: Error getting data: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) May 27 15:44:55 volvo2mqtt [106] - INFO: Mqtt update done. Next run in 300 seconds. May 27 15:49:55 volvo2mqtt [106] - INFO: Sending mqtt update... May 27 15:49:55 volvo2mqtt [106] - ERROR: Error getting data: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) May 27 15:49:58 volvo2mqtt [106] - INFO: Mqtt update done. Next run in 300 seconds. May 27 15:54:58 volvo2mqtt [106] - INFO: Sending mqtt update... May 27 15:54:58 volvo2mqtt [106] - ERROR: Error getting data: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) May 27 15:55:00 volvo2mqtt [106] - INFO: Mqtt update done. Next run in 300 seconds.