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

Error 503 on logout #3

Open
uglycoyote opened this issue Dec 8, 2022 · 1 comment
Open

Error 503 on logout #3

uglycoyote opened this issue Dec 8, 2022 · 1 comment

Comments

@uglycoyote
Copy link
Contributor

This is awesome! I have it working and I get the sensor data but the logout code is crashing with HTTP 503.

Exception has occurred: HTTPError
Failed to logout, status code: 503
  File "/home/mike/weather/lacrosse_view/__init__.py", line 261, in logout
    raise HTTPError(f"Failed to logout, status code: {str(response.status)}")
  File "/home/mike/weather/GetWeather.py", line 37, in get_data
    await api.logout()
  File "/home/mike/weather/GetWeather.py", line 39, in <module>
    asyncio.run(get_data())

just curious if you get this as well, and whether you know if there's a solution.

FYI 503 is Service Unavailable https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/503

@IceBotYT
Copy link
Owner

IceBotYT commented Dec 8, 2022

Yeah logout doesn't work. I should deprecate it and remove it in a future update :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants