Skip to content

v2.3.2

Latest

Choose a tag to compare

@mbillow mbillow released this 28 Mar 06:16
691112f

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.