You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 16, 2023. It is now read-only.
I'm trying to get this working with homeassistant. The command line test was timing out in _fetch_car.
What I Did
After trying a few things, I was able to get it working by removing the headers (headers=headers) from both self.session.get calls in _fetch_car. Maybe GM doesn't like the choice of USER_AGENT anymore?
The text was updated successfully, but these errors were encountered:
Thanks for this info. I was having this same problem when running this script on my hostgator website, but when I run it on my local ubuntu laptop it works fine. I was able to get it working on hostgator by removing the headers=headers parameters in those two calls in _fetch_car. I don't know exactly what this means, but I guess some combination of the user agent and other things about a request from a hostgator server seem to prevent it from working.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
I'm trying to get this working with homeassistant. The command line test was timing out in _fetch_car.
What I Did
After trying a few things, I was able to get it working by removing the headers (headers=headers) from both self.session.get calls in _fetch_car. Maybe GM doesn't like the choice of USER_AGENT anymore?
The text was updated successfully, but these errors were encountered: