Skip to content

Commit

Permalink
fix: fix reauth caused by bad amazon response
Browse files Browse the repository at this point in the history
Amazon EU servers are returning random http errors now beyond 500.
The responses aren't json and would trigger the reauth code.

Thanks to @dpembo for providing the logs
closes #1717
  • Loading branch information
alandtse committed Sep 7, 2022
1 parent af5efbf commit 58af5b3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
2 changes: 1 addition & 1 deletion custom_components/alexa_media/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"issue_tracker": "https://github.com/custom-components/alexa_media_player/issues",
"dependencies": ["persistent_notification", "http"],
"codeowners": ["@alandtse", "@keatontaylor"],
"requirements": ["alexapy==1.26.2", "packaging>=20.3", "wrapt>=1.12.1"],
"requirements": ["alexapy==1.26.3", "packaging>=20.3", "wrapt>=1.12.1"],
"iot_class": "cloud_polling"
}
17 changes: 7 additions & 10 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license = "Apache-2.0"

[tool.poetry.dependencies]
python = "^3.8"
alexapy = "1.26.1"
alexapy = "1.26.3"
packaging = ">=20.3"
wrapt = ">=1.12.1"

Expand Down

0 comments on commit 58af5b3

Please sign in to comment.