Example shell script seems to get into a weird cookie state #80
ryanseddon
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thanks for the project! I've been using your example shell script to query my powerwall and auth will work fine if there isn't already a cookie or the cookie is still valid but it seems the expiry is quite low and only after an hour will it reject with:
Running the script again seems to go through the
create_cookie
function but this time it rejects the request stating it has anInvalid bearer token
:It's not until I manually remove the cookie text file that it'll authenticate and work again? Any ideas whats going on here?
Beta Was this translation helpful? Give feedback.
All reactions