Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Honeywell: (intermittent) UnauthorizedError #655

Open
cjkrolak opened this issue Jul 12, 2023 · 7 comments
Open

Honeywell: (intermittent) UnauthorizedError #655

cjkrolak opened this issue Jul 12, 2023 · 7 comments
Labels
bug Something isn't working honeywell honeywell-specific issues Priority-3 lowest priority, no commit date on fix

Comments

@cjkrolak
Copy link
Owner

2023-07-02 12:11:35: (tstat:honeywell, zone:0, session:11, poll:98) COOL_MODE [following schedule] act temp=80.0°F, act humidity=54% RH, set point=72.0°F, tolerance=2.0°F, override=80.0°F
revert_thermostat_mode: target_mode='UNKNOWN_MODE', doing nothing.
Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 218, in get_zones_info
    return_val = super().get_zones_info()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 686, in get_zones_info
    raise NoZonesFoundError("No zones were found from GetZoneListData")
pyhtcc.pyhtcc.NoZonesFoundError: No zones were found from GetZoneListData

get_zones_info: WARNING: No zones were found from GetZoneListData
[log_msg]: message text=Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: honeywell zone 0: intermittent error during get_zones_info()
From: cjkrolak2@gmail.com
To: cjkrolak2@gmail.com

get_zones_info: trial 1 of 9 at 2023-07-02 12:21:52
Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 218, in get_zones_info
    return_val = super().get_zones_info()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 686, in get_zones_info
    raise NoZonesFoundError("No zones were found from GetZoneListData")
pyhtcc.pyhtcc.NoZonesFoundError: No zones were found from GetZoneListData


email sent from module '<module 'thermostatsupervisor.email_notification' from '/home/pi/github/ThermostatSupervisor/thermostatsupervisor/email_notification.py'>' running on raspberrypi4 (127.0.1.1)
[log_msg]: smtp connection successful
[log_msg]: email account authorization for account cjkrolak2@gmail.com successful
[log_msg]: mail send was successful
[log_msg]: Email sent!
Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 218, in get_zones_info
    return_val = super().get_zones_info()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 686, in get_zones_info
    raise NoZonesFoundError("No zones were found from GetZoneListData")
pyhtcc.pyhtcc.NoZonesFoundError: No zones were found from GetZoneListData

get_zones_info: WARNING: No zones were found from GetZoneListData
[log_msg]: message text=Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: honeywell zone 0: intermittent error during get_zones_info()
From: cjkrolak2@gmail.com
To: cjkrolak2@gmail.com

get_zones_info: trial 2 of 9 at 2023-07-02 12:21:57
Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 218, in get_zones_info
    return_val = super().get_zones_info()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 686, in get_zones_info
    raise NoZonesFoundError("No zones were found from GetZoneListData")
pyhtcc.pyhtcc.NoZonesFoundError: No zones were found from GetZoneListData


email sent from module '<module 'thermostatsupervisor.email_notification' from '/home/pi/github/ThermostatSupervisor/thermostatsupervisor/email_notification.py'>' running on raspberrypi4 (127.0.1.1)
[log_msg]: smtp connection successful
[log_msg]: email account authorization for account cjkrolak2@gmail.com successful
[log_msg]: mail send was successful
[log_msg]: Email sent!
Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 218, in get_zones_info
    return_val = super().get_zones_info()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 686, in get_zones_info
    raise NoZonesFoundError("No zones were found from GetZoneListData")
pyhtcc.pyhtcc.NoZonesFoundError: No zones were found from GetZoneListData

get_zones_info: WARNING: No zones were found from GetZoneListData
[log_msg]: message text=Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: honeywell zone 0: intermittent error during get_zones_info()
From: cjkrolak2@gmail.com
To: cjkrolak2@gmail.com

get_zones_info: trial 3 of 9 at 2023-07-02 12:21:59
Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 218, in get_zones_info
    return_val = super().get_zones_info()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 686, in get_zones_info
    raise NoZonesFoundError("No zones were found from GetZoneListData")
pyhtcc.pyhtcc.NoZonesFoundError: No zones were found from GetZoneListData


email sent from module '<module 'thermostatsupervisor.email_notification' from '/home/pi/github/ThermostatSupervisor/thermostatsupervisor/email_notification.py'>' running on raspberrypi4 (127.0.1.1)
[log_msg]: smtp connection successful
[log_msg]: email account authorization for account cjkrolak2@gmail.com successful
[log_msg]: mail send was successful
[log_msg]: Email sent!
Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 218, in get_zones_info
    return_val = super().get_zones_info()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 684, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 618, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server

get_zones_info: WARNING: Got unauthorized response from server
[log_msg]: message text=Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: honeywell zone 0: intermittent error during get_zones_info()
From: cjkrolak2@gmail.com
To: cjkrolak2@gmail.com

get_zones_info: trial 4 of 9 at 2023-07-02 12:22:01
Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 218, in get_zones_info
    return_val = super().get_zones_info()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 684, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 618, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server


email sent from module '<module 'thermostatsupervisor.email_notification' from '/home/pi/github/ThermostatSupervisor/thermostatsupervisor/email_notification.py'>' running on raspberrypi4 (127.0.1.1)
[log_msg]: smtp connection successful
[log_msg]: email account authorization for account cjkrolak2@gmail.com successful
[log_msg]: mail send was successful
[log_msg]: Email sent!
Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 218, in get_zones_info
    return_val = super().get_zones_info()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 684, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 618, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server

get_zones_info: WARNING: Got unauthorized response from server
[log_msg]: message text=Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: honeywell zone 0: intermittent error during get_zones_info()
From: cjkrolak2@gmail.com
To: cjkrolak2@gmail.com

get_zones_info: trial 5 of 9 at 2023-07-02 12:22:02
Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 218, in get_zones_info
    return_val = super().get_zones_info()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 684, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 618, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server


email sent from module '<module 'thermostatsupervisor.email_notification' from '/home/pi/github/ThermostatSupervisor/thermostatsupervisor/email_notification.py'>' running on raspberrypi4 (127.0.1.1)
[log_msg]: smtp connection successful
[log_msg]: email account authorization for account cjkrolak2@gmail.com successful
[log_msg]: mail send was successful
[log_msg]: Email sent!
Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 218, in get_zones_info
    return_val = super().get_zones_info()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 684, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 618, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server

get_zones_info: WARNING: Got unauthorized response from server
[log_msg]: message text=Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: honeywell zone 0: intermittent error during get_zones_info()
From: cjkrolak2@gmail.com
To: cjkrolak2@gmail.com

get_zones_info: trial 6 of 9 at 2023-07-02 12:22:04
Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 218, in get_zones_info
    return_val = super().get_zones_info()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 684, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 618, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server


email sent from module '<module 'thermostatsupervisor.email_notification' from '/home/pi/github/ThermostatSupervisor/thermostatsupervisor/email_notification.py'>' running on raspberrypi4 (127.0.1.1)
[log_msg]: smtp connection successful
[log_msg]: email account authorization for account cjkrolak2@gmail.com successful
[log_msg]: mail send was successful
[log_msg]: Email sent!
Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 218, in get_zones_info
    return_val = super().get_zones_info()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 684, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 618, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server

get_zones_info: WARNING: Got unauthorized response from server
[log_msg]: message text=Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: honeywell zone 0: intermittent error during get_zones_info()
From: cjkrolak2@gmail.com
To: cjkrolak2@gmail.com

get_zones_info: trial 7 of 9 at 2023-07-02 12:22:05
Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 218, in get_zones_info
    return_val = super().get_zones_info()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 684, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 618, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server


email sent from module '<module 'thermostatsupervisor.email_notification' from '/home/pi/github/ThermostatSupervisor/thermostatsupervisor/email_notification.py'>' running on raspberrypi4 (127.0.1.1)
[log_msg]: smtp connection successful
[log_msg]: email account authorization for account cjkrolak2@gmail.com successful
[log_msg]: mail send was successful
[log_msg]: Email sent!
Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 218, in get_zones_info
    return_val = super().get_zones_info()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 684, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 618, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server

get_zones_info: WARNING: Got unauthorized response from server
[log_msg]: message text=Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: honeywell zone 0: intermittent error during get_zones_info()
From: cjkrolak2@gmail.com
To: cjkrolak2@gmail.com

get_zones_info: trial 8 of 9 at 2023-07-02 12:22:07
Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 218, in get_zones_info
    return_val = super().get_zones_info()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 684, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 618, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server


email sent from module '<module 'thermostatsupervisor.email_notification' from '/home/pi/github/ThermostatSupervisor/thermostatsupervisor/email_notification.py'>' running on raspberrypi4 (127.0.1.1)
[log_msg]: smtp connection successful
[log_msg]: email account authorization for account cjkrolak2@gmail.com successful
[log_msg]: mail send was successful
[log_msg]: Email sent!
Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 218, in get_zones_info
    return_val = super().get_zones_info()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 684, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 618, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server

get_zones_info: WARNING: Got unauthorized response from server
[log_msg]: message text=Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: honeywell zone 0: intermittent error during get_zones_info()
From: cjkrolak2@gmail.com
To: cjkrolak2@gmail.com

get_zones_info: trial 9 of 9 at 2023-07-02 12:22:08
Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 218, in get_zones_info
    return_val = super().get_zones_info()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 684, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 618, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server


email sent from module '<module 'thermostatsupervisor.email_notification' from '/home/pi/github/ThermostatSupervisor/thermostatsupervisor/email_notification.py'>' running on raspberrypi4 (127.0.1.1)
[log_msg]: smtp connection successful
[log_msg]: email account authorization for account cjkrolak2@gmail.com successful
[log_msg]: mail send was successful
[log_msg]: Email sent!
Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 218, in get_zones_info
    return_val = super().get_zones_info()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 684, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 618, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server

get_zones_info: WARNING: Got unauthorized response from server
[log_msg]: message text=Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: honeywell zone 0: intermittent error during get_zones_info()
From: cjkrolak2@gmail.com
To: cjkrolak2@gmail.com

get_zones_info: trial 10 of 9 at 2023-07-02 12:22:09
Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 218, in get_zones_info
    return_val = super().get_zones_info()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 684, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 618, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server


