Open adrianscr opened 1 week ago
Hi, unfortunately I have the same problem. I don't know how to get the logs. If needed please ask.
Environment: HomeAssistant in Proxmox Opel CorsaE Current version: v3.5.3
Best regards, Niko
Same issue as here #961 Created a workaround by checking container health and restart, not great but at least no loss of functionality
First of all, thank you for your great work on the PSA Car Controller plugin! I am using it in my Home Assistant setup to monitor my vehicle, and it generally works well. However, I am encountering a recurring issue where the plugin stops functioning properly after a certain amount of time.
The Plugin works for a while after a fresh restart but eventually stops functioning properly. I've already fully reauthenticated the plugin, and OTP.
After restarting the plugin, it works for 1-2 days before the same issue reappeared.
The primary issue
after a certain amount of time, the plugin (also its web interface accessible at 127.0.0.1:5000) stops responding entirely. When trying to access it, I only get a blank page. Home Assistant also logs timeouts when attempting to access the resource, like:
Timeout when calling resource, http://127.0.0.1:5000/wakeup/VR3UHZxxxxxxxxxxx
It appears that the server crashes or freezes, even though the plugin continues logging information in the background.
Restarting the plugin temporarily resolves the issue, but it returns after some time.
Logs and Observations:
Looking at the logs, it seems that there are repeated RateLimitException errors, which might be part of the issue: (The Log from earlier the day)
psa_car_controller.common.utils.RateLimitException
andI left the plugin untouched all day today as a test and did not restart it, but I am seeing the following log entries in a loop:
My log is now full of these entries. This suggests that the connection is being refused repeatedly. I suspect this might be contributing to the problem of the web server hanging or crashing, making it inaccessible.
Please let me know if you need any further information from me.
I hope we can solve the problem and thank you in advance :)
Environment: