Getting continously error messages from Polestar api in GUI:
Garage: vehicle soc: Message: Post \"https://pc-api.polestar.com/eu-north-1/mystar-v2\": Message: User not authenticated, Locations: [], Extensions: map[code:UNAUTHENTICATED exception:map[locations:[map[column:49 line:1]] message:User not authenticated path:[refreshAuthToken] stacktrace:[AuthenticationError: User not authenticated at ULi (/var/task/src/functions/auth/handler.js:1322:2695784) at GLi (/var/task/src/functions/auth/handler.js:1322:2697052) at refreshAuthToken (/var/task/src/functions/auth/handler.js:1322:2724075) at Lbr.r.resolve (/var/task/src/functions/auth/handler.js:288:6635) at WEe (/var/task/src/functions/auth/handler.js:84:5200) at x3 (/var/task/src/functions/auth/handler.js:84:4784) at cnr (/var/task/src/functions/auth/handler.js:84:4308) at jEe (/var/task/src/functions/auth/handler.js:84:2354) at f (/var/task/src/functions/auth/handler.js:288:41070) at Vfr (/var/task/src/functions/auth/handler.js:288:40241)]] serviceName:auth], Path: [refreshAuthToken], Locations: [], Extensions: map[code:request_error], Path: []
While testing with "evcc -l debug vehicle" it works fine all the time:
[main ] INFO 2024/02/26 10:54:17 evcc 0.124.4 (3bf57f87)
[main ] INFO 2024/02/26 10:54:17 using config file: /etc/evcc.yaml
[db ] INFO 2024/02/26 10:54:17 using sqlite database: /root/.evcc/evcc.db
Soc: 71%
Capacity: 78.0kWh
Charge status: B
Range: 230km
Odometer: 11926km
Finish time: 2024-02-26 19:54:00 +0100 CET
OnIdentified: Mode:pv, Priority:1, MinCurrent:6, MaxCurrent:16
After restarting evcc it works for a unspecific time.
Steps to reproduce
start evcc
wait a unspecific time or disconnect - connect to wallbox
Describe the bug
Getting continously error messages from Polestar api in GUI:
Garage: vehicle soc: Message: Post \"https://pc-api.polestar.com/eu-north-1/mystar-v2\": Message: User not authenticated, Locations: [], Extensions: map[code:UNAUTHENTICATED exception:map[locations:[map[column:49 line:1]] message:User not authenticated path:[refreshAuthToken] stacktrace:[AuthenticationError: User not authenticated at ULi (/var/task/src/functions/auth/handler.js:1322:2695784) at GLi (/var/task/src/functions/auth/handler.js:1322:2697052) at refreshAuthToken (/var/task/src/functions/auth/handler.js:1322:2724075) at Lbr.r.resolve (/var/task/src/functions/auth/handler.js:288:6635) at WEe (/var/task/src/functions/auth/handler.js:84:5200) at x3 (/var/task/src/functions/auth/handler.js:84:4784) at cnr (/var/task/src/functions/auth/handler.js:84:4308) at jEe (/var/task/src/functions/auth/handler.js:84:2354) at f (/var/task/src/functions/auth/handler.js:288:41070) at Vfr (/var/task/src/functions/auth/handler.js:288:40241)]] serviceName:auth], Path: [refreshAuthToken], Locations: [], Extensions: map[code:request_error], Path: []
While testing with "evcc -l debug vehicle" it works fine all the time:
[main ] INFO 2024/02/26 10:54:17 evcc 0.124.4 (3bf57f87) [main ] INFO 2024/02/26 10:54:17 using config file: /etc/evcc.yaml [db ] INFO 2024/02/26 10:54:17 using sqlite database: /root/.evcc/evcc.db Soc: 71% Capacity: 78.0kWh Charge status: B Range: 230km Odometer: 11926km Finish time: 2024-02-26 19:54:00 +0100 CET OnIdentified: Mode:pv, Priority:1, MinCurrent:6, MaxCurrent:16
After restarting evcc it works for a unspecific time.
Steps to reproduce
Configuration details
Log details
What type of operating system are you running?
Linux
Version
evcc version 0.124.4 (3bf57f87)