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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
v2.3.2
Bug Fixes
Complete fix for authentication loss after ~2 hours — v2.3.1 added the _request hook to re-call _set_coulomb_token on every response, but the
underlying update_cookies() call still left aiohttp's internal expiry
timestamp untouched. The cookie was therefore still evicted after the
server-set Max-Age=7200, causing RuntimeError: Must login to use ChargePoint API in long-running integrations. _set_coulomb_token now
sets an explicit ~10-year max-age so that every update_cookies() call
overwrites the expiry timestamp, permanently preventing eviction.