email sent from module '<module 'thermostatsupervisor.email_notification' from '/home/pi/github/ThermostatSupervisor/thermostatsupervisor/email_notification.py'>' running on raspberrypi4 (127.0.1.1)
[log_msg]: smtp connection successful
[log_msg]: email account authorization for account cjkrolak2@gmail.com successful
[log_msg]: mail send was successful
[log_msg]: Email sent!
Traceback (most recent call last):
  File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/supervise.py", line 133, in <module>
    exec_supervise(debug=True, argv_list=argv_inputs)
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/supervise.py", line 113, in exec_supervise
    supervisor(api.uip.get_user_inputs(api.uip.parent_keys[0],
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/supervise.py", line 76, in supervisor
    measurement = Zone.supervisor_loop(Thermostat, session_count,
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/thermostat_common.py", line 1054, in supervisor_loop
    self.refresh_zone_info()
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 719, in refresh_zone_info
    all_zones_info = self.pyhtcc.get_zones_info()
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 246, in get_zones_info
    raise ex
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 218, in get_zones_info
    return_val = super().get_zones_info()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 684, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 618, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server
@cjkrolak cjkrolak added bug Something isn't working Priority-2 medium priority issues (fix within 6 months) honeywell honeywell-specific issues labels Jul 12, 2023
@cjkrolak
Copy link
Owner Author

cjkrolak commented Aug 24, 2023

another occurrenc on 8/2/23, first error was pyhtcc.pyhtcc.NoZonesFoundError: no zones were found from GetZoneListData, then followed by repeated UnauthorizedError.

@cjkrolak
Copy link
Owner Author

errored out again, session 3, poll 89:

email sent from module '<module 'thermostatsupervisor.email_notification' from '/home/pi/github/ThermostatSupervisor/thermostatsupervisor/email_notification.py'>' running on raspberrypi4 (127.0.1.1)
[log_msg]: smtp connection successful
[log_msg]: email account authorization for account cjkrolak2@gmail.com successful
[log_msg]: mail send was successful
[log_msg]: Email sent!
Traceback (most recent call last):
  File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/supervise.py", line 133, in <module>
    exec_supervise(debug=True, argv_list=argv_inputs)
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/supervise.py", line 113, in exec_supervise
    supervisor(api.uip.get_user_inputs(api.uip.parent_keys[0],
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/supervise.py", line 76, in supervisor
    measurement = Zone.supervisor_loop(Thermostat, session_count,
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/thermostat_common.py", line 1016, in supervisor_loop
    current_mode_dict = self.get_current_mode(
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/thermostat_common.py", line 283, in get_current_mode
    self.query_thermostat_zone()
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/thermostat_common.py", line 148, in query_thermostat_zone
    self.display_temp = self.validate_numeric(self.get_display_temp(),
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 320, in get_display_temp
    return float(self.get_indoor_temperature_raw())
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 247, in get_indoor_temperature_raw
    self.refresh_zone_info()
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 719, in refresh_zone_info
    all_zones_info = self.pyhtcc.get_zones_info()
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 246, in get_zones_info
    raise ex
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 218, in get_zones_info
    return_val = super().get_zones_info()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 684, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 618, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server

@cjkrolak cjkrolak added Priority-1 high priority issues (fix within 1 month) and removed Priority-2 medium priority issues (fix within 6 months) labels Sep 27, 2023
@cjkrolak
Copy link
Owner Author

issue escalation: csm10495/pyhtcc#14

@cjkrolak
Copy link
Owner Author

hard failure exhausted 9 retries during unit testing:

2023-11-13T13:50:47.7733750Z revert_thermostat_mode: target_mode='UNKNOWN_MODE', doing nothing.
2023-11-13T13:50:47.7735302Z 2023-11-13 13:50:14: (tstat:honeywell, zone:0, session:1, poll:2) HEAT_MODE [following schedule] act temp=68.0°F, act humidity=45% RH, set point=66.0°F, tolerance=2.0°F, override=68.0°F
2023-11-13T13:50:47.7736992Z revert_thermostat_mode: target_mode='UNKNOWN_MODE', doing nothing.
2023-11-13T13:50:49.7520137Z Traceback (most recent call last):
2023-11-13T13:50:49.7521674Z   File "/home/vsts/work/1/s/thermostatsupervisor/honeywell.py", line 231, in get_zones_info
2023-11-13T13:50:49.7522565Z     return_val = super().get_zones_info()
2023-11-13T13:50:49.7523428Z                  ^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:49.7524734Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 758, in get_zones_info
2023-11-13T13:50:49.7525844Z     more_data = self._get_check_data_session(device_id)
2023-11-13T13:50:49.7526565Z                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:49.7527611Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 682, in _get_check_data_session
2023-11-13T13:50:49.7528503Z     return self._request_json(
2023-11-13T13:50:49.7528781Z            ^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:49.7529668Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
2023-11-13T13:50:49.7530862Z     return func(self, *args, **kwargs)
2023-11-13T13:50:49.7531177Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:49.7532079Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
2023-11-13T13:50:49.7533607Z     raise UnauthorizedError("Got unauthorized response from server")
2023-11-13T13:50:49.7534264Z pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server
2023-11-13T13:50:49.7534672Z 
2023-11-13T13:50:49.7534983Z get_zones_info: WARNING: Got unauthorized response from server
2023-11-13T13:50:49.7535669Z [log_msg]: message text=Content-Type: text/plain; charset="us-ascii"
2023-11-13T13:50:49.7536203Z MIME-Version: 1.0
2023-11-13T13:50:49.7536513Z Content-Transfer-Encoding: 7bit
2023-11-13T13:50:49.7537029Z Subject: (unittest) honeywell zone 0: intermittent error during get_zones_info()
2023-11-13T13:50:49.7537600Z From: cjkrolak2@gmail.com
2023-11-13T13:50:49.7537880Z To: cjkrolak2@gmail.com
2023-11-13T13:50:49.7538357Z 
2023-11-13T13:50:49.7538761Z get_zones_info: trial 1 of 9 at 2023-11-13 13:50:47
2023-11-13T13:50:49.7539195Z Traceback (most recent call last):
2023-11-13T13:50:49.7539852Z   File "/home/vsts/work/1/s/thermostatsupervisor/honeywell.py", line 231, in get_zones_info
2023-11-13T13:50:49.7540554Z     return_val = super().get_zones_info()
2023-11-13T13:50:49.7540895Z                  ^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:49.7541849Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 758, in get_zones_info
2023-11-13T13:50:49.7542775Z     more_data = self._get_check_data_session(device_id)
2023-11-13T13:50:49.7543197Z                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:49.7544259Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 682, in _get_check_data_session
2023-11-13T13:50:49.7545534Z     return self._request_json(
2023-11-13T13:50:49.7545823Z            ^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:49.7546871Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
2023-11-13T13:50:49.7547662Z     return func(self, *args, **kwargs)
2023-11-13T13:50:49.7547972Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:49.7548910Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
2023-11-13T13:50:49.7549857Z     raise UnauthorizedError("Got unauthorized response from server")
2023-11-13T13:50:49.7550483Z pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server
2023-11-13T13:50:49.7550871Z 
2023-11-13T13:50:49.7550934Z 
2023-11-13T13:50:49.7552131Z email sent from module '<module 'thermostatsupervisor.email_notification' from '/home/vsts/work/1/s/thermostatsupervisor/email_notification.py'>' running on fv-az163-89 (10.1.148.1)
2023-11-13T13:50:49.7553475Z [log_msg]: smtp connection successful
2023-11-13T13:50:49.7554006Z [log_msg]: email account authorization for account cjkrolak2@gmail.com successful
2023-11-13T13:50:49.7554748Z [log_msg]: mail send was successful
2023-11-13T13:50:49.7555070Z [log_msg]: Email sent!
2023-11-13T13:50:49.7555550Z Traceback (most recent call last):
2023-11-13T13:50:49.7556181Z   File "/home/vsts/work/1/s/thermostatsupervisor/honeywell.py", line 231, in get_zones_info
2023-11-13T13:50:49.7556962Z     return_val = super().get_zones_info()
2023-11-13T13:50:49.7557300Z                  ^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:49.7558234Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
2023-11-13T13:50:49.7559096Z     data = self._post_zone_list_data(page_num)
2023-11-13T13:50:49.7559456Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:49.7560438Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
2023-11-13T13:50:49.7561313Z     return self._request_json(
2023-11-13T13:50:49.7561585Z            ^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:49.7562420Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
2023-11-13T13:50:49.7563221Z     return func(self, *args, **kwargs)
2023-11-13T13:50:49.7563534Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:49.7564429Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
2023-11-13T13:50:49.7565371Z     raise UnauthorizedError("Got unauthorized response from server")
2023-11-13T13:50:49.7566366Z pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server
2023-11-13T13:50:49.7566746Z 
2023-11-13T13:50:49.7567038Z get_zones_info: WARNING: Got unauthorized response from server
2023-11-13T13:50:49.7567686Z [log_msg]: message text=Content-Type: text/plain; charset="us-ascii"
2023-11-13T13:50:49.7569134Z MIME-Version: 1.0
2023-11-13T13:50:49.7570242Z Content-Transfer-Encoding: 7bit
2023-11-13T13:50:49.7570784Z Subject: (unittest) honeywell zone 0: intermittent error during get_zones_info()
2023-11-13T13:50:49.7571370Z From: cjkrolak2@gmail.com
2023-11-13T13:50:49.7571662Z To: cjkrolak2@gmail.com
2023-11-13T13:50:49.7571805Z 
2023-11-13T13:50:49.7572315Z get_zones_info: trial 2 of 9 at 2023-11-13 13:50:48
2023-11-13T13:50:49.7572737Z Traceback (most recent call last):
2023-11-13T13:50:49.7573334Z   File "/home/vsts/work/1/s/thermostatsupervisor/honeywell.py", line 231, in get_zones_info
2023-11-13T13:50:49.7573984Z     return_val = super().get_zones_info()
2023-11-13T13:50:49.7574300Z                  ^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:49.7575190Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
2023-11-13T13:50:49.7576026Z     data = self._post_zone_list_data(page_num)
2023-11-13T13:50:49.7576381Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:49.7577333Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
2023-11-13T13:50:49.7578174Z     return self._request_json(
2023-11-13T13:50:49.7578439Z            ^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:49.7579245Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
2023-11-13T13:50:49.7580016Z     return func(self, *args, **kwargs)
2023-11-13T13:50:49.7580320Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:49.7581189Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
2023-11-13T13:50:49.7582098Z     raise UnauthorizedError("Got unauthorized response from server")
2023-11-13T13:50:49.7582704Z pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server
2023-11-13T13:50:49.7583085Z 
2023-11-13T13:50:49.7583287Z 
2023-11-13T13:50:49.7584670Z email sent from module '<module 'thermostatsupervisor.email_notification' from '/home/vsts/work/1/s/thermostatsupervisor/email_notification.py'>' running on fv-az163-89 (10.1.148.1)
2023-11-13T13:50:49.7586002Z [log_msg]: smtp connection successful
2023-11-13T13:50:49.7586659Z [log_msg]: email account authorization for account cjkrolak2@gmail.com successful
2023-11-13T13:50:49.7587175Z [log_msg]: mail send was successful
2023-11-13T13:50:49.7587466Z [log_msg]: Email sent!
2023-11-13T13:50:49.7587725Z Traceback (most recent call last):
2023-11-13T13:50:49.7588302Z   File "/home/vsts/work/1/s/thermostatsupervisor/honeywell.py", line 231, in get_zones_info
2023-11-13T13:50:49.7588930Z     return_val = super().get_zones_info()
2023-11-13T13:50:49.7589239Z                  ^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:49.7590099Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
2023-11-13T13:50:49.7590905Z     data = self._post_zone_list_data(page_num)
2023-11-13T13:50:49.7591251Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:49.7592173Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
2023-11-13T13:50:49.7592977Z     return self._request_json(
2023-11-13T13:50:49.7593421Z            ^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:49.7594589Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
2023-11-13T13:50:49.7595522Z     return func(self, *args, **kwargs)
2023-11-13T13:50:49.7595817Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:49.7596657Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
2023-11-13T13:50:49.7597711Z     raise UnauthorizedError("Got unauthorized response from server")
2023-11-13T13:50:49.7598315Z pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server
2023-11-13T13:50:49.7598754Z 
2023-11-13T13:50:49.7599049Z get_zones_info: WARNING: Got unauthorized response from server
2023-11-13T13:50:52.7117093Z [log_msg]: message text=Content-Type: text/plain; charset="us-ascii"
2023-11-13T13:50:52.7117855Z MIME-Version: 1.0
2023-11-13T13:50:52.7118147Z Content-Transfer-Encoding: 7bit
2023-11-13T13:50:52.7118768Z Subject: (unittest) honeywell zone 0: intermittent error during get_zones_info()
2023-11-13T13:50:52.7119284Z From: cjkrolak2@gmail.com
2023-11-13T13:50:52.7119538Z To: cjkrolak2@gmail.com
2023-11-13T13:50:52.7119664Z 
2023-11-13T13:50:52.7120012Z get_zones_info: trial 3 of 9 at 2023-11-13 13:50:49
2023-11-13T13:50:52.7120401Z Traceback (most recent call last):
2023-11-13T13:50:52.7120991Z   File "/home/vsts/work/1/s/thermostatsupervisor/honeywell.py", line 231, in get_zones_info
2023-11-13T13:50:52.7121621Z     return_val = super().get_zones_info()
2023-11-13T13:50:52.7122083Z                  ^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:52.7123907Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
2023-11-13T13:50:52.7124820Z     data = self._post_zone_list_data(page_num)
2023-11-13T13:50:52.7125180Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:52.7126687Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
2023-11-13T13:50:52.7127686Z     return self._request_json(
2023-11-13T13:50:52.7127945Z            ^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:52.7128736Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
2023-11-13T13:50:52.7129485Z     return func(self, *args, **kwargs)
2023-11-13T13:50:52.7129781Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:52.7130619Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
2023-11-13T13:50:52.7131498Z     raise UnauthorizedError("Got unauthorized response from server")
2023-11-13T13:50:52.7132396Z pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server
2023-11-13T13:50:52.7133140Z 
2023-11-13T13:50:52.7133203Z 
2023-11-13T13:50:52.7134825Z email sent from module '<module 'thermostatsupervisor.email_notification' from '/home/vsts/work/1/s/thermostatsupervisor/email_notification.py'>' running on fv-az163-89 (10.1.148.1)
2023-11-13T13:50:52.7136495Z [log_msg]: smtp connection successful
2023-11-13T13:50:52.7136983Z [log_msg]: email account authorization for account cjkrolak2@gmail.com successful
2023-11-13T13:50:52.7137494Z [log_msg]: mail send was successful
2023-11-13T13:50:52.7137787Z [log_msg]: Email sent!
2023-11-13T13:50:52.7138030Z Traceback (most recent call last):
2023-11-13T13:50:52.7138607Z   File "/home/vsts/work/1/s/thermostatsupervisor/honeywell.py", line 231, in get_zones_info
2023-11-13T13:50:52.7139235Z     return_val = super().get_zones_info()
2023-11-13T13:50:52.7139542Z                  ^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:52.7140407Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
2023-11-13T13:50:52.7141237Z     data = self._post_zone_list_data(page_num)
2023-11-13T13:50:52.7141570Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:52.7142483Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
2023-11-13T13:50:52.7143877Z     return self._request_json(
2023-11-13T13:50:52.7144142Z            ^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:52.7144950Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
2023-11-13T13:50:52.7146061Z     return func(self, *args, **kwargs)
2023-11-13T13:50:52.7146520Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:52.7147352Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
2023-11-13T13:50:52.7149052Z     raise UnauthorizedError("Got unauthorized response from server")
2023-11-13T13:50:52.7150046Z pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server
2023-11-13T13:50:52.7150469Z 
2023-11-13T13:50:52.7150788Z get_zones_info: WARNING: Got unauthorized response from server
2023-11-13T13:50:52.7151695Z [log_msg]: message text=Content-Type: text/plain; charset="us-ascii"
2023-11-13T13:50:52.7152527Z MIME-Version: 1.0
2023-11-13T13:50:52.7153316Z Content-Transfer-Encoding: 7bit
2023-11-13T13:50:52.7153812Z Subject: (unittest) honeywell zone 0: intermittent error during get_zones_info()
2023-11-13T13:50:52.7154354Z From: cjkrolak2@gmail.com
2023-11-13T13:50:52.7154622Z To: cjkrolak2@gmail.com
2023-11-13T13:50:52.7154755Z 
2023-11-13T13:50:52.7155099Z get_zones_info: trial 4 of 9 at 2023-11-13 13:50:50
2023-11-13T13:50:52.7155512Z Traceback (most recent call last):
2023-11-13T13:50:52.7156287Z   File "/home/vsts/work/1/s/thermostatsupervisor/honeywell.py", line 231, in get_zones_info
2023-11-13T13:50:52.7157087Z     return_val = super().get_zones_info()
2023-11-13T13:50:52.7157403Z                  ^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:52.7158266Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
2023-11-13T13:50:52.7159084Z     data = self._post_zone_list_data(page_num)
2023-11-13T13:50:52.7159416Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:52.7160524Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
2023-11-13T13:50:52.7161357Z     return self._request_json(
2023-11-13T13:50:52.7161772Z            ^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:52.7163046Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
2023-11-13T13:50:52.7163989Z     return func(self, *args, **kwargs)
2023-11-13T13:50:52.7164285Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:52.7165372Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
2023-11-13T13:50:52.7166623Z     raise UnauthorizedError("Got unauthorized response from server")
2023-11-13T13:50:52.7167230Z pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server
2023-11-13T13:50:52.7167611Z 
2023-11-13T13:50:52.7167670Z 
2023-11-13T13:50:52.7168815Z email sent from module '<module 'thermostatsupervisor.email_notification' from '/home/vsts/work/1/s/thermostatsupervisor/email_notification.py'>' running on fv-az163-89 (10.1.148.1)
2023-11-13T13:50:52.7169949Z [log_msg]: smtp connection successful
2023-11-13T13:50:52.7170452Z [log_msg]: email account authorization for account cjkrolak2@gmail.com successful
2023-11-13T13:50:52.7170981Z [log_msg]: mail send was successful
2023-11-13T13:50:52.7171281Z [log_msg]: Email sent!
2023-11-13T13:50:52.7171531Z Traceback (most recent call last):
2023-11-13T13:50:52.7172297Z   File "/home/vsts/work/1/s/thermostatsupervisor/honeywell.py", line 231, in get_zones_info
2023-11-13T13:50:52.7173559Z     return_val = super().get_zones_info()
2023-11-13T13:50:52.7173887Z                  ^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:52.7174808Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
2023-11-13T13:50:52.7175672Z     data = self._post_zone_list_data(page_num)
2023-11-13T13:50:52.7176028Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:52.7177133Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
2023-11-13T13:50:52.7177970Z     return self._request_json(
2023-11-13T13:50:52.7178233Z            ^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:52.7179039Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
2023-11-13T13:50:52.7179988Z     return func(self, *args, **kwargs)
2023-11-13T13:50:52.7180307Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:52.7181497Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
2023-11-13T13:50:52.7182568Z     raise UnauthorizedError("Got unauthorized response from server")
2023-11-13T13:50:52.7183649Z pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server
2023-11-13T13:50:52.7184227Z 
2023-11-13T13:50:52.7184531Z get_zones_info: WARNING: Got unauthorized response from server
2023-11-13T13:50:52.7185397Z [log_msg]: message text=Content-Type: text/plain; charset="us-ascii"
2023-11-13T13:50:52.7185941Z MIME-Version: 1.0
2023-11-13T13:50:52.7186572Z Content-Transfer-Encoding: 7bit
2023-11-13T13:50:52.7187068Z Subject: (unittest) honeywell zone 0: intermittent error during get_zones_info()
2023-11-13T13:50:52.7187610Z From: cjkrolak2@gmail.com
2023-11-13T13:50:52.7187878Z To: cjkrolak2@gmail.com
2023-11-13T13:50:52.7188010Z 
2023-11-13T13:50:52.7188350Z get_zones_info: trial 5 of 9 at 2023-11-13 13:50:51
2023-11-13T13:50:52.7188774Z Traceback (most recent call last):
2023-11-13T13:50:52.7189413Z   File "/home/vsts/work/1/s/thermostatsupervisor/honeywell.py", line 231, in get_zones_info
2023-11-13T13:50:52.7190087Z     return_val = super().get_zones_info()
2023-11-13T13:50:52.7190416Z                  ^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:52.7191332Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
2023-11-13T13:50:52.7192702Z     data = self._post_zone_list_data(page_num)
2023-11-13T13:50:52.7193589Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:52.7194783Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
2023-11-13T13:50:52.7195833Z     return self._request_json(
2023-11-13T13:50:52.7196106Z            ^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:52.7196940Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
2023-11-13T13:50:52.7197874Z     return func(self, *args, **kwargs)
2023-11-13T13:50:52.7198188Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:52.7199089Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
2023-11-13T13:50:52.7200028Z     raise UnauthorizedError("Got unauthorized response from server")
2023-11-13T13:50:52.7200652Z pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server
2023-11-13T13:50:52.7201043Z 
2023-11-13T13:50:52.7201105Z 
2023-11-13T13:50:52.7202276Z email sent from module '<module 'thermostatsupervisor.email_notification' from '/home/vsts/work/1/s/thermostatsupervisor/email_notification.py'>' running on fv-az163-89 (10.1.148.1)
2023-11-13T13:50:52.7203628Z [log_msg]: smtp connection successful
2023-11-13T13:50:52.7204168Z [log_msg]: email account authorization for account cjkrolak2@gmail.com successful
2023-11-13T13:50:52.7204742Z [log_msg]: mail send was successful
2023-11-13T13:50:52.7205070Z [log_msg]: Email sent!
2023-11-13T13:50:54.8793258Z Traceback (most recent call last):
2023-11-13T13:50:54.8794298Z   File "/home/vsts/work/1/s/thermostatsupervisor/honeywell.py", line 231, in get_zones_info
2023-11-13T13:50:54.8794941Z     return_val = super().get_zones_info()
2023-11-13T13:50:54.8795431Z                  ^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:54.8796693Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
2023-11-13T13:50:54.8797611Z     data = self._post_zone_list_data(page_num)
2023-11-13T13:50:54.8797954Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:54.8798934Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
2023-11-13T13:50:54.8800947Z     return self._request_json(
2023-11-13T13:50:54.8801264Z            ^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:54.8802230Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
2023-11-13T13:50:54.8803599Z     return func(self, *args, **kwargs)
2023-11-13T13:50:54.8803919Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:54.8804829Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
2023-11-13T13:50:54.8806312Z     raise UnauthorizedError("Got unauthorized response from server")
2023-11-13T13:50:54.8806904Z pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server
2023-11-13T13:50:54.8807255Z 
2023-11-13T13:50:54.8807534Z get_zones_info: WARNING: Got unauthorized response from server
2023-11-13T13:50:54.8808166Z [log_msg]: message text=Content-Type: text/plain; charset="us-ascii"
2023-11-13T13:50:54.8808647Z MIME-Version: 1.0
2023-11-13T13:50:54.8808950Z Content-Transfer-Encoding: 7bit
2023-11-13T13:50:54.8809412Z Subject: (unittest) honeywell zone 0: intermittent error during get_zones_info()
2023-11-13T13:50:54.8809933Z From: cjkrolak2@gmail.com
2023-11-13T13:50:54.8810195Z To: cjkrolak2@gmail.com
2023-11-13T13:50:54.8810320Z 
2023-11-13T13:50:54.8810655Z get_zones_info: trial 6 of 9 at 2023-11-13 13:50:52
2023-11-13T13:50:54.8811045Z Traceback (most recent call last):
2023-11-13T13:50:54.8811624Z   File "/home/vsts/work/1/s/thermostatsupervisor/honeywell.py", line 231, in get_zones_info
2023-11-13T13:50:54.8812258Z     return_val = super().get_zones_info()
2023-11-13T13:50:54.8812745Z                  ^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:54.8814282Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
2023-11-13T13:50:54.8815211Z     data = self._post_zone_list_data(page_num)
2023-11-13T13:50:54.8815597Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:54.8817121Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
2023-11-13T13:50:54.8818172Z     return self._request_json(
2023-11-13T13:50:54.8818447Z            ^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:54.8819265Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
2023-11-13T13:50:54.8820041Z     return func(self, *args, **kwargs)
2023-11-13T13:50:54.8820345Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:54.8821219Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
2023-11-13T13:50:54.8822122Z     raise UnauthorizedError("Got unauthorized response from server")
2023-11-13T13:50:54.8822905Z pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server
2023-11-13T13:50:54.8823280Z 
2023-11-13T13:50:54.8823409Z 
2023-11-13T13:50:54.8824592Z email sent from module '<module 'thermostatsupervisor.email_notification' from '/home/vsts/work/1/s/thermostatsupervisor/email_notification.py'>' running on fv-az163-89 (10.1.148.1)
2023-11-13T13:50:54.8826038Z [log_msg]: smtp connection successful
2023-11-13T13:50:54.8826548Z [log_msg]: email account authorization for account cjkrolak2@gmail.com successful
2023-11-13T13:50:54.8827081Z [log_msg]: mail send was successful
2023-11-13T13:50:54.8827384Z [log_msg]: Email sent!
2023-11-13T13:50:54.8827634Z Traceback (most recent call last):
2023-11-13T13:50:54.8828230Z   File "/home/vsts/work/1/s/thermostatsupervisor/honeywell.py", line 231, in get_zones_info
2023-11-13T13:50:54.8828877Z     return_val = super().get_zones_info()
2023-11-13T13:50:54.8829196Z                  ^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:54.8830091Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
2023-11-13T13:50:54.8830921Z     data = self._post_zone_list_data(page_num)
2023-11-13T13:50:54.8831263Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:54.8832209Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
2023-11-13T13:50:54.8833217Z     return self._request_json(
2023-11-13T13:50:54.8833485Z            ^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:54.8834304Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
2023-11-13T13:50:54.8835079Z     return func(self, *args, **kwargs)
2023-11-13T13:50:54.8835381Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:54.8836247Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
2023-11-13T13:50:54.8837153Z     raise UnauthorizedError("Got unauthorized response from server")
2023-11-13T13:50:54.8837758Z pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server
2023-11-13T13:50:54.8838118Z 
2023-11-13T13:50:54.8838404Z get_zones_info: WARNING: Got unauthorized response from server
2023-11-13T13:50:54.8839047Z [log_msg]: message text=Content-Type: text/plain; charset="us-ascii"
2023-11-13T13:50:54.8839561Z MIME-Version: 1.0
2023-11-13T13:50:54.8839853Z Content-Transfer-Encoding: 7bit
2023-11-13T13:50:54.8840330Z Subject: (unittest) honeywell zone 0: intermittent error during get_zones_info()
2023-11-13T13:50:54.8840858Z From: cjkrolak2@gmail.com
2023-11-13T13:50:54.8841117Z To: cjkrolak2@gmail.com
2023-11-13T13:50:54.8841246Z 
2023-11-13T13:50:54.8841573Z get_zones_info: trial 7 of 9 at 2023-11-13 13:50:53
2023-11-13T13:50:54.8841974Z Traceback (most recent call last):
2023-11-13T13:50:54.8842572Z   File "/home/vsts/work/1/s/thermostatsupervisor/honeywell.py", line 231, in get_zones_info
2023-11-13T13:50:54.8843221Z     return_val = super().get_zones_info()
2023-11-13T13:50:54.8843536Z                  ^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:54.8844423Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
2023-11-13T13:50:54.8845253Z     data = self._post_zone_list_data(page_num)
2023-11-13T13:50:54.8846124Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:54.8847069Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
2023-11-13T13:50:54.8847897Z     return self._request_json(
2023-11-13T13:50:54.8848154Z            ^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:54.8848983Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
2023-11-13T13:50:54.8849745Z     return func(self, *args, **kwargs)
2023-11-13T13:50:54.8850042Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:54.8850882Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
2023-11-13T13:50:54.8851756Z     raise UnauthorizedError("Got unauthorized response from server")
2023-11-13T13:50:54.8852338Z pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server
2023-11-13T13:50:54.8852687Z 
2023-11-13T13:50:54.8852768Z 
2023-11-13T13:50:54.8853873Z email sent from module '<module 'thermostatsupervisor.email_notification' from '/home/vsts/work/1/s/thermostatsupervisor/email_notification.py'>' running on fv-az163-89 (10.1.148.1)
2023-11-13T13:50:54.8855924Z [log_msg]: smtp connection successful
2023-11-13T13:50:54.8856595Z [log_msg]: email account authorization for account cjkrolak2@gmail.com successful
2023-11-13T13:50:54.8857190Z [log_msg]: mail send was successful
2023-11-13T13:50:54.8857524Z [log_msg]: Email sent!
2023-11-13T13:50:54.8857804Z Traceback (most recent call last):
2023-11-13T13:50:54.8858468Z   File "/home/vsts/work/1/s/thermostatsupervisor/honeywell.py", line 231, in get_zones_info
2023-11-13T13:50:54.8859716Z     return_val = super().get_zones_info()
2023-11-13T13:50:54.8860024Z                  ^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:54.8860920Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
2023-11-13T13:50:54.8861735Z     data = self._post_zone_list_data(page_num)
2023-11-13T13:50:54.8862282Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:54.8863211Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
2023-11-13T13:50:54.8864289Z     return self._request_json(
2023-11-13T13:50:54.8864557Z            ^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:54.8865541Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
2023-11-13T13:50:54.8866857Z     return func(self, *args, **kwargs)
2023-11-13T13:50:54.8867152Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:54.8867990Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
2023-11-13T13:50:54.8868865Z     raise UnauthorizedError("Got unauthorized response from server")
2023-11-13T13:50:54.8869448Z pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server
2023-11-13T13:50:54.8869804Z 
2023-11-13T13:50:54.8870084Z get_zones_info: WARNING: Got unauthorized response from server
2023-11-13T13:50:57.7765181Z [log_msg]: message text=Content-Type: text/plain; charset="us-ascii"
2023-11-13T13:50:57.7766794Z MIME-Version: 1.0
2023-11-13T13:50:57.7767111Z Content-Transfer-Encoding: 7bit
2023-11-13T13:50:57.7767582Z Subject: (unittest) honeywell zone 0: intermittent error during get_zones_info()
2023-11-13T13:50:57.7768100Z From: cjkrolak2@gmail.com
2023-11-13T13:50:57.7768353Z To: cjkrolak2@gmail.com
2023-11-13T13:50:57.7768480Z 
2023-11-13T13:50:57.7768821Z get_zones_info: trial 8 of 9 at 2023-11-13 13:50:54
2023-11-13T13:50:57.7769215Z Traceback (most recent call last):
2023-11-13T13:50:57.7769842Z   File "/home/vsts/work/1/s/thermostatsupervisor/honeywell.py", line 231, in get_zones_info
2023-11-13T13:50:57.7770479Z     return_val = super().get_zones_info()
2023-11-13T13:50:57.7770789Z                  ^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:57.7771990Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
2023-11-13T13:50:57.7772998Z     data = self._post_zone_list_data(page_num)
2023-11-13T13:50:57.7773472Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:57.7774449Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
2023-11-13T13:50:57.7775290Z     return self._request_json(
2023-11-13T13:50:57.7775557Z            ^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:57.7776714Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
2023-11-13T13:50:57.7777493Z     return func(self, *args, **kwargs)
2023-11-13T13:50:57.7777798Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:57.7778668Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
2023-11-13T13:50:57.7780439Z     raise UnauthorizedError("Got unauthorized response from server")
2023-11-13T13:50:57.7781256Z pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server
2023-11-13T13:50:57.7781666Z 
2023-11-13T13:50:57.7781754Z 
2023-11-13T13:50:57.7783082Z email sent from module '<module 'thermostatsupervisor.email_notification' from '/home/vsts/work/1/s/thermostatsupervisor/email_notification.py'>' running on fv-az163-89 (10.1.148.1)
2023-11-13T13:50:57.7784688Z [log_msg]: smtp connection successful
2023-11-13T13:50:57.7785250Z [log_msg]: email account authorization for account cjkrolak2@gmail.com successful
2023-11-13T13:50:57.7786010Z [log_msg]: mail send was successful
2023-11-13T13:50:57.7786538Z [log_msg]: Email sent!
2023-11-13T13:50:57.7786976Z Traceback (most recent call last):
2023-11-13T13:50:57.7787777Z   File "/home/vsts/work/1/s/thermostatsupervisor/honeywell.py", line 231, in get_zones_info
2023-11-13T13:50:57.7788601Z     return_val = super().get_zones_info()
2023-11-13T13:50:57.7788924Z                  ^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:57.7790012Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
2023-11-13T13:50:57.7791149Z     data = self._post_zone_list_data(page_num)
2023-11-13T13:50:57.7791509Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:57.7792523Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
2023-11-13T13:50:57.7793799Z     return self._request_json(
2023-11-13T13:50:57.7794096Z            ^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:57.7794996Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
2023-11-13T13:50:57.7796489Z     return func(self, *args, **kwargs)
2023-11-13T13:50:57.7796807Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:57.7797704Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
2023-11-13T13:50:57.7798655Z     raise UnauthorizedError("Got unauthorized response from server")
2023-11-13T13:50:57.7799289Z pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server
2023-11-13T13:50:57.7799664Z 
2023-11-13T13:50:57.7799958Z get_zones_info: WARNING: Got unauthorized response from server
2023-11-13T13:50:57.7800621Z [log_msg]: message text=Content-Type: text/plain; charset="us-ascii"
2023-11-13T13:50:57.7801150Z MIME-Version: 1.0
2023-11-13T13:50:57.7801450Z Content-Transfer-Encoding: 7bit
2023-11-13T13:50:57.7801946Z Subject: (unittest) honeywell zone 0: intermittent error during get_zones_info()
2023-11-13T13:50:57.7802491Z From: cjkrolak2@gmail.com
2023-11-13T13:50:57.7802764Z To: cjkrolak2@gmail.com
2023-11-13T13:50:57.7802897Z 
2023-11-13T13:50:57.7803238Z get_zones_info: trial 9 of 9 at 2023-11-13 13:50:55
2023-11-13T13:50:57.7803653Z Traceback (most recent call last):
2023-11-13T13:50:57.7804274Z   File "/home/vsts/work/1/s/thermostatsupervisor/honeywell.py", line 231, in get_zones_info
2023-11-13T13:50:57.7805086Z     return_val = super().get_zones_info()
2023-11-13T13:50:57.7806596Z                  ^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:57.7807657Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
2023-11-13T13:50:57.7808596Z     data = self._post_zone_list_data(page_num)
2023-11-13T13:50:57.7808982Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:57.7810322Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
2023-11-13T13:50:57.7811192Z     return self._request_json(
2023-11-13T13:50:57.7811468Z            ^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:57.7812301Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
2023-11-13T13:50:57.7813101Z     return func(self, *args, **kwargs)
2023-11-13T13:50:57.7813421Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:57.7814337Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
2023-11-13T13:50:57.7815284Z     raise UnauthorizedError("Got unauthorized response from server")
2023-11-13T13:50:57.7815909Z pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server
2023-11-13T13:50:57.7816285Z 
2023-11-13T13:50:57.7816369Z 
2023-11-13T13:50:57.7817548Z email sent from module '<module 'thermostatsupervisor.email_notification' from '/home/vsts/work/1/s/thermostatsupervisor/email_notification.py'>' running on fv-az163-89 (10.1.148.1)
2023-11-13T13:50:57.7818722Z [log_msg]: smtp connection successful
2023-11-13T13:50:57.7819243Z [log_msg]: email account authorization for account cjkrolak2@gmail.com successful
2023-11-13T13:50:57.7819795Z [log_msg]: mail send was successful
2023-11-13T13:50:57.7820110Z [log_msg]: Email sent!
2023-11-13T13:50:57.7820405Z Traceback (most recent call last):
2023-11-13T13:50:57.7821028Z   File "/home/vsts/work/1/s/thermostatsupervisor/honeywell.py", line 231, in get_zones_info
2023-11-13T13:50:57.7822091Z     return_val = super().get_zones_info()
2023-11-13T13:50:57.7822412Z                  ^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:57.7823891Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
2023-11-13T13:50:57.7825107Z     data = self._post_zone_list_data(page_num)
2023-11-13T13:50:57.7827414Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:57.7828469Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
2023-11-13T13:50:57.7829315Z     return self._request_json(
2023-11-13T13:50:57.7829587Z            ^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:57.7830396Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
2023-11-13T13:50:57.7831213Z     return func(self, *args, **kwargs)
2023-11-13T13:50:57.7831541Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:57.7832626Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
2023-11-13T13:50:57.7833573Z     raise UnauthorizedError("Got unauthorized response from server")
2023-11-13T13:50:57.7834201Z pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server
2023-11-13T13:50:57.7834577Z 
2023-11-13T13:50:57.7834875Z get_zones_info: WARNING: Got unauthorized response from server
2023-11-13T13:50:57.7835560Z [log_msg]: message text=Content-Type: text/plain; charset="us-ascii"
2023-11-13T13:50:57.7836074Z MIME-Version: 1.0
2023-11-13T13:50:57.7836371Z Content-Transfer-Encoding: 7bit
2023-11-13T13:50:57.7836868Z Subject: (unittest) honeywell zone 0: intermittent error during get_zones_info()
2023-11-13T13:50:57.7837413Z From: cjkrolak2@gmail.com
2023-11-13T13:50:57.7837686Z To: cjkrolak2@gmail.com
2023-11-13T13:50:57.7837817Z 
2023-11-13T13:50:57.7838406Z get_zones_info: trial 10 of 9 at 2023-11-13 13:50:56
2023-11-13T13:50:57.7838838Z Traceback (most recent call last):
2023-11-13T13:50:57.7839461Z   File "/home/vsts/work/1/s/thermostatsupervisor/honeywell.py", line 231, in get_zones_info
2023-11-13T13:50:57.7840139Z     return_val = super().get_zones_info()
2023-11-13T13:50:57.7840470Z                  ^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:57.7841392Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
2023-11-13T13:50:57.7842253Z     data = self._post_zone_list_data(page_num)
2023-11-13T13:50:57.7842633Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:57.7843613Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
2023-11-13T13:50:57.7844672Z     return self._request_json(
2023-11-13T13:50:57.7844958Z            ^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:57.7846432Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
2023-11-13T13:50:57.7847252Z     return func(self, *args, **kwargs)
2023-11-13T13:50:57.7847560Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:57.7848447Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
2023-11-13T13:50:57.7849362Z     raise UnauthorizedError("Got unauthorized response from server")
2023-11-13T13:50:57.7849972Z pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server
2023-11-13T13:50:57.7850333Z 
2023-11-13T13:50:57.7850412Z 
2023-11-13T13:50:57.7851553Z email sent from module '<module 'thermostatsupervisor.email_notification' from '/home/vsts/work/1/s/thermostatsupervisor/email_notification.py'>' running on fv-az163-89 (10.1.148.1)
2023-11-13T13:50:57.7852683Z [log_msg]: smtp connection successful
2023-11-13T13:50:57.7853722Z [log_msg]: email account authorization for account cjkrolak2@gmail.com successful
2023-11-13T13:50:57.7854283Z [log_msg]: mail send was successful
2023-11-13T13:50:57.7854924Z [log_msg]: Email sent!
2023-11-13T13:50:57.7855216Z ERRROR: exhausted 9 retries for get_zones_info()
2023-11-13T13:50:57.7855634Z ERROR
2023-11-13T13:50:57.7856251Z test_a_thermostat_basic_checkout (tests.test_kumocloud_integration.FunctionalIntegrationTest.test_a_thermostat_basic_checkout)
2023-11-13T13:50:59.9307199Z Verify thermostat_basic_checkout on target thermostat. ... [log_msg]: Traceback (most recent call last):
2023-11-13T13:50:59.9308394Z   File "/home/vsts/work/1/s/thermostatsupervisor/honeywell.py", line 740, in refresh_zone_info
2023-11-13T13:50:59.9309081Z     all_zones_info = self.pyhtcc.get_zones_info()
2023-11-13T13:50:59.9309454Z                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:59.9310055Z   File "/home/vsts/work/1/s/thermostatsupervisor/honeywell.py", line 261, in get_zones_info
2023-11-13T13:50:59.9310660Z     raise ex
2023-11-13T13:50:59.9311148Z   File "/home/vsts/work/1/s/thermostatsupervisor/honeywell.py", line 231, in get_zones_info
2023-11-13T13:50:59.9311818Z     return_val = super().get_zones_info()
2023-11-13T13:50:59.9312130Z                  ^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:59.9313690Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
2023-11-13T13:50:59.9315135Z     data = self._post_zone_list_data(page_num)
2023-11-13T13:50:59.9315512Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:59.9316995Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
2023-11-13T13:50:59.9317818Z     return self._request_json(
2023-11-13T13:50:59.9318081Z            ^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:59.9319049Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
2023-11-13T13:50:59.9319827Z     return func(self, *args, **kwargs)
2023-11-13T13:50:59.9320794Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T13:50:59.9321692Z   File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
2023-11-13T13:50:59.9322607Z     raise UnauthorizedError("Got unauthorized response from server")
2023-11-13T13:50:59.9324269Z pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server
2023-11-13T13:50:59.9324647Z 
2023-11-13T13:50:59.9325059Z ERROR: unhandled exception Got unauthorized response from server in refresh_zone_info()
2023-11-13T13:50:59.9325702Z 
2023-11-13T13:50:59.9326098Z ERROR: tests.test_honeywell_integration.SuperviseIntegrationTest.test_supervise
2023-11-13T13:50:59.9326786Z      pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server

@cjkrolak
Copy link
Owner Author

another occurrence:

  File "/home/pi/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 444, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.9/http/client.py", line 1347, in getresponse
    response.begin()
  File "/usr/lib/python3.9/http/client.py", line 307, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.9/http/client.py", line 268, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "/usr/lib/python3.9/socket.py", line 704, in readinto
    return self._sock.recv_into(b)
  File "/usr/lib/python3.9/ssl.py", line 1241, in recv_into
    return self.read(nbytes, buffer)
  File "/usr/lib/python3.9/ssl.py", line 1099, in read
    return self._sslobj.read(len, buffer)
urllib3.exceptions.ProtocolError: ('Connection aborted.', OSError(113, 'No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 254, in get_zones_info_with_retries
    return_val = func()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
    return func(self, *args, **kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 696, in _request_json
    result = self.session.request(
  File "/home/pi/.local/lib/python3.9/site-packages/requests/sessions.py", line 589, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/requests/sessions.py", line 703, in send
    r = adapter.send(request, **kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/requests/adapters.py", line 501, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', OSError(113, 'No route to host'))


email sent from module '<module 'thermostatsupervisor.email_notification' from '/home/pi/github/ThermostatSupervisor/thermostatsupervisor/email_notification.py'>' running on raspberrypi4 (127.0.1.1)
[log_msg]: smtp connection successful
[log_msg]: email account authorization for account cjkrolak2@gmail.com successful
[log_msg]: mail send was successful
[log_msg]: Email sent!
[log_msg]: message text=Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: honeywell zone 0: intermittent connection error during get_zones_info_with_retries
From: cjkrolak2@gmail.com
To: cjkrolak2@gmail.com

get_zones_info_with_retries: trial 2 of 11 at 2023-11-29 14:10:19

email sent from module '<module 'thermostatsupervisor.email_notification' from '/home/pi/github/ThermostatSupervisor/thermostatsupervisor/email_notification.py'>' running on raspberrypi4 (127.0.1.1)
[log_msg]: smtp connection successful
[log_msg]: email account authorization for account cjkrolak2@gmail.com successful
[log_msg]: mail send was successful
[log_msg]: Email sent!
2023-11-29 14:10:31: (tstat:honeywell, zone:0, session:1, poll:99) HEAT_MODE [following schedule] act temp=68.0°F, act humidity=36% RH, set point=68.0°F, tolerance=2.0°F, override=68.0°F
revert_thermostat_mode: target_mode='UNKNOWN_MODE', doing nothing.
2023-11-29 14:20:45: (tstat:honeywell, zone:0, session:1, poll:100) HEAT_MODE [following schedule] act temp=68.0°F, act humidity=36% RH, set point=68.0°F, tolerance=2.0°F, override=68.0°F
revert_thermostat_mode: target_mode='UNKNOWN_MODE', doing nothing.
2023-11-29 14:31:00: (tstat:honeywell, zone:0, session:1, poll:101) HEAT_MODE [following schedule] act temp=68.0°F, act humidity=36% RH, set point=68.0°F, tolerance=2.0°F, override=68.0°F
revert_thermostat_mode: target_mode='UNKNOWN_MODE', doing nothing.
2023-11-29 14:41:11: (tstat:honeywell, zone:0, session:1, poll:102) HEAT_MODE [following schedule] act temp=68.0°F, act humidity=36% RH, set point=68.0°F, tolerance=2.0°F, override=68.0°F
revert_thermostat_mode: target_mode='UNKNOWN_MODE', doing nothing.
2023-11-29 14:51:22: (tstat:honeywell, zone:0, session:1, poll:103) HEAT_MODE [following schedule] act temp=68.0°F, act humidity=36% RH, set point=68.0°F, tolerance=2.0°F, override=68.0°F
revert_thermostat_mode: target_mode='UNKNOWN_MODE', doing nothing.
2023-11-29 15:01:30: (tstat:honeywell, zone:0, session:1, poll:104) HEAT_MODE [following schedule] act temp=68.0°F, act humidity=36% RH, set point=68.0°F, tolerance=2.0°F, override=68.0°F
revert_thermostat_mode: target_mode='UNKNOWN_MODE', doing nothing.
[log_msg]: WARNING: exception on trial 1
[log_msg]: Traceback (most recent call last):
  File "/home/pi/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 703, in urlopen
    httplib_response = self._make_request(
  File "/home/pi/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 449, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/home/pi/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 444, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.9/http/client.py", line 1347, in getresponse
    response.begin()
  File "/usr/lib/python3.9/http/client.py", line 307, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.9/http/client.py", line 268, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "/usr/lib/python3.9/socket.py", line 704, in readinto
    return self._sock.recv_into(b)
  File "/usr/lib/python3.9/ssl.py", line 1241, in recv_into
    return self.read(nbytes, buffer)
  File "/usr/lib/python3.9/ssl.py", line 1099, in read
    return self._sslobj.read(len, buffer)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/.local/lib/python3.9/site-packages/requests/adapters.py", line 486, in send
    resp = conn.urlopen(
  File "/home/pi/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 787, in urlopen
    retries = retries.increment(
  File "/home/pi/.local/lib/python3.9/site-packages/urllib3/util/retry.py", line 550, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/home/pi/.local/lib/python3.9/site-packages/urllib3/packages/six.py", line 769, in reraise
    raise value.with_traceback(tb)
  File "/home/pi/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 703, in urlopen
    httplib_response = self._make_request(
  File "/home/pi/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 449, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/home/pi/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 444, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.9/http/client.py", line 1347, in getresponse
    response.begin()
  File "/usr/lib/python3.9/http/client.py", line 307, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.9/http/client.py", line 268, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "/usr/lib/python3.9/socket.py", line 704, in readinto
    return self._sock.recv_into(b)
  File "/usr/lib/python3.9/ssl.py", line 1241, in recv_into
    return self.read(nbytes, buffer)
  File "/usr/lib/python3.9/ssl.py", line 1099, in read
    return self._sslobj.read(len, buffer)
urllib3.exceptions.ProtocolError: ('Connection aborted.', OSError(113, 'No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 254, in get_zones_info_with_retries
    return_val = func()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
    return func(self, *args, **kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 696, in _request_json
    result = self.session.request(
  File "/home/pi/.local/lib/python3.9/site-packages/requests/sessions.py", line 589, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/requests/sessions.py", line 703, in send
    r = adapter.send(request, **kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/requests/adapters.py", line 501, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', OSError(113, 'No route to host'))

[log_msg]: 2023-11-29 15:11:33: exception during get_zones_info_with_retries, on trial 1 of 11, probably a connection issue waiting {retry_delay_sec} seconds and then retrying...
[log_msg]: message text=Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: honeywell zone 0: intermittent error get_zones_info_with_retries
From: cjkrolak2@gmail.com
To: cjkrolak2@gmail.com

get_zones_info_with_retries: trial 1 of 9 at 2023-11-29 15:11:33
Traceback (most recent call last):
  File "/home/pi/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 703, in urlopen
    httplib_response = self._make_request(
  File "/home/pi/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 449, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/home/pi/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 444, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.9/http/client.py", line 1347, in getresponse
    response.begin()
  File "/usr/lib/python3.9/http/client.py", line 307, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.9/http/client.py", line 268, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "/usr/lib/python3.9/socket.py", line 704, in readinto
    return self._sock.recv_into(b)
  File "/usr/lib/python3.9/ssl.py", line 1241, in recv_into
    return self.read(nbytes, buffer)
  File "/usr/lib/python3.9/ssl.py", line 1099, in read
    return self._sslobj.read(len, buffer)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/.local/lib/python3.9/site-packages/requests/adapters.py", line 486, in send
    resp = conn.urlopen(
  File "/home/pi/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 787, in urlopen
    retries = retries.increment(
  File "/home/pi/.local/lib/python3.9/site-packages/urllib3/util/retry.py", line 550, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/home/pi/.local/lib/python3.9/site-packages/urllib3/packages/six.py", line 769, in reraise
    raise value.with_traceback(tb)
  File "/home/pi/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 703, in urlopen
    httplib_response = self._make_request(
  File "/home/pi/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 449, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/home/pi/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 444, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.9/http/client.py", line 1347, in getresponse
    response.begin()
  File "/usr/lib/python3.9/http/client.py", line 307, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.9/http/client.py", line 268, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "/usr/lib/python3.9/socket.py", line 704, in readinto
    return self._sock.recv_into(b)
  File "/usr/lib/python3.9/ssl.py", line 1241, in recv_into
    return self.read(nbytes, buffer)
  File "/usr/lib/python3.9/ssl.py", line 1099, in read
    return self._sslobj.read(len, buffer)
urllib3.exceptions.ProtocolError: ('Connection aborted.', OSError(113, 'No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 254, in get_zones_info_with_retries
    return_val = func()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
    return func(self, *args, **kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 696, in _request_json
    result = self.session.request(
  File "/home/pi/.local/lib/python3.9/site-packages/requests/sessions.py", line 589, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/requests/sessions.py", line 703, in send
    r = adapter.send(request, **kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/requests/adapters.py", line 501, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', OSError(113, 'No route to host'))


email sent from module '<module 'thermostatsupervisor.email_notification' from '/home/pi/github/ThermostatSupervisor/thermostatsupervisor/email_notification.py'>' running on raspberrypi4 (127.0.1.1)
[log_msg]: smtp connection successful
[log_msg]: email account authorization for account cjkrolak2@gmail.com successful
[log_msg]: mail send was successful
[log_msg]: Email sent!
[log_msg]: message text=Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: honeywell zone 0: intermittent connection error during get_zones_info_with_retries
From: cjkrolak2@gmail.com
To: cjkrolak2@gmail.com

get_zones_info_with_retries: trial 2 of 11 at 2023-11-29 15:28:00

email sent from module '<module 'thermostatsupervisor.email_notification' from '/home/pi/github/ThermostatSupervisor/thermostatsupervisor/email_notification.py'>' running on raspberrypi4 (127.0.1.1)
[log_msg]: smtp connection successful
[log_msg]: email account authorization for account cjkrolak2@gmail.com successful
[log_msg]: mail send was successful
[log_msg]: Email sent!
2023-11-29 15:28:08: (tstat:honeywell, zone:0, session:1, poll:105) HEAT_MODE [following schedule] act temp=68.0°F, act humidity=36% RH, set point=68.0°F, tolerance=2.0°F, override=68.0°F
revert_thermostat_mode: target_mode='UNKNOWN_MODE', doing nothing.
[log_msg]: WARNING: exception on trial 1
[log_msg]: Traceback (most recent call last):
  File "/home/pi/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 703, in urlopen
    httplib_response = self._make_request(
  File "/home/pi/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 449, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/home/pi/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 444, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.9/http/client.py", line 1347, in getresponse
    response.begin()
  File "/usr/lib/python3.9/http/client.py", line 307, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.9/http/client.py", line 268, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "/usr/lib/python3.9/socket.py", line 704, in readinto
    return self._sock.recv_into(b)
  File "/usr/lib/python3.9/ssl.py", line 1241, in recv_into
    return self.read(nbytes, buffer)
  File "/usr/lib/python3.9/ssl.py", line 1099, in read
    return self._sslobj.read(len, buffer)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/.local/lib/python3.9/site-packages/requests/adapters.py", line 486, in send
    resp = conn.urlopen(
  File "/home/pi/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 787, in urlopen
    retries = retries.increment(
  File "/home/pi/.local/lib/python3.9/site-packages/urllib3/util/retry.py", line 550, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/home/pi/.local/lib/python3.9/site-packages/urllib3/packages/six.py", line 769, in reraise
    raise value.with_traceback(tb)
  File "/home/pi/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 703, in urlopen
    httplib_response = self._make_request(
  File "/home/pi/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 449, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/home/pi/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 444, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.9/http/client.py", line 1347, in getresponse
    response.begin()
  File "/usr/lib/python3.9/http/client.py", line 307, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.9/http/client.py", line 268, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "/usr/lib/python3.9/socket.py", line 704, in readinto
    return self._sock.recv_into(b)
  File "/usr/lib/python3.9/ssl.py", line 1241, in recv_into
    return self.read(nbytes, buffer)
  File "/usr/lib/python3.9/ssl.py", line 1099, in read
    return self._sslobj.read(len, buffer)
urllib3.exceptions.ProtocolError: ('Connection aborted.', OSError(113, 'No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 254, in get_zones_info_with_retries
    return_val = func()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
    return func(self, *args, **kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 696, in _request_json
    result = self.session.request(
  File "/home/pi/.local/lib/python3.9/site-packages/requests/sessions.py", line 589, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/requests/sessions.py", line 703, in send
    r = adapter.send(request, **kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/requests/adapters.py", line 501, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', OSError(113, 'No route to host'))

[log_msg]: 2023-11-29 15:38:11: exception during get_zones_info_with_retries, on trial 1 of 11, probably a connection issue waiting {retry_delay_sec} seconds and then retrying...
[log_msg]: message text=Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: honeywell zone 0: intermittent error get_zones_info_with_retries
From: cjkrolak2@gmail.com
To: cjkrolak2@gmail.com

get_zones_info_with_retries: trial 1 of 9 at 2023-11-29 15:38:11
Traceback (most recent call last):
  File "/home/pi/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 703, in urlopen
    httplib_response = self._make_request(
  File "/home/pi/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 449, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/home/pi/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 444, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.9/http/client.py", line 1347, in getresponse
    response.begin()
  File "/usr/lib/python3.9/http/client.py", line 307, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.9/http/client.py", line 268, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "/usr/lib/python3.9/socket.py", line 704, in readinto
    return self._sock.recv_into(b)
  File "/usr/lib/python3.9/ssl.py", line 1241, in recv_into
    return self.read(nbytes, buffer)
  File "/usr/lib/python3.9/ssl.py", line 1099, in read
    return self._sslobj.read(len, buffer)
OSError: [Errno 113] No route to host

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/.local/lib/python3.9/site-packages/requests/adapters.py", line 486, in send
    resp = conn.urlopen(
  File "/home/pi/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 787, in urlopen
    retries = retries.increment(
  File "/home/pi/.local/lib/python3.9/site-packages/urllib3/util/retry.py", line 550, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/home/pi/.local/lib/python3.9/site-packages/urllib3/packages/six.py", line 769, in reraise
    raise value.with_traceback(tb)
  File "/home/pi/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 703, in urlopen
    httplib_response = self._make_request(
  File "/home/pi/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 449, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/home/pi/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 444, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.9/http/client.py", line 1347, in getresponse
    response.begin()
  File "/usr/lib/python3.9/http/client.py", line 307, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.9/http/client.py", line 268, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "/usr/lib/python3.9/socket.py", line 704, in readinto
    return self._sock.recv_into(b)
  File "/usr/lib/python3.9/ssl.py", line 1241, in recv_into
    return self.read(nbytes, buffer)
  File "/usr/lib/python3.9/ssl.py", line 1099, in read
    return self._sslobj.read(len, buffer)
urllib3.exceptions.ProtocolError: ('Connection aborted.', OSError(113, 'No route to host'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 254, in get_zones_info_with_retries
    return_val = func()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
    return func(self, *args, **kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 696, in _request_json
    result = self.session.request(
  File "/home/pi/.local/lib/python3.9/site-packages/requests/sessions.py", line 589, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/requests/sessions.py", line 703, in send
    r = adapter.send(request, **kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/requests/adapters.py", line 501, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', OSError(113, 'No route to host'))


email sent from module '<module 'thermostatsupervisor.email_notification' from '/home/pi/github/ThermostatSupervisor/thermostatsupervisor/email_notification.py'>' running on raspberrypi4 (127.0.1.1)
[log_msg]: smtp connection successful
[log_msg]: email account authorization for account cjkrolak2@gmail.com successful
[log_msg]: mail send was successful
[log_msg]: Email sent!
[log_msg]: message text=Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: honeywell zone 0: intermittent connection error during get_zones_info_with_retries
From: cjkrolak2@gmail.com
To: cjkrolak2@gmail.com

get_zones_info_with_retries: trial 2 of 11 at 2023-11-29 15:54:40

email sent from module '<module 'thermostatsupervisor.email_notification' from '/home/pi/github/ThermostatSupervisor/thermostatsupervisor/email_notification.py'>' running on raspberrypi4 (127.0.1.1)
[log_msg]: smtp connection successful
[log_msg]: email account authorization for account cjkrolak2@gmail.com successful
[log_msg]: mail send was successful
[log_msg]: Email sent!
2023-11-29 15:54:47: (tstat:honeywell, zone:0, session:1, poll:106) HEAT_MODE [following schedule] act temp=68.0°F, act humidity=36% RH, set point=68.0°F, tolerance=2.0°F, override=68.0°F
revert_thermostat_mode: target_mode='UNKNOWN_MODE', doing nothing.
2023-11-29 16:04:57: (tstat:honeywell, zone:0, session:1, poll:107) HEAT_MODE [following schedule] act temp=68.0°F, act humidity=36% RH, set point=68.0°F, tolerance=2.0°F, override=68.0°F
revert_thermostat_mode: target_mode='UNKNOWN_MODE', doing nothing.
2023-11-29 16:15:08: (tstat:honeywell, zone:0, session:1, poll:108) HEAT_MODE [following schedule] act temp=68.0°F, act humidity=36% RH, set point=68.0°F, tolerance=2.0°F, override=68.0°F
revert_thermostat_mode: target_mode='UNKNOWN_MODE', doing nothing.
2023-11-29 16:25:25: (tstat:honeywell, zone:0, session:1, poll:109) HEAT_MODE [following schedule] act temp=68.0°F, act humidity=36% RH, set point=68.0°F, tolerance=2.0°F, override=68.0°F
revert_thermostat_mode: target_mode='UNKNOWN_MODE', doing nothing.
2023-11-29 16:35:35: (tstat:honeywell, zone:0, session:1, poll:110) HEAT_MODE [following schedule] act temp=68.0°F, act humidity=36% RH, set point=68.0°F, tolerance=2.0°F, override=68.0°F
revert_thermostat_mode: target_mode='UNKNOWN_MODE', doing nothing.
2023-11-29 16:45:44: (tstat:honeywell, zone:0, session:1, poll:111) HEAT_MODE [following schedule] act temp=69.0°F, act humidity=36% RH, set point=68.0°F, tolerance=2.0°F, override=69.0°F
revert_thermostat_mode: target_mode='UNKNOWN_MODE', doing nothing.
2023-11-29 16:55:54: (tstat:honeywell, zone:0, session:1, poll:112) HEAT_MODE [following schedule] act temp=69.0°F, act humidity=36% RH, set point=68.0°F, tolerance=2.0°F, override=69.0°F
revert_thermostat_mode: target_mode='UNKNOWN_MODE', doing nothing.
[log_msg]: WARNING: exception on trial 1
[log_msg]: Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 254, in get_zones_info_with_retries
    return_val = func()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
    return func(self, *args, **kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server

[log_msg]: 2023-11-29 17:05:58: exception during get_zones_info_with_retries, on trial 1 of 11, probably a connection issue waiting {retry_delay_sec} seconds and then retrying...
[log_msg]: message text=Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: honeywell zone 0: intermittent error get_zones_info_with_retries
From: cjkrolak2@gmail.com
To: cjkrolak2@gmail.com

get_zones_info_with_retries: trial 1 of 9 at 2023-11-29 17:05:58
Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 254, in get_zones_info_with_retries
    return_val = func()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
    return func(self, *args, **kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server


email sent from module '<module 'thermostatsupervisor.email_notification' from '/home/pi/github/ThermostatSupervisor/thermostatsupervisor/email_notification.py'>' running on raspberrypi4 (127.0.1.1)
[log_msg]: smtp connection successful
[log_msg]: email account authorization for account cjkrolak2@gmail.com successful
[log_msg]: mail send was successful
[log_msg]: Email sent!
[log_msg]: WARNING: exception on trial 2
[log_msg]: Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 254, in get_zones_info_with_retries
    return_val = func()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
    return func(self, *args, **kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server

[log_msg]: 2023-11-29 17:07:00: exception during get_zones_info_with_retries, on trial 2 of 11, probably a connection issue waiting {retry_delay_sec} seconds and then retrying...
[log_msg]: message text=Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: honeywell zone 0: intermittent error get_zones_info_with_retries
From: cjkrolak2@gmail.com
To: cjkrolak2@gmail.com

get_zones_info_with_retries: trial 2 of 9 at 2023-11-29 17:07:00
Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 254, in get_zones_info_with_retries
    return_val = func()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
    return func(self, *args, **kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server


email sent from module '<module 'thermostatsupervisor.email_notification' from '/home/pi/github/ThermostatSupervisor/thermostatsupervisor/email_notification.py'>' running on raspberrypi4 (127.0.1.1)
[log_msg]: smtp connection successful
[log_msg]: email account authorization for account cjkrolak2@gmail.com successful
[log_msg]: mail send was successful
[log_msg]: Email sent!
[log_msg]: WARNING: exception on trial 3
[log_msg]: Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 254, in get_zones_info_with_retries
    return_val = func()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
    return func(self, *args, **kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server

[log_msg]: 2023-11-29 17:09:01: exception during get_zones_info_with_retries, on trial 3 of 11, probably a connection issue waiting {retry_delay_sec} seconds and then retrying...
[log_msg]: message text=Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: honeywell zone 0: intermittent error get_zones_info_with_retries
From: cjkrolak2@gmail.com
To: cjkrolak2@gmail.com

get_zones_info_with_retries: trial 3 of 9 at 2023-11-29 17:09:01
Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 254, in get_zones_info_with_retries
    return_val = func()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
    return func(self, *args, **kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server


email sent from module '<module 'thermostatsupervisor.email_notification' from '/home/pi/github/ThermostatSupervisor/thermostatsupervisor/email_notification.py'>' running on raspberrypi4 (127.0.1.1)
[log_msg]: smtp connection successful
[log_msg]: email account authorization for account cjkrolak2@gmail.com successful
[log_msg]: mail send was successful
[log_msg]: Email sent!
[log_msg]: WARNING: exception on trial 4
[log_msg]: Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 254, in get_zones_info_with_retries
    return_val = func()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
    return func(self, *args, **kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server

[log_msg]: 2023-11-29 17:13:02: exception during get_zones_info_with_retries, on trial 4 of 11, probably a connection issue waiting {retry_delay_sec} seconds and then retrying...
[log_msg]: message text=Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: honeywell zone 0: intermittent error get_zones_info_with_retries
From: cjkrolak2@gmail.com
To: cjkrolak2@gmail.com

get_zones_info_with_retries: trial 4 of 9 at 2023-11-29 17:13:02
Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 254, in get_zones_info_with_retries
    return_val = func()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
    return func(self, *args, **kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server


email sent from module '<module 'thermostatsupervisor.email_notification' from '/home/pi/github/ThermostatSupervisor/thermostatsupervisor/email_notification.py'>' running on raspberrypi4 (127.0.1.1)
[log_msg]: smtp connection successful
[log_msg]: email account authorization for account cjkrolak2@gmail.com successful
[log_msg]: mail send was successful
[log_msg]: Email sent!
[log_msg]: WARNING: exception on trial 5
[log_msg]: Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 254, in get_zones_info_with_retries
    return_val = func()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
    return func(self, *args, **kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server

[log_msg]: 2023-11-29 17:21:04: exception during get_zones_info_with_retries, on trial 5 of 11, probably a connection issue waiting {retry_delay_sec} seconds and then retrying...
[log_msg]: message text=Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: honeywell zone 0: intermittent error get_zones_info_with_retries
From: cjkrolak2@gmail.com
To: cjkrolak2@gmail.com

get_zones_info_with_retries: trial 5 of 9 at 2023-11-29 17:21:04
Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 254, in get_zones_info_with_retries
    return_val = func()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
    return func(self, *args, **kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server


email sent from module '<module 'thermostatsupervisor.email_notification' from '/home/pi/github/ThermostatSupervisor/thermostatsupervisor/email_notification.py'>' running on raspberrypi4 (127.0.1.1)
[log_msg]: smtp connection successful
[log_msg]: email account authorization for account cjkrolak2@gmail.com successful
[log_msg]: mail send was successful
[log_msg]: Email sent!
[log_msg]: WARNING: exception on trial 6
[log_msg]: Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 254, in get_zones_info_with_retries
    return_val = func()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
    return func(self, *args, **kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server

[log_msg]: 2023-11-29 17:37:06: exception during get_zones_info_with_retries, on trial 6 of 11, probably a connection issue waiting {retry_delay_sec} seconds and then retrying...
[log_msg]: message text=Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: honeywell zone 0: intermittent error get_zones_info_with_retries
From: cjkrolak2@gmail.com
To: cjkrolak2@gmail.com

get_zones_info_with_retries: trial 6 of 9 at 2023-11-29 17:37:06
Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 254, in get_zones_info_with_retries
    return_val = func()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
    return func(self, *args, **kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server


email sent from module '<module 'thermostatsupervisor.email_notification' from '/home/pi/github/ThermostatSupervisor/thermostatsupervisor/email_notification.py'>' running on raspberrypi4 (127.0.1.1)
[log_msg]: smtp connection successful
[log_msg]: email account authorization for account cjkrolak2@gmail.com successful
[log_msg]: mail send was successful
[log_msg]: Email sent!
[log_msg]: WARNING: exception on trial 7
[log_msg]: Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 254, in get_zones_info_with_retries
    return_val = func()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
    return func(self, *args, **kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server

[log_msg]: 2023-11-29 18:09:08: exception during get_zones_info_with_retries, on trial 7 of 11, probably a connection issue waiting {retry_delay_sec} seconds and then retrying...
[log_msg]: message text=Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: honeywell zone 0: intermittent error get_zones_info_with_retries
From: cjkrolak2@gmail.com
To: cjkrolak2@gmail.com

get_zones_info_with_retries: trial 7 of 9 at 2023-11-29 18:09:08
Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 254, in get_zones_info_with_retries
    return_val = func()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
    return func(self, *args, **kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server


email sent from module '<module 'thermostatsupervisor.email_notification' from '/home/pi/github/ThermostatSupervisor/thermostatsupervisor/email_notification.py'>' running on raspberrypi4 (127.0.1.1)
[log_msg]: smtp connection successful
[log_msg]: email account authorization for account cjkrolak2@gmail.com successful
[log_msg]: mail send was successful
[log_msg]: Email sent!
[log_msg]: WARNING: exception on trial 8
[log_msg]: Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 254, in get_zones_info_with_retries
    return_val = func()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
    return func(self, *args, **kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server

[log_msg]: 2023-11-29 19:13:15: exception during get_zones_info_with_retries, on trial 8 of 11, probably a connection issue waiting {retry_delay_sec} seconds and then retrying...
[log_msg]: message text=Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: honeywell zone 0: intermittent error get_zones_info_with_retries
From: cjkrolak2@gmail.com
To: cjkrolak2@gmail.com

get_zones_info_with_retries: trial 8 of 9 at 2023-11-29 19:13:15
Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 254, in get_zones_info_with_retries
    return_val = func()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
    return func(self, *args, **kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server


email sent from module '<module 'thermostatsupervisor.email_notification' from '/home/pi/github/ThermostatSupervisor/thermostatsupervisor/email_notification.py'>' running on raspberrypi4 (127.0.1.1)
[log_msg]: smtp connection successful
[log_msg]: email account authorization for account cjkrolak2@gmail.com successful
[log_msg]: mail send was successful
[log_msg]: Email sent!
[log_msg]: WARNING: exception on trial 9
[log_msg]: Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 254, in get_zones_info_with_retries
    return_val = func()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
    return func(self, *args, **kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server

[log_msg]: 2023-11-29 21:21:17: exception during get_zones_info_with_retries, on trial 9 of 11, probably a connection issue waiting {retry_delay_sec} seconds and then retrying...
[log_msg]: message text=Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: honeywell zone 0: intermittent error get_zones_info_with_retries
From: cjkrolak2@gmail.com
To: cjkrolak2@gmail.com

get_zones_info_with_retries: trial 9 of 9 at 2023-11-29 21:21:17
Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 254, in get_zones_info_with_retries
    return_val = func()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
    return func(self, *args, **kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server


email sent from module '<module 'thermostatsupervisor.email_notification' from '/home/pi/github/ThermostatSupervisor/thermostatsupervisor/email_notification.py'>' running on raspberrypi4 (127.0.1.1)
[log_msg]: smtp connection successful
[log_msg]: email account authorization for account cjkrolak2@gmail.com successful
[log_msg]: mail send was successful
[log_msg]: Email sent!
[log_msg]: WARNING: exception on trial 10
[log_msg]: Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 254, in get_zones_info_with_retries
    return_val = func()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
    return func(self, *args, **kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server

[log_msg]: 2023-11-30 01:37:19: exception during get_zones_info_with_retries, on trial 10 of 11, probably a connection issue waiting {retry_delay_sec} seconds and then retrying...
[log_msg]: message text=Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: honeywell zone 0: intermittent error get_zones_info_with_retries
From: cjkrolak2@gmail.com
To: cjkrolak2@gmail.com

get_zones_info_with_retries: trial 10 of 9 at 2023-11-30 01:37:19
Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 254, in get_zones_info_with_retries
    return_val = func()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
    return func(self, *args, **kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server


email sent from module '<module 'thermostatsupervisor.email_notification' from '/home/pi/github/ThermostatSupervisor/thermostatsupervisor/email_notification.py'>' running on raspberrypi4 (127.0.1.1)
[log_msg]: smtp connection successful
[log_msg]: email account authorization for account cjkrolak2@gmail.com successful
[log_msg]: mail send was successful
[log_msg]: Email sent!
ERRROR: exhausted 9 retries for get_zones_info_with_retries
[log_msg]: WARNING: exception on trial 1
[log_msg]: Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 254, in get_zones_info_with_retries
    return_val = func()
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 228, in get_zones_info
    return get_zones_info_with_retries(super().get_zones_info,
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 298, in get_zones_info_with_retries
    raise ex
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 254, in get_zones_info_with_retries
    return_val = func()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
    return func(self, *args, **kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server

[log_msg]: 2023-11-29 17:05:58: exception during get_zones_info_with_retries, on trial 1 of 11, probably a connection issue waiting {retry_delay_sec} seconds and then retrying...
[log_msg]: message text=Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: honeywell zone 0: intermittent error get_zones_info_with_retries
From: cjkrolak2@gmail.com
To: cjkrolak2@gmail.com

get_zones_info_with_retries: trial 11 of 9 at 2023-11-29 17:05:58
Traceback (most recent call last):
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 254, in get_zones_info_with_retries
    return_val = func()
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 228, in get_zones_info
    return get_zones_info_with_retries(super().get_zones_info,
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 298, in get_zones_info_with_retries
    raise ex
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 254, in get_zones_info_with_retries
    return_val = func()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
    return func(self, *args, **kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server


email sent from module '<module 'thermostatsupervisor.email_notification' from '/home/pi/github/ThermostatSupervisor/thermostatsupervisor/email_notification.py'>' running on raspberrypi4 (127.0.1.1)
[log_msg]: smtp connection successful
[log_msg]: email account authorization for account cjkrolak2@gmail.com successful
[log_msg]: mail send was successful
[log_msg]: Email sent!
ERRROR: exhausted 9 retries for get_zones_info_with_retries
Traceback (most recent call last):
  File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/supervise.py", line 133, in <module>
    exec_supervise(debug=True, argv_list=argv_inputs)
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/supervise.py", line 113, in exec_supervise
    supervisor(api.uip.get_user_inputs(api.uip.parent_keys[0],
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/supervise.py", line 76, in supervisor
    measurement = Zone.supervisor_loop(Thermostat, session_count,
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/thermostat_common.py", line 1054, in supervisor_loop
    self.refresh_zone_info()
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 796, in refresh_zone_info
    all_zones_info = get_zones_info_with_retries(
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 298, in get_zones_info_with_retries
    raise ex
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 254, in get_zones_info_with_retries
    return_val = func()
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 228, in get_zones_info
    return get_zones_info_with_retries(super().get_zones_info,
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 298, in get_zones_info_with_retries
    raise ex
  File "/home/pi/github/ThermostatSupervisor/thermostatsupervisor/honeywell.py", line 254, in get_zones_info_with_retries
    return_val = func()
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 736, in get_zones_info
    data = self._post_zone_list_data(page_num)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 669, in _post_zone_list_data
    return self._request_json(
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 515, in decorator
    return func(self, *args, **kwargs)
  File "/home/pi/.local/lib/python3.9/site-packages/pyhtcc/pyhtcc.py", line 721, in _request_json
    raise UnauthorizedError("Got unauthorized response from server")
pyhtcc.pyhtcc.UnauthorizedError: Got unauthorized response from server

@cjkrolak cjkrolak changed the title UnauthorizedError on Honeywell Honeywell UnauthorizedError Nov 30, 2023
@cjkrolak cjkrolak changed the title Honeywell UnauthorizedError Honeywell (intermittent) UnauthorizedError Dec 2, 2023
@cjkrolak cjkrolak changed the title Honeywell (intermittent) UnauthorizedError Honeywell: (intermittent) UnauthorizedError Dec 2, 2023
@cjkrolak
Copy link
Owner Author

this issue has not been observed in a little while, the upgrade to python 3.12 on pi machines may have helped improve reliability, I am decreasing the priority on this issue.

@cjkrolak cjkrolak added Priority-2 medium priority issues (fix within 6 months) and removed Priority-1 high priority issues (fix within 1 month) labels Dec 26, 2023
@cjkrolak
Copy link
Owner Author

cjkrolak commented Feb 2, 2025

intermittent error, deprioritizing.

@cjkrolak cjkrolak added Priority-3 lowest priority, no commit date on fix and removed Priority-2 medium priority issues (fix within 6 months) labels Feb 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working honeywell honeywell-specific issues Priority-3 lowest priority, no commit date on fix
Projects
None yet
Development

No branches or pull requests

1 participant