-
Notifications
You must be signed in to change notification settings - Fork 766
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timeouts and Errors When Modifying geofence and charging cost via Web Interface #4400
Comments
Did it just start happening in 1.32.0? What is the amount you are trying to insert? What is the hardware that you are running TeslaMate on? What version of PSQL are you running? Just tested on a Raspberry Pi 3b+, 1.32.0 (updated moments before), no issues. |
Not an issue introduced by this new version! It is a VM Instance on Google Cloud e2-micro (yeah it is not good but it worked before june) About the amount: I can't even select the textbox because the page is frozen like it is waiting some background data. If i try to delete a geofence location it just refresh the page with the geofence still there. |
Can you create a new geofence from the web interface? Can you modify the settings for the car from the web interface? How large is the database, if you know? And an estimate of how many charges the database has? I tend to lean towards a service / hosting issue. Although, my Pi 3b+ has to be weaker than your gCloud VM. Can you see any load increases from a VM monitoring perspective when you try to edit a charge / geofence? |
Hi, same here. After years of usage, today i wanted to add a new goe-fence via web interface and had the same issues. My teslamate is working on a synology NAS for 3 years now, Version 1.32.0 |
Hi. Same issue here. I can see this error in database log while i'm trying to rename a geofence :
Maybe a timeout between Teslamate and Database which has become too big. Edit : |
Looks like it is attempting to update all existing drives. Wonder if we really need to do this. Maybe this could be moved to some non-time-sensitive command (the above is time sensitive because the web request needs to return in reasonable time frame). As a possible alternative, wonder if proper GIS based indexes with postgis might help. But possibly overkill just for this one operation. |
I just want to share a command line workaround for people who can't set the charging cost.
|
Hi all, I managed to fix all my previous charges without costs using the command-line script. Upon investigation, I found that the first entry without an associated cost was on April 20. However, this doesn't necessarily point to a specific cause: I don’t set charging costs every day, and I don’t always update TeslaMate immediately after a release. As a result, I can’t confidently determine which TeslaMate version might have introduced this strange behavior. That said, my attention was drawn to this commit: da81905. Could this change be related to the issue I’ve been experiencing? |
Hi, same problem using web browsers on PC (Firefox/Chrome). I get a "Bad request" error. Page is partialy loaded. |
Is there an existing issue for this?
What happened?
[NOT AN ISSUE WITH NEW VERSION, PROBLEM PRESENT BEFORE]
I am experiencing persistent issues with TeslaMate when attempting to modify charges or geofences via the web interface.
Specifically:
Running SQL commands directly in the database works perfectly for both modifying costs and deleting geofences.
The database appears healthy and responds well to manual queries.
Expected Behavior
Changes to charges or geofences should be applied without delays or errors, similar to manual SQL operations.
Steps To Reproduce
Relevant log output
Screenshots
No response
Additional data
What I’ve Tried
No signs of corruption or issues with table structure.
Direct SQL operations (e.g., updating costs or deleting geofences) complete successfully.
Web interface logs show timeout errors (see below).
Database logs show no critical errors during manual SQL commands.
Updated DATABASE_TIMEOUT in docker-compose.yml to 120000. No effect on the behavior.
Verified table indexes.
Ran VACUUM FULL and ANALYZE to ensure optimal performance.
Type of installation
Docker
Version
v1.32.0
The text was updated successfully, but these errors were encountered: