Dielee / volvo2mqtt

Home Assistant addon for connecting AAOS Volvos
MIT License
127 stars 25 forks source link

Unauthorized: Full authentication is required to access this resource #110

Closed rubenv closed 9 months ago

rubenv commented 9 months ago

Describe the bug Service worked perfectly, suddenly stopped working.

Now getting there errors:

Sep 25 12:09:02 volvo2mqtt [1] - ERROR: API Call failed. Status Code: 401. Error: {                                                                            
  "status" : 401,                                                                                                                                              
  "operationId" : "bf503e36-5082-4bf0-8201-37d4b20d87ea",                                                                                                      
  "error" : {                                                                                                                                                  
    "message" : "Unauthorized",                                                                                                                                
    "description" : "Full authentication is required to access this resource"                                                                                                                                                                                                                                                  
  }                                                                                                                                                            
}      

Strangely enough, things started working again after logging into the Volvo portal.

To Reproduce:
Let it run for a long time?

Expected behavior:
A clear and concise description of what you expected to happen.

Screenshots:
If applicable, add screenshots to help explain your problem.

Version info:
Docker (from main)

Dielee commented 9 months ago

Jep, same for me. The energy API seems to be not working at this time. Lets wait a few hours....

rubenv commented 9 months ago

:+1: Let's hope they use this downtime to deploy an update that will allow us to schedule charging!

(wishful thinking never hurt! :grin:)

Dielee commented 9 months ago

I tested a few things. Even with the generated auth key for my car, directly from the developer website, the energy api isn't working. Hopefully, they will fix this.

nilosArla commented 9 months ago

Same situation here. So at the moment we just wait, we believe it's a Volvo API problem?

mrVoltrix commented 9 months ago

Here the same problem

Dielee commented 9 months ago

Even the test section on the API developer site returns the same error. I opened a support ticket, let's hope they will fix it, or it is fixable for us 🙏

Dielee commented 9 months ago

It works again! Please restart your containers!

sschouten commented 9 months ago

It works again! Please restart your containers!

Yes after restarting the HA addon it is working again :)