Skip to content

Commit

Permalink
fix: fix reconnect on http2 close
Browse files Browse the repository at this point in the history
  • Loading branch information
alandtse committed Sep 30, 2023
1 parent 9bd0ffc commit adbbf91
Show file tree
Hide file tree
Showing 4 changed files with 98 additions and 83 deletions.
2 changes: 1 addition & 1 deletion custom_components/alexa_media/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1121,8 +1121,8 @@ async def http2_close_handler():
This should attempt to reconnect up to 5 times
"""

email: str = login_obj.email
hass.data[DATA_ALEXAMEDIA]["accounts"][email]["http2"] = None
if login_obj.close_requested:
_LOGGER.debug(
"%s: Close requested; will not reconnect http2", hide_email(email)
Expand Down
2 changes: 1 addition & 1 deletion custom_components/alexa_media/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/custom-components/alexa_media_player/issues",
"loggers": ["alexapy", "authcaptureproxy"],
"requirements": ["alexapy==1.27.2", "packaging>=20.3", "wrapt>=1.12.1"],
"requirements": ["alexapy==1.27.3", "packaging>=20.3", "wrapt>=1.12.1"],
"version": "4.6.5"
}
Loading

0 comments on commit adbbf91

Please sign in to comment.