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 }}
Repository navigation
Bug: "Remote access requires a sponsor token" #31604
I noticed twice already, that my set up remote access stopped working.
The first time I can't tell what the circumstances are, but this time it was directly after I updated the docker.
Remote access page says "feedback welcome" so here I go.
After the update of docker, I noticed the remote access is no longer working:
Log shows:
[remote] WARN 2026/07/08 23:35:43 remote access requires a sponsor token
Sponsorship shows:
Sponsoring page itself looks fine:
All other functions seem to work.
Except these two issues I never had any issues. I would say 50% the first issue was also after a docker update or reboot.
After rebooting the docker, the issue vanished. Still wanted to report this bug, even if not critical.
Steps to reproduce
Update docker?
(???)
Sponsorship status can't be authenticated
What type of operating system or environment does evcc run on?
Docker container
External automation
I have made sure that no external automation like HomeAssistant or Node-RED is active or accessing any of the mentioned devices when this issue occurs.
Nightly build
I have verified that the issue is reproducible with the latest nightly build
"sponsorship unavailable" means, that you're instance was not able to contact the sponsor server on boot. Do you have this permanently or only sometimes after docker update?
"sponsorship unavailable" means, that you're instance was not able to contact the sponsor server on boot. Do you have this permanently or only sometimes after docker update?
I assumed that, but I don't see a reason for it. My internet was working at the point of docker boot. It was fixed after a new reboot of the docker.
I can test again these days if it happens more often with docker reboots.
I can test again these days if it happens more often with docker reboots.
Yes please do. If we can make boot more reliable we should do that.
I haven't experienced similar docker issues in my setup (daily reboot / nightly). So we should rule out connectivity issues first. Remote access not working is a subsequent effect of this - explicit sponsor checking before connect was introduced a couple of days ago. I'll close here for now. Please create a new one if you can isolate/reproduce this behavior.
@naltatis The access does not work currently. I tried with two phones, from Wifi and from mobile data plan.
Config shows:
I don't get what "ladebereit" means in this relation. Is it a label bug and it should normally show "online" or something?
I don't see any issues in the log, but both phones say "Suche nach Verbindung...".
I can try restarting the docker, but I would prefer taking some steps to come to the root cause of it. Is there any command I can run to debug the situation? This happened to me once already, which I fixed with adding the phones again and deleting the old devices.
Not sure if it's the same root cause this time.
Found it. Today at 10:13:28Z an infra restart forced a reconnect of all clients. Due to a server error you're instance (and likely many others) the sponsoring could not be validated. The behavior introduced in #31267 makes clients give up connecting.
You screenshot also shows a misleading ui state. #31604 (comment)
"Ladebereit" actually means "Aktiviert" (reuse of existing loadpoint key) and the "Verbunden: Nein" should not be green but red.
I'll issue a fix for this.
@ScumbagSteve I've updated #31667. Instead of changing the wording we now always show (if enabled) the number of connected clients. this ways it should be clear what "Connected" means without using a long word 😄
Btw: I've deployed an infrastructure fix for the above mentioned issue. You can now restart your docker and it should connect. Please open another issue if you notice a behavior like this in the future. Thanks 🙌
Okay so you did not just restart the docker.
You forced a recreate. Your command forces Docker Compose to stop the existing container and create a brand new one.
If it would really be necessary to recreate the container, that would hint towards a more low-level issue.
If you just restart evcc via GUI, there could be other services inside the docker still running. I am not in the details to answer this precise, but a docker restart is probably a "deeper" restart than just restarting evcc service via GUI. Recreation is even deeper than restarting, as it creates a completely new container.
Activity
naltatis commentedon Jul 9, 2026
"sponsorship unavailable" means, that you're instance was not able to contact the sponsor server on boot. Do you have this permanently or only sometimes after docker update?
ScumbagSteve commentedon Jul 9, 2026
I assumed that, but I don't see a reason for it. My internet was working at the point of docker boot. It was fixed after a new reboot of the docker.
I can test again these days if it happens more often with docker reboots.
naltatis commentedon Jul 9, 2026
Yes please do. If we can make boot more reliable we should do that.
I haven't experienced similar docker issues in my setup (daily reboot / nightly). So we should rule out connectivity issues first. Remote access not working is a subsequent effect of this - explicit sponsor checking before connect was introduced a couple of days ago. I'll close here for now. Please create a new one if you can isolate/reproduce this behavior.
ScumbagSteve commentedon Jul 10, 2026
@naltatis The access does not work currently. I tried with two phones, from Wifi and from mobile data plan.
Config shows:
I don't get what "ladebereit" means in this relation. Is it a label bug and it should normally show "online" or something?
I don't see any issues in the log, but both phones say "Suche nach Verbindung...".
I can try restarting the docker, but I would prefer taking some steps to come to the root cause of it. Is there any command I can run to debug the situation? This happened to me once already, which I fixed with adding the phones again and deleting the old devices.
Not sure if it's the same root cause this time.
naltatis commentedon Jul 10, 2026
What does the log say?
ScumbagSteve commentedon Jul 10, 2026
When I try to connect I see nothing in the log - no error entry 😕
I don't know if maybe one error appeared when the problem started.
My log doesn't reach back so far.
naltatis commentedon Jul 10, 2026
@ScumbagSteve can you send me your subdomain so I can check server logs? michael@evcc.io or via slack
ScumbagSteve commentedon Jul 10, 2026
Sent!
naltatis commentedon Jul 10, 2026
Found it. Today at
10:13:28Zan infra restart forced a reconnect of all clients. Due to a server error you're instance (and likely many others) the sponsoring could not be validated. The behavior introduced in #31267 makes clients give up connecting.ScumbagSteve commentedon Jul 10, 2026
Nice, glad you could identify it based on this!
I don't see any sponsoring issues on my side, so it seems to be purely server-side.
naltatis commentedon Jul 10, 2026
You screenshot also shows a misleading ui state.
#31604 (comment)
"Ladebereit" actually means "Aktiviert" (reuse of existing loadpoint key) and the "Verbunden: Nein" should not be green but red.
I'll issue a fix for this.
ScumbagSteve commentedon Jul 10, 2026
I thought "verbunden" shows me if clients are currently connected (because in the next screen you see the clients and when they last accessed evcc).
Maybe "Serververbindung" (aktiv / inaktiv) oder "Dienst verbunden" (ja / nein) is less misleading.
naltatis commentedon Jul 10, 2026
@ScumbagSteve I've updated #31667. Instead of changing the wording we now always show (if enabled) the number of connected clients. this ways it should be clear what "Connected" means without using a long word 😄
Btw: I've deployed an infrastructure fix for the above mentioned issue. You can now restart your docker and it should connect. Please open another issue if you notice a behavior like this in the future. Thanks 🙌
ScumbagSteve commentedon Jul 10, 2026
Thanks, reboot of docker fixed it.
DanielGlaas commentedon Jul 10, 2026
I had the same problem.
The restart within evcc (see screenshot) didn't solve the problem:

It was necessary to recreate the complete docker container via
docker compose up -d evcc --force-recreateBTW: What is the difference between these two methods of restarting evcc?
ScumbagSteve commentedon Jul 10, 2026
Did you try restarting docker instead of just restarting evcc service (via gui)?
I restarted the whole docker
DanielGlaas commentedon Jul 10, 2026
As stated in the sentence after the screenshot: In the second attempt, I restarted complete docker container and then the remote access worked again.
ScumbagSteve commentedon Jul 10, 2026
Okay so you did not just restart the docker.
You forced a recreate. Your command forces Docker Compose to stop the existing container and create a brand new one.
If it would really be necessary to recreate the container, that would hint towards a more low-level issue.
If you just restart evcc via GUI, there could be other services inside the docker still running. I am not in the details to answer this precise, but a docker restart is probably a "deeper" restart than just restarting evcc service via GUI. Recreation is even deeper than restarting, as it creates a completely new container.
andig commentedon Jul 12, 2026
It isn't from evcc point of view. Since we're not giving any specific Docker support, moving to discussions.