-
Notifications
You must be signed in to change notification settings - Fork 760
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
Intermittent "Internal Server Error" #2136
Comments
I am experiencing this error as well however it is only occurring when I load it from my laptop (macOS 12.0.1 in Safari 15.1 and Chrome 95.0). If I load it in Safari from my iPhone or iPad, it loads fine. I can go directly to Grafana via the local IP + port and it loads and shows current data. |
Update: it seems that 1.25.0 resolves the issue (sorry I had missed that release earlier today). |
Closing this since I've not seen the issue on 1.25.0 either. |
Re-opened as I've just had this again (on 1.25.0):
|
Do you notice an increased CPU load when you load the page and run into this timeout? Increasing the timeout even further does not seem to make sense to me. This operation usually takes a few milliseconds. |
Hi; I don't have any monitoring in place unfortunately. It's hosted on a raspberry PI that's running only teslamate, so if there is a CPU spike. I'll see if I can install some monitoring on it so I can check next time this occurs. |
Hi @leewillis77 I have the same thing happening: Here is the issue I opened, related I assume: |
I'm having this issue as well. It's been going on for awhile and very frustrating. Is this being worked on for a resolution? |
I'm having this issue as well. It's been going on for awhile and very frustrating. Is this being worked on for a resolution? |
Separate Tesla user for Teslamate didn't solve it. :-( Now I was patient enough to wait for teslamate coming up itself and I have a log that's covering a complete drive containing a 7 minute gap with "internal server error" from 09:25 to 09:32 -> �[0m�[22m2023-02-20 09:22:51.315 [info] Start of drive initiated by: %TeslaApi.Vehicle.State.Drive{gps_as_of: 1676881370, heading: 5, latitude: 48.357878, longitude: 10.859161, native_latitude: 48.357878, native_location_supported: 1, native_longitude: 10.859161, native_type: "wgs", power: 3, shift_state: "D", speed: 1, timestamp: 1676881368297} |
This week I had a round trip 2 x 600 km. Part 1: With help of homeassistant I made a dirty workaround. Everytime homeassistant could scrape "Internal server error" it sent me an email and initiated a restart of teslamate container. I could see about 20 restarts, None of the chargings was recorded completely. I always missed the first part of it. Part 2: I disabled streaming API in teslamate -> 7,5 hours and 600 km without any problem. All relevant stuff was recorded completely, my MQTT messages were up to date. Some single warnings (TeslaApi.Error) I could see in the log but none of it blocked the system the way I had before. Edit: Now 3000 km later: No more problems -> disabling streaming API ist my solution! |
Is there an existing issue for this?
What happened?
With increasing frequency, when I try and access Teslamate though the web interface, I get an Internal Server Error message instead of the homepage. It typically comes back after a minute or two. This is running on a raspberry pi under docker with nothing else on the machine so no other services should be interfering. The Pi looks healthy (not maxing out CPU, or Memory or anything similar).
The logs (below) don't seem that useful to me, so if there is some other debug I can provide, please do let me know.
Expected Behavior
Consistently available
Steps To Reproduce
Attempt to load main teslamate page (http://teslamate.ip.address:4000).
Relevant log output
Screenshots
No response
Additional data
No response
Type of installation
Docker
Version
v1.24.2
The text was updated successfully, but these errors were encountered: