teslamate-org / teslamate

A self-hosted data logger for your Tesla 🚘
https://docs.teslamate.org
MIT License
5.85k stars 731 forks source link

Missing drives record #3091

Closed spacex-3 closed 10 months ago

spacex-3 commented 1 year ago

Is there an existing issue for this?

What happened?

teslamate version: 1.27.2 tesla version: 2022.44.30.8

I can't remember when the missing start..

the logs shows: [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.691 ms)

Expected Behavior

No response

Steps To Reproduce

No response

Relevant log output

teslamate_1  | 2023-01-27 00:37:41.355 [info] Repairing drive #1976 ...
teslamate_1  | 2023-01-27 00:37:48.005 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5050.353 ms)
teslamate_1  | 2023-01-27 00:37:48.005 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 00:37:54.508 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.674 ms)
teslamate_1  | 2023-01-27 00:37:54.508 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 00:37:54.509 [info] OK
teslamate_1  | 2023-01-27 00:37:54.550 [info] Repairing charging process #655 ...
teslamate_1  | 2023-01-27 00:38:01.053 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.514 ms)
teslamate_1  | 2023-01-27 00:38:01.053 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 00:38:01.053 [info] OK
teslamate_1  | 2023-01-27 00:38:01.053 [info] Repairing charging process #654 ...
teslamate_1  | 2023-01-27 00:38:07.556 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.675 ms)
teslamate_1  | 2023-01-27 00:38:07.556 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 00:38:07.556 [info] OK
teslamate_1  | 2023-01-27 01:37:41.354 [info] Repairing drive #1976 ...
teslamate_1  | 2023-01-27 01:37:43.340 [info] Refreshing access token ...
teslamate_1  | 2023-01-27 01:37:43.726 [info] POST https://auth.tesla.cn/oauth2/v3/token -> 200 (306.250 ms)
teslamate_1  | 2023-01-27 01:37:43.917 [info] Scheduling token refresh in 6 h
teslamate_1  | 2023-01-27 01:37:48.040 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.678 ms)
teslamate_1  | 2023-01-27 01:37:48.040 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 01:37:54.542 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5000.714 ms)
teslamate_1  | 2023-01-27 01:37:54.542 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 01:37:54.542 [info] OK
teslamate_1  | 2023-01-27 01:37:54.560 [info] Repairing charging process #655 ...
teslamate_1  | 2023-01-27 01:38:01.063 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.640 ms)
teslamate_1  | 2023-01-27 01:38:01.063 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 01:38:01.063 [info] OK
teslamate_1  | 2023-01-27 01:38:01.063 [info] Repairing charging process #654 ...
teslamate_1  | 2023-01-27 01:38:07.566 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.613 ms)
teslamate_1  | 2023-01-27 01:38:07.566 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 01:38:07.566 [info] OK
teslamate_1  | 2023-01-27 02:37:41.353 [info] Repairing drive #1976 ...
teslamate_1  | 2023-01-27 02:37:48.246 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5061.710 ms)
teslamate_1  | 2023-01-27 02:37:48.246 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 02:37:54.749 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.706 ms)
teslamate_1  | 2023-01-27 02:37:54.749 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 02:37:54.749 [info] OK
teslamate_1  | 2023-01-27 02:37:54.751 [info] Repairing charging process #655 ...
teslamate_1  | 2023-01-27 02:38:01.254 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5002.285 ms)
teslamate_1  | 2023-01-27 02:38:01.254 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 02:38:01.254 [info] OK
teslamate_1  | 2023-01-27 02:38:01.254 [info] Repairing charging process #654 ...
teslamate_1  | 2023-01-27 02:38:07.756 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5000.688 ms)
teslamate_1  | 2023-01-27 02:38:07.756 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 02:38:07.756 [info] OK
teslamate_1  | 2023-01-27 03:37:41.353 [info] Repairing drive #1976 ...
teslamate_1  | 2023-01-27 03:37:48.155 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5083.640 ms)
teslamate_1  | 2023-01-27 03:37:48.155 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 03:37:54.658 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.610 ms)
teslamate_1  | 2023-01-27 03:37:54.658 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 03:37:54.658 [info] OK
teslamate_1  | 2023-01-27 03:37:54.660 [info] Repairing charging process #655 ...
teslamate_1  | 2023-01-27 03:38:01.162 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.551 ms)
teslamate_1  | 2023-01-27 03:38:01.162 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 03:38:01.162 [info] OK
teslamate_1  | 2023-01-27 03:38:01.162 [info] Repairing charging process #654 ...
teslamate_1  | 2023-01-27 03:38:07.665 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.684 ms)
teslamate_1  | 2023-01-27 03:38:07.665 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 03:38:07.665 [info] OK
teslamate_1  | 2023-01-27 04:37:41.791 [info] Repairing drive #1976 ...
teslamate_1  | 2023-01-27 04:37:49.249 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5083.318 ms)
teslamate_1  | 2023-01-27 04:37:49.249 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 04:37:55.752 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.311 ms)
teslamate_1  | 2023-01-27 04:37:55.752 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 04:37:55.753 [info] OK
teslamate_1  | 2023-01-27 04:37:55.754 [info] Repairing charging process #655 ...
teslamate_1  | 2023-01-27 04:38:02.257 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.683 ms)
teslamate_1  | 2023-01-27 04:38:02.257 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 04:38:02.257 [info] OK
teslamate_1  | 2023-01-27 04:38:02.257 [info] Repairing charging process #654 ...
teslamate_1  | 2023-01-27 04:38:08.760 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.635 ms)
teslamate_1  | 2023-01-27 04:38:08.760 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 04:38:08.760 [info] OK
teslamate_1  | 2023-01-27 05:37:41.597 [info] Repairing drive #1976 ...
teslamate_1  | 2023-01-27 05:37:48.726 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5161.127 ms)
teslamate_1  | 2023-01-27 05:37:48.726 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 05:37:55.229 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.520 ms)
teslamate_1  | 2023-01-27 05:37:55.229 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 05:37:55.230 [info] OK
teslamate_1  | 2023-01-27 05:37:55.231 [info] Repairing charging process #655 ...
teslamate_1  | 2023-01-27 05:38:01.734 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.617 ms)
teslamate_1  | 2023-01-27 05:38:01.734 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 05:38:01.734 [info] OK
teslamate_1  | 2023-01-27 05:38:01.734 [info] Repairing charging process #654 ...
teslamate_1  | 2023-01-27 05:38:08.237 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.285 ms)
teslamate_1  | 2023-01-27 05:38:08.237 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 05:38:08.237 [info] OK
teslamate_1  | 2023-01-27 06:37:41.784 [info] Repairing drive #1976 ...
teslamate_1  | 2023-01-27 06:37:48.858 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.550 ms)
teslamate_1  | 2023-01-27 06:37:48.858 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 06:37:55.361 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.672 ms)
teslamate_1  | 2023-01-27 06:37:55.361 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 06:37:55.361 [info] OK
teslamate_1  | 2023-01-27 06:37:55.362 [info] Repairing charging process #655 ...
teslamate_1  | 2023-01-27 06:38:01.865 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.682 ms)
teslamate_1  | 2023-01-27 06:38:01.865 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 06:38:01.865 [info] OK
teslamate_1  | 2023-01-27 06:38:01.865 [info] Repairing charging process #654 ...
teslamate_1  | 2023-01-27 06:38:08.368 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.571 ms)
teslamate_1  | 2023-01-27 06:38:08.368 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 06:38:08.368 [info] OK
teslamate_1  | 2023-01-27 07:37:41.814 [info] Repairing drive #1976 ...
teslamate_1  | 2023-01-27 07:37:43.918 [info] Refreshing access token ...
teslamate_1  | 2023-01-27 07:37:46.088 [info] POST https://auth.tesla.cn/oauth2/v3/token -> 200 (2019.988 ms)
teslamate_1  | 2023-01-27 07:37:46.591 [info] Scheduling token refresh in 6 h
teslamate_1  | 2023-01-27 07:37:48.802 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.107 ms)
teslamate_1  | 2023-01-27 07:37:48.802 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 07:37:55.305 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.480 ms)
teslamate_1  | 2023-01-27 07:37:55.305 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 07:37:55.305 [info] OK
teslamate_1  | 2023-01-27 07:37:55.306 [info] Repairing charging process #655 ...
teslamate_1  | 2023-01-27 07:38:01.808 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.638 ms)
teslamate_1  | 2023-01-27 07:38:01.808 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 07:38:01.808 [info] OK
teslamate_1  | 2023-01-27 07:38:01.808 [info] Repairing charging process #654 ...
teslamate_1  | 2023-01-27 07:38:08.311 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.705 ms)
teslamate_1  | 2023-01-27 07:38:08.311 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 07:38:08.311 [info] OK
teslamate_1  | 2023-01-27 07:48:30.831 [error] Postgrex.Protocol (#PID<0.2392.0>) disconnected: ** (DBConnection.ConnectionError) client #PID<0.9883.0> timed out because it queued and checked out the connection for longer than 60000ms
teslamate_1  | 
teslamate_1  | #PID<0.9883.0> was at location:
teslamate_1  | 
teslamate_1  |     :prim_inet.recv0/3
teslamate_1  |     (postgrex 0.16.5) lib/postgrex/protocol.ex:3171: Postgrex.Protocol.msg_recv/4
teslamate_1  |     (postgrex 0.16.5) lib/postgrex/protocol.ex:2201: Postgrex.Protocol.recv_bind/3
teslamate_1  |     (postgrex 0.16.5) lib/postgrex/protocol.ex:2093: Postgrex.Protocol.bind_execute/4
teslamate_1  |     (db_connection 2.4.3) lib/db_connection/holder.ex:354: DBConnection.Holder.holder_apply/4
teslamate_1  |     (db_connection 2.4.3) lib/db_connection.ex:1413: DBConnection.run_execute/5
teslamate_1  |     (db_connection 2.4.3) lib/db_connection.ex:1508: DBConnection.run/6
teslamate_1  |     (db_connection 2.4.3) lib/db_connection.ex:701: DBConnection.execute/4
teslamate_1  | 
teslamate_1  | 2023-01-27 07:48:31.660 [error] GenStateMachine TeslaMate.Terrain terminating
teslamate_1  | ** (DBConnection.ConnectionError) tcp recv (idle): closed (the connection was closed by the pool, possibly due to a timeout or because the pool has been terminated)
teslamate_1  |     (ecto_sql 3.9.2) lib/ecto/adapters/sql.ex:913: Ecto.Adapters.SQL.raise_sql_call_error/1
teslamate_1  |     (ecto_sql 3.9.2) lib/ecto/adapters/sql.ex:828: Ecto.Adapters.SQL.execute/6
teslamate_1  |     (ecto 3.9.4) lib/ecto/repo/queryable.ex:229: Ecto.Repo.Queryable.execute/4
teslamate_1  |     (ecto 3.9.4) lib/ecto/repo/queryable.ex:19: Ecto.Repo.Queryable.all/3
teslamate_1  |     (teslamate 1.27.2) lib/teslamate/log.ex:177: TeslaMate.Log.get_positions_without_elevation/2
teslamate_1  |     (teslamate 1.27.2) lib/teslamate/terrain.ex:84: TeslaMate.Terrain.handle_event/4
teslamate_1  |     (stdlib 3.17.2.1) gen_statem.erl:1205: :gen_statem.loop_state_callback/11
teslamate_1  |     (stdlib 3.17.2.1) proc_lib.erl:226: :proc_lib.init_p_do_apply/3
teslamate_1  | 2023-01-27 08:37:42.036 [info] Repairing drive #1976 ...
teslamate_1  | 2023-01-27 08:37:48.984 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.886 ms)
teslamate_1  | 2023-01-27 08:37:48.984 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 08:37:55.487 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.533 ms)
teslamate_1  | 2023-01-27 08:37:55.487 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 08:37:55.488 [info] OK
teslamate_1  | 2023-01-27 08:37:55.488 [info] Repairing charging process #655 ...
teslamate_1  | 2023-01-27 08:38:01.991 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.632 ms)
teslamate_1  | 2023-01-27 08:38:01.991 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 08:38:01.991 [info] OK
teslamate_1  | 2023-01-27 08:38:01.991 [info] Repairing charging process #654 ...
teslamate_1  | 2023-01-27 08:38:08.494 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.770 ms)
teslamate_1  | 2023-01-27 08:38:08.494 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 08:38:08.494 [info] OK
teslamate_1  | 2023-01-27 09:37:42.461 [info] Repairing drive #1976 ...
teslamate_1  | 2023-01-27 09:37:49.291 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.637 ms)
teslamate_1  | 2023-01-27 09:37:49.291 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 09:37:55.794 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.520 ms)
teslamate_1  | 2023-01-27 09:37:55.794 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 09:37:55.794 [info] OK
teslamate_1  | 2023-01-27 09:37:55.795 [info] Repairing charging process #655 ...
teslamate_1  | 2023-01-27 09:38:02.298 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.568 ms)
teslamate_1  | 2023-01-27 09:38:02.298 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 09:38:02.298 [info] OK
teslamate_1  | 2023-01-27 09:38:02.298 [info] Repairing charging process #654 ...
teslamate_1  | 2023-01-27 09:38:08.801 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.585 ms)
teslamate_1  | 2023-01-27 09:38:08.801 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 09:38:08.801 [info] OK
teslamate_1  | 2023-01-27 10:37:42.250 [info] Repairing drive #1976 ...
teslamate_1  | 2023-01-27 10:37:44.376 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "connection refused" (203.286 ms)
teslamate_1  | 2023-01-27 10:37:44.376 [warning] Address not found: "connection refused"
teslamate_1  | 2023-01-27 10:37:45.881 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "connection refused" (3.750 ms)
teslamate_1  | 2023-01-27 10:37:45.881 [warning] Address not found: "connection refused"
teslamate_1  | 2023-01-27 10:37:45.881 [info] OK
teslamate_1  | 2023-01-27 10:37:45.882 [info] Repairing charging process #655 ...
teslamate_1  | 2023-01-27 10:37:47.390 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "connection refused" (6.078 ms)
teslamate_1  | 2023-01-27 10:37:47.390 [warning] Address not found: "connection refused"
teslamate_1  | 2023-01-27 10:37:47.390 [info] OK
teslamate_1  | 2023-01-27 10:37:47.390 [info] Repairing charging process #654 ...
teslamate_1  | 2023-01-27 10:37:48.896 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "connection refused" (5.806 ms)
teslamate_1  | 2023-01-27 10:37:48.896 [warning] Address not found: "connection refused"
teslamate_1  | 2023-01-27 10:37:48.896 [info] OK
teslamate_1  | 2023-01-27 11:37:42.232 [info] Repairing drive #1976 ...
teslamate_1  | 2023-01-27 11:37:49.125 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.585 ms)
teslamate_1  | 2023-01-27 11:37:49.125 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 11:37:55.628 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.652 ms)
teslamate_1  | 2023-01-27 11:37:55.628 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 11:37:55.629 [info] OK
teslamate_1  | 2023-01-27 11:37:55.630 [info] Repairing charging process #655 ...
teslamate_1  | 2023-01-27 11:38:02.132 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.534 ms)
teslamate_1  | 2023-01-27 11:38:02.132 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 11:38:02.132 [info] OK
teslamate_1  | 2023-01-27 11:38:02.132 [info] Repairing charging process #654 ...
teslamate_1  | 2023-01-27 11:38:08.635 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.342 ms)
teslamate_1  | 2023-01-27 11:38:08.635 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 11:38:08.635 [info] OK
teslamate_1  | 2023-01-27 12:03:59.856 [info] GET /
teslamate_1  | 2023-01-27 12:04:01.172 [info] Sent 200 in 1222ms
teslamate_1  | 2023-01-27 12:37:41.462 [info] Repairing drive #1976 ...
teslamate_1  | 2023-01-27 12:37:48.474 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5000.800 ms)
teslamate_1  | 2023-01-27 12:37:48.474 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 12:37:54.977 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.634 ms)
teslamate_1  | 2023-01-27 12:37:54.977 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 12:37:54.977 [info] OK
teslamate_1  | 2023-01-27 12:37:55.179 [info] Repairing charging process #655 ...
teslamate_1  | 2023-01-27 12:38:01.681 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.644 ms)
teslamate_1  | 2023-01-27 12:38:01.681 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 12:38:01.681 [info] OKå
teslamate_1  | 2023-01-27 12:38:01.681 [info] Repairing charging process #654 ...
teslamate_1  | 2023-01-27 12:38:08.184 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.450 ms)
teslamate_1  | 2023-01-27 12:38:08.184 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 12:38:08.184 [info] OK
teslamate_1  | 2023-01-27 13:18:37.215 car_id=1 [info] Start / :online
teslamate_1  | 2023-01-27 13:18:41.330 car_id=1 [info] Connecting ...
teslamate_1  | 2023-01-27 13:24:11.245 [info] GET https://owner-api.vn.cloud.tesla.cn/api/1/vehicles/[my_car_id]/vehicle_data -> 408 (9155.145 ms)
teslamate_1  | 2023-01-27 13:24:11.245 [warning] TeslaApi.Error / %{"error" => "{\"error\": \"timeout\"}", "error_description" => "", "response" => nil}
teslamate_1  | 2023-01-27 13:24:11.245 car_id=1 [error] Error / :unknown
teslamate_1  | 2023-01-27 13:30:24.358 car_id=1 [info] Suspending logging
teslamate_1  | 2023-01-27 13:37:41.475 [info] Repairing drive #1976 ...
teslamate_1  | 2023-01-27 13:37:46.592 [info] Refreshing access token ...
teslamate_1  | 2023-01-27 13:37:47.176 [info] POST https://auth.tesla.cn/oauth2/v3/token -> 200 (508.653 ms)
teslamate_1  | 2023-01-27 13:37:47.469 [info] Scheduling token refresh in 6 h
teslamate_1  | 2023-01-27 13:37:48.037 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5002.443 ms)
teslamate_1  | 2023-01-27 13:37:48.037 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 13:37:54.540 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.594 ms)
teslamate_1  | 2023-01-27 13:37:54.540 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 13:37:54.540 [info] OK
teslamate_1  | 2023-01-27 13:37:54.541 [info] Repairing charging process #655 ...
teslamate_1  | 2023-01-27 13:38:01.044 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.665 ms)
teslamate_1  | 2023-01-27 13:38:01.044 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 13:38:01.044 [info] OK
teslamate_1  | 2023-01-27 13:38:01.044 [info] Repairing charging process #654 ...
teslamate_1  | 2023-01-27 13:38:07.547 [error] GET https://nominatim.openstreetmap.org/reverse -> error: "timeout" (5001.691 ms)
teslamate_1  | 2023-01-27 13:38:07.547 [warning] Address not found: "timeout"
teslamate_1  | 2023-01-27 13:38:07.547 [info] OK
teslamate_1  | 2023-01-27 14:00:24.943 car_id=1 [info] Start / :asleep
teslamate_1  | 2023-01-27 14:00:25.501 car_id=1 [info] Disconnecting ...
teslamate_1  | 2023-01-27 14:01:40.777 [info] GET /
teslamate_1  | 2023-01-27 14:01:40.781 [info] Sent 200 in 4ms
teslamate_1  | 2023-01-27 14:20:34.515 [info] GET /settings
teslamate_1  | 2023-01-27 14:20:35.167 [info] Sent 200 in 568ms
teslamate_1  | 2023-01-27 14:27:50.761 [info] GET /
teslamate_1  | 2023-01-27 14:27:50.763 [info] Sent 200 in 2ms
teslamate_1  | 2023-01-27 14:30:26.438 [info] GET /settings
teslamate_1  | 2023-01-27 14:30:26.443 [info] Sent 200 in 5ms
teslamate_1  | 2023-01-27 14:31:01.896 [info] GET /
teslamate_1  | 2023-01-27 14:31:01.898 [info] Sent 200 in 1ms

Screenshots

No response

Additional data

id,start_date,end_date,outside_temp_avg,speed_max,power_max,power_min,start_ideal_range_km,end_ideal_range_km,start_km,end_km,distance,duration_min,car_id,inside_temp_avg,start_address_id,end_address_id,start_rated_range_km,end_rated_range_km,start_position_id,end_position_id,start_geofence_id,end_geofence_id 1919,2023-01-14 02:28:19.864303,,,,,,,,,,,,1,,,,,,,,, 1910,2023-01-10 05:33:37.135303,,,,,,,,,,,,1,,,,,,,,, 1913,2023-01-11 00:08:10.523738,,,,,,,,,,,,1,,,,,,,,, 1923,2023-01-14 07:27:31.053991,,,,,,,,,,,,1,,,,,,,,, 1924,2023-01-14 09:41:06.312944,,,,,,,,,,,,1,,,,,,,,, 1880,2023-01-01 01:33:09.207871,,,,,,,,,,,,1,,,,,,,,, 1882,2023-01-02 06:48:57.430293,,,,,,,,,,,,1,,,,,,,,, 1883,2023-01-02 07:10:35.951159,,,,,,,,,,,,1,,,,,,,,, 1916,2023-01-12 11:43:14.246552,,,,,,,,,,,,1,,,,,,,,, 1885,2023-01-03 14:44:31.444051,,,,,,,,,,,,1,,,,,,,,, 1886,2023-01-04 00:10:21.999195,,,,,,,,,,,,1,,,,,,,,, 1917,2023-01-13 00:04:05.282883,,,,,,,,,,,,1,,,,,,,,, 1926,2023-01-14 11:32:25.046094,,,,,,,,,,,,1,,,,,,,,, 1891,2023-01-06 02:03:44.141197,,,,,,,,,,,,1,,,,,,,,, 1892,2023-01-06 03:55:00.508886,,,,,,,,,,,,1,,,,,,,,, 1894,2023-01-07 01:18:29.366093,,,,,,,,,,,,1,,,,,,,,, 1918,2023-01-13 14:32:08.916797,,,,,,,,,,,,1,,,,,,,,, 1901,2023-01-07 05:57:28.919594,,,,,,,,,,,,1,,,,,,,,, 1902,2023-01-07 07:44:30.794817,,,,,,,,,,,,1,,,,,,,,, 1903,2023-01-07 08:34:36.479488,,,,,,,,,,,,1,,,,,,,,, 1904,2023-01-07 08:59:13.010371,,,,,,,,,,,,1,,,,,,,,, 1905,2023-01-07 08:59:22.455127,,,,,,,,,,,,1,,,,,,,,, 1908,2023-01-09 12:05:19.24884,,,,,,,,,,,,1,,,,,,,,, 1881,2023-01-01 02:50:54.54,2023-01-01 02:55:38.808,17.5,37,56,-22,448.43,447.53,24263.274816,24264.551153,1.2763369999993301,5,1,22.0,5,1,448.43,447.53,4928464,4929162,,1 1884,2023-01-03 00:10:49.362836,,,,,,,,,,,,1,,,,,,,,, 1887,2023-01-04 14:36:55.803,2023-01-04 15:00:58.693,20.7,129,244,-65,417.64,392.39,24330.70633,24349.384157,18.677826999999525,24,1,21.7,271,1,417.64,392.39,4956755,4961337,,1 1888,2023-01-05 00:11:11.939,2023-01-05 00:47:50.38,18.4,105,182,-65,391.49,369.97,24349.384157,24366.439158,17.05500100000063,37,1,20.0,1,271,391.49,369.97,4961342,4968029,1, 1889,2023-01-05 11:17:06.046,2023-01-05 11:55:20.485,21.7,113,206,-68,351.29,327.07,24366.433766,24385.174159,18.74039300000004,38,1,21.1,271,1,351.29,327.07,4968156,4975821,,1 1890,2023-01-06 00:16:40.927,2023-01-06 00:52:38.407,19.3,111,172,-66,326.18,304.68,24385.265158,24402.232159,16.96700100000089,36,1,20.0,73,271,326.18,304.68,4975827,4982585,, 1893,2023-01-06 12:57:32.803,2023-01-06 13:34:14.404,22.9,114,199,-66,240.24,217.82,24457.803162,24476.554163,18.751001000000542,37,1,20.7,271,1,240.24,217.82,4991044,4993516,,1 1895,2023-01-07 02:43:05.996,2023-01-07 02:52:44.44,22.0,34,19,-21,455.04,453.24,24478.765978,24479.705163,0.9391849999992701,10,1,21.6,5,1,455.04,453.24,4995466,4996324,, 1900,2023-01-07 05:40:27.475552,,,,,,,,,,,,1,,,,,,,,, 1911,2023-01-10 06:50:24.33919,,,,,,,,,,,,1,,,,,,,,, 1896,2023-01-07 02:58:45.855,2023-01-07 03:08:49.086,22.0,64,146,-44,452.35,449.51,24479.731584,24481.724163,1.9925789999979315,10,1,20.1,1,278,452.35,449.51,4996327,4997607,, 1897,2023-01-07 03:17:42.939,2023-01-07 03:18:22.661,22.0,3,3,0,448.46,448.46,24481.662797,24481.738162,0.07536500000060187,1,1,19.0,278,278,448.46,448.46,4997610,4997686,, 1906,2023-01-09 00:04:47.547,2023-01-09 00:53:20.121,17.1,93,181,-61,461.62,442.01,24502.385164,24519.430164,17.04500000000189,49,1,20.0,1,271,461.62,442.01,5007483,5016762,1, 1909,2023-01-10 00:08:04.226,2023-01-10 00:53:45.565,17.6,77,138,-60,367.28,346.65,24538.182166,24555.196166,17.014000000002852,46,1,20.8,1,271,367.28,346.65,5023366,5031857,1, 1912,2023-01-10 13:38:46.344813,,,,,,,,,,,,1,,,,,,,,, 1914,2023-01-11 10:21:28.433,2023-01-11 11:34:11.903,20.3,122,241,-68,429.90,403.59,24610.249382,24627.29717,17.047787999999855,73,1,20.1,271,1,429.90,403.59,5052585,5064288,,1 1898,2023-01-07 03:46:46.813,2023-01-07 03:47:22.086,22.0,6,5,0,445.77,445.77,24481.662797,24481.760162,0.0973649999978079,1,1,19.0,278,237,445.77,445.77,4997693,4997763,, 1899,2023-01-07 04:14:11.884,2023-01-07 04:23:32.21,16.4,43,46,-21,443.84,442.04,24481.823731,24483.591163,1.7674320000005537,9,1,20.1,237,1,443.84,442.04,4997771,4999083,, 1915,2023-01-12 00:04:30.161,2023-01-12 00:47:05.413,19.3,106,212,-65,462.48,440.06,24627.308429,24644.33617,17.02774099999806,43,1,21.0,1,271,462.48,440.06,5064310,5072577,1, 1922,2023-01-14 03:31:18.843,2023-01-14 03:36:32.142,23.0,43,29,-19,385.07,383.12,24699.728909,24701.437173,1.7082639999971434,5,1,20.0,279,1,385.07,383.12,5093538,5094414,, 1925,2023-01-14 10:02:29.829,2023-01-14 10:11:43.237,23.1,39,60,-30,360.70,357.85,24703.752269,24705.666173,1.9139040000009118,9,1,21.0,237,1,360.70,357.85,5095927,5097306,, 1927,2023-01-14 12:56:48.007711,,,,,,,,,,,,1,,,,,,,,, 1921,2023-01-14 02:49:02.713,2023-01-14 02:57:43.964,22.1,53,29,-36,390.59,387.76,24697.95863,24699.759173,1.8005429999975604,9,1,21.2,1,279,390.59,387.76,5092371,5093530,, 1931,2023-01-16 00:05:09.123707,,,,,,,,,,,,1,,,,,,,,, 1936,2023-01-17 10:19:44.506132,,,,,,,,,,,,1,,,,,,,,, 1928,2023-01-15 01:30:53.978076,,,,,,,,,,,,1,,,,,,,,, 1929,2023-01-15 02:41:25.487233,,,,,,,,,,,,1,,,,,,,,, 1930,2023-01-15 03:01:45.053,2023-01-15 03:06:50.42,15.0,23,18,-14,331.70,330.82,24718.880102,24719.117175,0.2370730000002368,5,1,21.2,1,1,331.70,330.82,5103733,5104115,, 1932,2023-01-16 10:26:18.177055,,,,,,,,,,,,1,,,,,,,,, 1933,2023-01-16 13:36:48.247815,,,,,,,,,,,,1,,,,,,,,, 1934,2023-01-16 13:52:46.015489,,,,,,,,,,,,1,,,,,,,,, 1935,2023-01-17 00:08:38.873733,,,,,,,,,,,,1,,,,,,,,, 1937,2023-01-18 00:10:57.164055,,,,,,,,,,,,1,,,,,,,,, 1938,2023-01-18 03:48:03.16136,,,,,,,,,,,,1,,,,,,,,, 1939,2023-01-18 04:40:33.441705,,,,,,,,,,,,1,,,,,,,,, 1940,2023-01-18 08:10:30.457504,,,,,,,,,,,,1,,,,,,,,, 1941,2023-01-18 10:26:16.066259,,,,,,,,,,,,1,,,,,,,,, 1942,2023-01-18 10:57:26.553,2023-01-18 11:08:35.749,13.8,60,29,-13,364.52,359.88,24858.170181,24861.51418,3.343998999996984,11,1,20.4,280,277,364.52,359.88,5140862,5140904,, 1943,2023-01-18 11:41:09.881341,,,,,,,,,,,,1,,,,,,,,, 1944,2023-01-20 07:24:13.097062,,,,,,,,,,,,1,,,,,,,,, 1945,2023-01-20 07:51:49.088251,,,,,,,,,,,,1,,,,,,,,, 1946,2023-01-20 08:12:45.066109,,,,,,,,,,,,1,,,,,,,,, 1947,2023-01-20 08:44:05.026167,,,,,,,,,,,,1,,,,,,,,, 1948,2023-01-20 09:22:23.29117,,,,,,,,,,,,1,,,,,,,,, 1949,2023-01-20 14:54:14.124313,,,,,,,,,,,,1,,,,,,,,, 1950,2023-01-20 16:27:14.850604,,,,,,,,,,,,1,,,,,,,,, 1951,2023-01-21 03:16:15.534201,,,,,,,,,,,,1,,,,,,,,, 1952,2023-01-21 03:21:10.762946,,,,,,,,,,,,1,,,,,,,,, 1954,2023-01-21 03:30:45.292774,,,,,,,,,,,,1,,,,,,,,, 1956,2023-01-21 14:56:12.772134,,,,,,,,,,,,1,,,,,,,,, 1957,2023-01-22 03:11:35.736828,,,,,,,,,,,,1,,,,,,,,, 1958,2023-01-22 03:13:54.92568,,,,,,,,,,,,1,,,,,,,,, 1959,2023-01-22 03:59:15.941731,,,,,,,,,,,,1,,,,,,,,, 1960,2023-01-22 04:05:59.369,2023-01-22 04:07:30.624,19.0,26,13,-6,493.26,492.36,25296.956467,25297.183201,0.22673399999985122,2,1,20.0,127,127,493.26,492.36,5187264,5187508,, 1961,2023-01-22 07:45:19.567205,,,,,,,,,,,,1,,,,,,,,, 1962,2023-01-22 08:29:29.034937,,,,,,,,,,,,1,,,,,,,,, 1963,2023-01-23 03:03:25.543802,,,,,,,,,,,,1,,,,,,,,, 1964,2023-01-23 03:04:50.180162,,,,,,,,,,,,1,,,,,,,,, 1965,2023-01-23 07:45:41.249187,,,,,,,,,,,,1,,,,,,,,, 1966,2023-01-24 04:05:05.781578,,,,,,,,,,,,1,,,,,,,,, 1967,2023-01-24 04:12:59.502931,,,,,,,,,,,,1,,,,,,,,, 1968,2023-01-24 04:17:57.365399,,,,,,,,,,,,1,,,,,,,,, 1969,2023-01-24 13:02:23.367131,,,,,,,,,,,,1,,,,,,,,, 1970,2023-01-24 13:14:29.987545,,,,,,,,,,,,1,,,,,,,,, 1971,2023-01-24 13:22:59.051903,,,,,,,,,,,,1,,,,,,,,, 1972,2023-01-25 02:34:40.239652,,,,,,,,,,,,1,,,,,,,,, 1973,2023-01-25 03:08:15.014513,,,,,,,,,,,,1,,,,,,,,, 1974,2023-01-25 06:16:24.222657,,,,,,,,,,,,1,,,,,,,,, 1975,2023-01-25 11:08:00.200657,,,,,,,,,,,,1,,,,,,,,, 1977,2023-01-25 12:53:55.175968,,,,,,,,,,,,1,,,,,,,,, 1978,2023-01-25 13:18:54.902222,,,,,,,,,,,,1,,,,,,,,, 1979,2023-01-25 13:49:35.536812,,,,,,,,,,,,1,,,,,,,,, 1980,2023-01-25 14:26:37.396826,,,,,,,,,,,,1,,,,,,,,, 1976,2023-01-25 11:13:42.134,2023-01-25 11:14:55.387,12.5,14,13,-7,514.62,514.62,25340.56969,25340.643203,0.073512999999366,1,1,20.0,127,127,514.62,514.62,5208967,5209170,,

Type of installation

Docker

Version

v1.27.2

spacex-3 commented 1 year ago

PS, I adjust the gfw rules for website https://nominatim.openstreetmap.org/reverse, and new problems (https://owner-api.vn.cloud.tesla.cn/api/1/vehicles) came as attached. I can see the correct status in port 4000.

In fact, the tesla intergration in the Homeassistant works. So can I suggest the connection is ok?

teslamate_1 | 2023-01-27 14:00:24.943 car_id=1 [info] Start / :asleep teslamate_1 | 2023-01-27 14:00:25.501 car_id=1 [info] Disconnecting ... teslamate_1 | 2023-01-27 14:01:40.777 [info] GET / teslamate_1 | 2023-01-27 14:01:40.781 [info] Sent 200 in 4ms teslamate_1 | 2023-01-27 14:20:34.515 [info] GET /settings teslamate_1 | 2023-01-27 14:20:35.167 [info] Sent 200 in 568ms teslamate_1 | 2023-01-27 14:27:50.761 [info] GET / teslamate_1 | 2023-01-27 14:27:50.763 [info] Sent 200 in 2ms teslamate_1 | 2023-01-27 14:30:26.438 [info] GET /settings teslamate_1 | 2023-01-27 14:30:26.443 [info] Sent 200 in 5ms teslamate_1 | 2023-01-27 14:31:01.896 [info] GET / teslamate_1 | 2023-01-27 14:31:01.898 [info] Sent 200 in 1ms teslamate_1 | 2023-01-27 14:37:41.783 [info] Repairing drive #1976 ... teslamate_1 | 2023-01-27 14:37:46.215 [info] GET https://nominatim.openstreetmap.org/reverse -> 200 (2930.841 ms) teslamate_1 | 2023-01-27 14:37:49.709 [info] GET https://nominatim.openstreetmap.org/reverse -> 200 (527.326 ms) teslamate_1 | 2023-01-27 14:37:51.352 [info] OK teslamate_1 | 2023-01-27 14:37:51.472 [info] Repairing charging process #655 ... teslamate_1 | 2023-01-27 14:37:53.570 [info] GET https://nominatim.openstreetmap.org/reverse -> 200 (597.240 ms) teslamate_1 | 2023-01-27 14:37:54.204 [info] OK teslamate_1 | 2023-01-27 14:37:54.204 [info] Repairing charging process #654 ... teslamate_1 | 2023-01-27 14:37:56.239 [info] GET https://nominatim.openstreetmap.org/reverse -> 200 (533.816 ms) teslamate_1 | 2023-01-27 14:37:58.152 [info] OK teslamate_1 | 2023-01-27 18:03:35.843 [info] GET / teslamate_1 | 2023-01-27 18:03:37.176 [info] Sent 200 in 823ms teslamate_1 | 2023-01-27 19:37:47.470 [info] Refreshing access token ... teslamate_1 | 2023-01-27 19:37:48.759 [info] POST https://auth.tesla.cn/oauth2/v3/token -> 200 (1005.415 ms) teslamate_1 | 2023-01-27 19:37:49.848 [info] Scheduling token refresh in 6 h teslamate_1 | 2023-01-27 21:01:56.866 [error] GET https://owner-api.vn.cloud.tesla.cn/api/1/vehicles/[my_car_id] -> error: "timeout" (35000.800 ms) teslamate_1 | 2023-01-27 21:01:57.117 [warning] TeslaApi.Error / timeout teslamate_1 | 2023-01-27 21:01:57.117 car_id=1 [error] Error / :unknown teslamate_1 | 2023-01-27 23:07:53.371 [info] GET / teslamate_1 | 2023-01-27 23:07:53.950 [info] GET / teslamate_1 | 2023-01-27 23:07:54.695 [info] Sent 200 in 745ms teslamate_1 | 2023-01-27 23:07:54.695 [info] Sent 200 in 744ms teslamate_1 | 2023-01-27 23:12:34.268 [info] GET / teslamate_1 | 2023-01-27 23:12:34.270 [info] Sent 200 in 1ms teslamate_1 | 2023-01-27 23:49:36.434 [info] GET / teslamate_1 | 2023-01-27 23:49:36.436 [info] Sent 200 in 2ms teslamate_1 | 2023-01-27 23:49:36.537 [info] GET / teslamate_1 | 2023-01-27 23:49:36.539 [info] Sent 200 in 2ms teslamate_1 | 2023-01-27 23:49:36.545 [info] GET /apple-touch-icon-precomposed.png teslamate_1 | 2023-01-27 23:49:36.546 [info] Sent 404 in 209µs teslamate_1 | 2023-01-27 23:49:36.579 [info] GET / teslamate_1 | 2023-01-27 23:49:36.582 [info] Sent 200 in 2ms teslamate_1 | 2023-01-27 23:49:36.672 [info] GET /apple-touch-icon-precomposed.png teslamate_1 | 2023-01-27 23:49:36.672 [info] Sent 404 in 102µs teslamate_1 | 2023-01-27 23:49:36.693 [info] GET / teslamate_1 | 2023-01-27 23:49:36.696 [info] Sent 200 in 2ms teslamate_1 | 2023-01-27 23:49:36.788 [info] GET /apple-touch-icon-precomposed.png teslamate_1 | 2023-01-27 23:49:36.788 [info] Sent 404 in 88µs teslamate_1 | 2023-01-27 23:49:36.806 [info] GET / teslamate_1 | 2023-01-27 23:49:36.808 [info] Sent 200 in 1ms teslamate_1 | 2023-01-27 23:49:36.949 [info] GET /apple-touch-icon-precomposed.png teslamate_1 | 2023-01-27 23:49:36.949 [info] Sent 404 in 79µs teslamate_1 | 2023-01-27 23:49:36.969 [info] GET / teslamate_1 | 2023-01-27 23:49:36.971 [info] Sent 200 in 1ms teslamate_1 | 2023-01-27 23:49:43.868 [info] GET /apple-touch-icon-precomposed.png teslamate_1 | 2023-01-27 23:49:43.868 [info] Sent 404 in 92µs teslamate_1 | 2023-01-27 23:49:43.897 [info] GET / teslamate_1 | 2023-01-27 23:49:43.899 [info] Sent 200 in 1ms teslamate_1 | 2023-01-27 23:49:44.042 [info] GET /apple-touch-icon-precomposed.png teslamate_1 | 2023-01-27 23:49:44.042 [info] Sent 404 in 100µs teslamate_1 | 2023-01-27 23:49:44.060 [info] GET / teslamate_1 | 2023-01-27 23:49:44.061 [info] Sent 200 in 1ms teslamate_1 | 2023-01-27 23:50:41.160 [info] GET /apple-touch-icon-precomposed.png teslamate_1 | 2023-01-27 23:50:41.160 [info] Sent 404 in 94µs teslamate_1 | 2023-01-27 23:50:41.193 [info] GET / teslamate_1 | 2023-01-27 23:50:41.195 [info] Sent 200 in 1ms teslamate_1 | 2023-01-27 23:50:41.196 [info] GET /apple-touch-icon-precomposed.png teslamate_1 | 2023-01-27 23:50:41.197 [info] Sent 404 in 109µs teslamate_1 | 2023-01-27 23:50:41.211 [info] GET / teslamate_1 | 2023-01-27 23:50:41.213 [info] Sent 200 in 1ms teslamate_1 | 2023-01-27 23:50:45.611 [info] GET /apple-touch-icon-precomposed.png teslamate_1 | 2023-01-27 23:50:45.611 [info] Sent 404 in 121µs teslamate_1 | 2023-01-27 23:50:45.632 [info] GET / teslamate_1 | 2023-01-27 23:50:45.634 [info] Sent 200 in 1ms teslamate_1 | 2023-01-27 23:50:46.497 [info] GET /apple-touch-icon-precomposed.png teslamate_1 | 2023-01-27 23:50:46.497 [info] Sent 404 in 71µs teslamate_1 | 2023-01-27 23:50:46.518 [info] GET / teslamate_1 | 2023-01-27 23:50:46.520 [info] Sent 200 in 1ms teslamate_1 | 2023-01-27 23:50:48.101 [info] GET /apple-touch-icon-precomposed.png teslamate_1 | 2023-01-27 23:50:48.101 [info] Sent 404 in 104µs teslamate_1 | 2023-01-27 23:50:48.121 [info] GET / teslamate_1 | 2023-01-27 23:50:48.124 [info] Sent 200 in 2ms teslamate_1 | 2023-01-27 23:50:49.804 [info] GET /apple-touch-icon-precomposed.png teslamate_1 | 2023-01-27 23:50:49.805 [info] Sent 404 in 75µs teslamate_1 | 2023-01-27 23:50:49.824 [info] GET / teslamate_1 | 2023-01-27 23:50:49.826 [info] Sent 200 in 1ms teslamate_1 | 2023-01-27 23:50:50.508 [info] GET /apple-touch-icon-precomposed.png teslamate_1 | 2023-01-27 23:50:50.508 [info] Sent 404 in 127µs teslamate_1 | 2023-01-27 23:50:50.524 [info] GET / teslamate_1 | 2023-01-27 23:50:50.526 [info] Sent 200 in 1ms teslamate_1 | 2023-01-27 23:50:51.287 [info] GET /apple-touch-icon-precomposed.png teslamate_1 | 2023-01-27 23:50:51.287 [info] Sent 404 in 162µs teslamate_1 | 2023-01-27 23:50:51.309 [info] GET / teslamate_1 | 2023-01-27 23:50:51.311 [info] Sent 200 in 1ms teslamate_1 | 2023-01-27 23:50:52.274 [info] GET /apple-touch-icon-precomposed.png teslamate_1 | 2023-01-27 23:50:52.274 [info] Sent 404 in 108µs teslamate_1 | 2023-01-27 23:50:52.289 [info] GET / teslamate_1 | 2023-01-27 23:50:52.292 [info] Sent 200 in 3ms teslamate_1 | 2023-01-27 23:50:54.497 [info] GET /apple-touch-icon-precomposed.png teslamate_1 | 2023-01-27 23:50:54.497 [info] Sent 404 in 85µs teslamate_1 | 2023-01-27 23:50:54.587 [info] GET / teslamate_1 | 2023-01-27 23:50:54.589 [info] Sent 200 in 2ms teslamate_1 | 2023-01-27 23:50:54.593 [info] GET /apple-touch-icon-precomposed.png teslamate_1 | 2023-01-27 23:50:54.593 [info] Sent 404 in 67µs teslamate_1 | 2023-01-27 23:50:54.636 [info] GET / teslamate_1 | 2023-01-27 23:50:54.638 [info] Sent 200 in 1ms teslamate_1 | 2023-01-27 23:50:54.944 [info] GET /apple-touch-icon-precomposed.png teslamate_1 | 2023-01-27 23:50:54.944 [info] Sent 404 in 107µs teslamate_1 | 2023-01-27 23:50:54.967 [info] GET / teslamate_1 | 2023-01-27 23:50:54.968 [info] Sent 200 in 1ms teslamate_1 | 2023-01-27 23:50:55.054 [info] GET /apple-touch-icon-precomposed.png teslamate_1 | 2023-01-27 23:50:55.054 [info] Sent 404 in 105µs teslamate_1 | 2023-01-27 23:50:55.085 [info] GET / teslamate_1 | 2023-01-27 23:50:55.087 [info] Sent 200 in 1ms teslamate_1 | 2023-01-27 23:50:55.217 [info] GET /apple-touch-icon-precomposed.png teslamate_1 | 2023-01-27 23:50:55.217 [info] Sent 404 in 78µs teslamate_1 | 2023-01-27 23:50:55.238 [info] GET / teslamate_1 | 2023-01-27 23:50:55.240 [info] Sent 200 in 1ms teslamate_1 | 2023-01-27 23:50:56.353 [info] GET /apple-touch-icon-precomposed.png teslamate_1 | 2023-01-27 23:50:56.354 [info] Sent 404 in 164µs teslamate_1 | 2023-01-27 23:50:56.408 [info] GET / teslamate_1 | 2023-01-27 23:50:56.411 [info] Sent 200 in 2ms teslamate_1 | 2023-01-27 23:50:56.411 [info] GET /apple-touch-icon-precomposed.png teslamate_1 | 2023-01-27 23:50:56.411 [info] Sent 404 in 62µs teslamate_1 | 2023-01-27 23:50:56.444 [info] GET / teslamate_1 | 2023-01-27 23:50:56.446 [info] Sent 200 in 1ms teslamate_1 | 2023-01-27 23:50:56.480 [info] GET /apple-touch-icon-precomposed.png teslamate_1 | 2023-01-27 23:50:56.480 [info] Sent 404 in 70µs teslamate_1 | 2023-01-27 23:50:56.499 [info] GET / teslamate_1 | 2023-01-27 23:50:56.501 [info] Sent 200 in 1ms teslamate_1 | 2023-01-27 23:50:56.620 [info] GET /apple-touch-icon-precomposed.png teslamate_1 | 2023-01-27 23:50:56.620 [info] Sent 404 in 97µs teslamate_1 | 2023-01-27 23:50:56.641 [info] GET / teslamate_1 | 2023-01-27 23:50:56.643 [info] Sent 200 in 1ms teslamate_1 | 2023-01-27 23:50:56.803 [info] GET /apple-touch-icon-precomposed.png teslamate_1 | 2023-01-27 23:50:56.804 [info] Sent 404 in 140µs teslamate_1 | 2023-01-27 23:50:56.822 [info] GET / teslamate_1 | 2023-01-27 23:50:56.823 [info] Sent 200 in 1ms teslamate_1 | 2023-01-27 23:51:00.501 [info] GET /apple-touch-icon-precomposed.png teslamate_1 | 2023-01-27 23:51:00.501 [info] Sent 404 in 76µs teslamate_1 | 2023-01-27 23:51:00.532 [info] GET / teslamate_1 | 2023-01-27 23:51:00.534 [info] Sent 200 in 1ms teslamate_1 | 2023-01-27 23:51:00.596 [info] GET /apple-touch-icon-precomposed.png teslamate_1 | 2023-01-27 23:51:00.596 [info] Sent 404 in 83µs teslamate_1 | 2023-01-27 23:51:00.653 [info] GET / teslamate_1 | 2023-01-27 23:51:00.655 [info] Sent 200 in 1ms teslamate_1 | 2023-01-27 23:51:00.685 [info] GET /apple-touch-icon-precomposed.png teslamate_1 | 2023-01-27 23:51:00.685 [info] Sent 404 in 69µs teslamate_1 | 2023-01-27 23:51:00.706 [info] GET / teslamate_1 | 2023-01-27 23:51:00.707 [info] Sent 200 in 1ms teslamate_1 | 2023-01-27 23:51:00.837 [info] GET /apple-touch-icon-precomposed.png teslamate_1 | 2023-01-27 23:51:00.837 [info] Sent 404 in 85µs teslamate_1 | 2023-01-27 23:51:00.860 [info] GET / teslamate_1 | 2023-01-27 23:51:00.861 [info] Sent 200 in 1ms teslamate_1 | 2023-01-27 23:51:00.990 [info] GET /apple-touch-icon-precomposed.png teslamate_1 | 2023-01-27 23:51:00.990 [info] Sent 404 in 72µs teslamate_1 | 2023-01-27 23:51:01.005 [info] GET / teslamate_1 | 2023-01-27 23:51:01.007 [info] Sent 200 in 1ms teslamate_1 | 2023-01-27 23:51:02.070 [info] GET /apple-touch-icon-precomposed.png teslamate_1 | 2023-01-27 23:51:02.070 [info] Sent 404 in 76µs teslamate_1 | 2023-01-27 23:51:02.092 [info] GET /apple-touch-icon-precomposed.png teslamate_1 | 2023-01-27 23:51:02.093 [info] Sent 404 in 176µs teslamate_1 | 2023-01-27 23:51:02.127 [info] GET / teslamate_1 | 2023-01-27 23:51:02.127 [info] GET / teslamate_1 | 2023-01-27 23:51:02.129 [info] Sent 200 in 2ms teslamate_1 | 2023-01-27 23:51:02.129 [info] Sent 200 in 1ms teslamate_1 | 2023-01-27 23:51:02.130 [info] GET /apple-touch-icon-precomposed.png teslamate_1 | 2023-01-27 23:51:02.130 [info] Sent 404 in 77µs teslamate_1 | 2023-01-27 23:51:02.141 [info] GET / teslamate_1 | 2023-01-27 23:51:02.143 [info] Sent 200 in 1ms teslamate_1 | 2023-01-27 23:51:02.287 [info] GET /apple-touch-icon-precomposed.png teslamate_1 | 2023-01-27 23:51:02.288 [info] Sent 404 in 74µs teslamate_1 | 2023-01-27 23:51:02.304 [info] GET / teslamate_1 | 2023-01-27 23:51:02.306 [info] Sent 200 in 1ms teslamate_1 | 2023-01-27 23:51:02.439 [info] GET /apple-touch-icon-precomposed.png teslamate_1 | 2023-01-27 23:51:02.439 [info] Sent 404 in 132µs teslamate_1 | 2023-01-27 23:51:02.453 [info] GET / teslamate_1 | 2023-01-27 23:51:02.455 [info] Sent 200 in 1ms teslamate_1 | 2023-01-27 23:52:50.228 [notice] SIGTERM received - shutting down teslamate_1 | teslamate_1 | 2023-01-27 23:53:20.094 [info] Migrations already up teslamate_1 | 2023-01-27 23:53:25.816 [info] System Info: Erlang/OTP 24 (jit) teslamate_1 | 2023-01-27 23:53:25.816 [info] Version: 1.27.2 teslamate_1 | 2023-01-27 23:53:26.030 [info] POST https://auth.tesla.cn/oauth2/v3/token -> 200 (188.925 ms) teslamate_1 | 2023-01-27 23:53:26.030 [info] Refreshed api tokens teslamate_1 | 2023-01-27 23:53:26.162 [info] Scheduling token refresh in 6 h teslamate_1 | 2023-01-27 23:53:26.163 [info] Running TeslaMateWeb.Endpoint with cowboy 2.9.0 at :::4000 (http) teslamate_1 | 2023-01-27 23:53:26.209 [info] Access TeslaMateWeb.Endpoint at http://192.168.1.189 teslamate_1 | 2023-01-27 23:53:26.425 [info] Starting logger for 'KK' teslamate_1 | 2023-01-27 23:53:26.429 [info] MQTT connection has been established teslamate_1 | 2023-01-27 23:53:27.705 car_id=1 [info] Start / :asleep teslamate_1 | 2023-01-28 01:15:40.369 [info] GET / teslamate_1 | 2023-01-28 01:15:42.885 [info] Sent 200 in 1524ms teslamate_1 | 2023-01-28 02:49:44.960 car_id=1 [info] Start / :online teslamate_1 | 2023-01-28 02:49:49.774 car_id=1 [info] Connecting ... teslamate_1 | 2023-01-28 02:49:50.011 [info] Start of drive initiated by: %TeslaApi.Vehicle.State.Drive{gps_as_of: 1674673342, heading: 199, latitude: 23.107765, longitude: 113.322364, native_latitude: 23.105169, native_location_supported: 1, native_longitude: 113.327792, native_type: "gcj", power: 1, shift_state: "D", speed: 1, timestamp: 1674874183867} teslamate_1 | 2023-01-28 02:49:50.011 car_id=1 [info] Driving / Start teslamate_1 | 2023-01-28 02:50:07.110 car_id=1 [info] Fetch already in progress ... teslamate_1 | 2023-01-28 02:50:07.367 car_id=1 [info] Fetch already in progress ... teslamate_1 | 2023-01-28 02:50:07.600 car_id=1 [info] Fetch already in progress ... teslamate_1 | 2023-01-28 02:50:09.350 car_id=1 [info] Fetch already in progress ... teslamate_1 | 2023-01-28 02:50:09.868 car_id=1 [info] Fetch already in progress ... teslamate_1 | 2023-01-28 02:50:10.119 car_id=1 [info] Fetch already in progress ... teslamate_1 | 2023-01-28 02:50:11.862 car_id=1 [info] Fetch already in progress ... teslamate_1 | 2023-01-28 02:50:12.120 car_id=1 [info] Fetch already in progress ... teslamate_1 | 2023-01-28 02:50:14.137 [info] GET https://owner-api.vn.cloud.tesla.cn/api/1/vehicles/[my_car_id]/vehicle_data -> 408 (9175.784 ms) teslamate_1 | 2023-01-28 02:50:14.137 [warning] TeslaApi.Error / %{"error" => "{\"error\": \"timeout\"}", "error_description" => "", "response" => nil} teslamate_1 | 2023-01-28 02:50:14.137 car_id=1 [error] Error / :unknown teslamate_1 | 2023-01-28 02:50:14.597 car_id=1 [info] Fetch already in progress ... teslamate_1 | 2023-01-28 02:51:15.835 [error] Postgrex.Protocol (#PID<0.2387.0>) disconnected: (DBConnection.ConnectionError) client #PID<0.2541.0> timed out because it queued and checked out the connection for longer than 60000ms teslamate_1 | teslamate_1 | #PID<0.2541.0> was at location: teslamate_1 | teslamate_1 | :prim_inet.recv0/3 teslamate_1 | (postgrex 0.16.5) lib/postgrex/protocol.ex:3171: Postgrex.Protocol.msg_recv/4 teslamate_1 | (postgrex 0.16.5) lib/postgrex/protocol.ex:2201: Postgrex.Protocol.recv_bind/3 teslamate_1 | (postgrex 0.16.5) lib/postgrex/protocol.ex:2093: Postgrex.Protocol.bind_execute/4 teslamate_1 | (db_connection 2.4.3) lib/db_connection/holder.ex:354: DBConnection.Holder.holder_apply/4 teslamate_1 | (db_connection 2.4.3) lib/db_connection.ex:1413: DBConnection.run_execute/5 teslamate_1 | (db_connection 2.4.3) lib/db_connection.ex:644: DBConnection.parsed_prepare_execute/5 teslamate_1 | (db_connection 2.4.3) lib/db_connection.ex:636: DBConnection.prepare_execute/4 teslamate_1 | teslamate_1 | 2023-01-28 02:51:16.119 [error] GenStateMachine :"1" terminating teslamate_1 | (DBConnection.ConnectionError) tcp recv: closed (the connection was closed by the pool, possibly due to a timeout or because the pool has been terminated) teslamate_1 | (ecto_sql 3.9.2) lib/ecto/adapters/sql.ex:913: Ecto.Adapters.SQL.raise_sql_call_error/1 teslamate_1 | (ecto_sql 3.9.2) lib/ecto/adapters/sql.ex:828: Ecto.Adapters.SQL.execute/6 teslamate_1 | (ecto 3.9.4) lib/ecto/repo/queryable.ex:229: Ecto.Repo.Queryable.execute/4 teslamate_1 | (ecto 3.9.4) lib/ecto/repo/queryable.ex:19: Ecto.Repo.Queryable.all/3 teslamate_1 | (ecto 3.9.4) lib/ecto/repo/queryable.ex:151: Ecto.Repo.Queryable.one/3 teslamate_1 | (teslamate 1.27.2) lib/teslamate/log.ex:292: TeslaMate.Log.close_drive/2 teslamate_1 | (teslamate 1.27.2) lib/teslamate/vehicles/vehicle.ex:1024: anonymous fn/3 in TeslaMate.Vehicles.Vehicle.handle_event/4 teslamate_1 | (ecto_sql 3.9.2) lib/ecto/adapters/sql.ex:1203: anonymous fn/3 in Ecto.Adapters.SQL.checkout_or_transaction/4 teslamate_1 | 2023-01-28 02:51:21.443 car_id=1 [info] Start / :online teslamate_1 | 2023-01-28 02:51:24.305 car_id=1 [info] Connecting ... teslamate_1 | 2023-01-28 02:51:24.306 [info] Start of drive initiated by: %TeslaApi.Vehicle.State.Drive{gps_as_of: 1674673342, heading: 199, latitude: 23.107765, longitude: 113.322364, native_latitude: 23.105169, native_location_supported: 1, native_longitude: 113.327792, native_type: "gcj", power: 0, shift_state: "D", speed: 13, timestamp: 1674874280524} teslamate_1 | 2023-01-28 02:51:24.306 car_id=1 [info] Driving / Start teslamate_1 | 2023-01-28 02:57:02.847 [error] Postgrex.Protocol (#PID<0.2388.0>) disconnected: (DBConnection.ConnectionError) client #PID<0.3133.0> timed out because it queued and checked out the connection for longer than 60000ms teslamate_1 | teslamate_1 | #PID<0.3133.0> was at location: teslamate_1 | teslamate_1 | :prim_inet.recv0/3 teslamate_1 | (postgrex 0.16.5) lib/postgrex/protocol.ex:3171: Postgrex.Protocol.msg_recv/4 teslamate_1 | (postgrex 0.16.5) lib/postgrex/protocol.ex:2201: Postgrex.Protocol.recv_bind/3 teslamate_1 | (postgrex 0.16.5) lib/postgrex/protocol.ex:2093: Postgrex.Protocol.bind_execute/4 teslamate_1 | (db_connection 2.4.3) lib/db_connection/holder.ex:354: DBConnection.Holder.holder_apply/4 teslamate_1 | (db_connection 2.4.3) lib/db_connection.ex:1413: DBConnection.run_execute/5 teslamate_1 | (db_connection 2.4.3) lib/db_connection.ex:644: DBConnection.parsed_prepare_execute/5 teslamate_1 | (db_connection 2.4.3) lib/db_connection.ex:636: DBConnection.prepare_execute/4 teslamate_1 | teslamate_1 | 2023-01-28 02:57:04.027 [error] GenStateMachine :"1" terminating teslamate_1 | (DBConnection.ConnectionError) tcp recv: closed (the connection was closed by the pool, possibly due to a timeout or because the pool has been terminated) teslamate_1 | (ecto_sql 3.9.2) lib/ecto/adapters/sql.ex:913: Ecto.Adapters.SQL.raise_sql_call_error/1 teslamate_1 | (ecto_sql 3.9.2) lib/ecto/adapters/sql.ex:828: Ecto.Adapters.SQL.execute/6 teslamate_1 | (ecto 3.9.4) lib/ecto/repo/queryable.ex:229: Ecto.Repo.Queryable.execute/4 teslamate_1 | (ecto 3.9.4) lib/ecto/repo/queryable.ex:19: Ecto.Repo.Queryable.all/3 teslamate_1 | (ecto 3.9.4) lib/ecto/repo/queryable.ex:151: Ecto.Repo.Queryable.one/3 teslamate_1 | (teslamate 1.27.2) lib/teslamate/log.ex:292: TeslaMate.Log.close_drive/2 teslamate_1 | (teslamate 1.27.2) lib/teslamate/vehicles/vehicle.ex:1024: anonymous fn/3 in TeslaMate.Vehicles.Vehicle.handle_event/4 teslamate_1 | (ecto_sql 3.9.2) lib/ecto/adapters/sql.ex:1203: anonymous fn/3 in Ecto.Adapters.SQL.checkout_or_transaction/4 teslamate_1 | 2023-01-28 02:57:06.705 car_id=1 [info] Start / :online teslamate_1 | 2023-01-28 02:57:14.952 car_id=1 [info] Connecting ... teslamate_1 | 2023-01-28 03:01:26.031 [info] GET https://owner-api.vn.cloud.tesla.cn/api/1/vehicles/[my_car_id]/vehicle_data -> 408 (9706.557 ms) teslamate_1 | 2023-01-28 03:01:26.053 [warning] TeslaApi.Error / %{"error" => "{\"error\": \"timeout\"}", "error_description" => "", "response" => nil} teslamate_1 | 2023-01-28 03:01:26.054 car_id=1 [error] Error / :unknown teslamate_1 | 2023-01-28 03:01:55.214 [info] GET https://owner-api.vn.cloud.tesla.cn/api/1/vehicles/[my_car_id]/vehicle_data -> 408 (9159.167 ms) teslamate_1 | 2023-01-28 03:01:55.214 [warning] TeslaApi.Error / %{"error" => "{\"error\": \"timeout\"}", "error_description" => "", "response" => nil} teslamate_1 | 2023-01-28 03:01:55.214 car_id=1 [error] Error / :unknown teslamate_1 | 2023-01-28 03:05:18.647 car_id=1 [warning] Received stale stream data: %TeslaApi.Stream.Data{elevation: 5, est_heading: 75, est_lat: 23.103496, est_lng: 113.311585, est_range: 311, heading: 75, odometer: 16002.2, power: 0, range: 288, shift_state: nil, soc: 90, speed: nil, time: ~U[2023-01-28 03:05:17.873Z]} teslamate_1 | 2023-01-28 03:06:27.381 [info] GET https://owner-api.vn.cloud.tesla.cn/api/1/vehicles/[my_car_id]/vehicle_data -> 408 (9235.911 ms) teslamate_1 | 2023-01-28 03:06:27.381 [warning] TeslaApi.Error / %{"error" => "{\"error\": \"timeout\"}", "error_description" => "", "response" => nil} teslamate_1 | 2023-01-28 03:06:27.381 car_id=1 [error] Error / :unknown teslamate_1 | 2023-01-28 03:06:56.539 [info] GET https://owner-api.vn.cloud.tesla.cn/api/1/vehicles/[my_car_id]/vehicle_data -> 408 (9156.209 ms) teslamate_1 | 2023-01-28 03:06:56.539 [warning] TeslaApi.Error / %{"error" => "{\"error\": \"timeout\"}", "error_description" => "", "response" => nil} teslamate_1 | 2023-01-28 03:06:56.539 car_id=1 [error] Error / :unknown teslamate_1 | 2023-01-28 03:07:26.666 [notice] :alarm_handler: {:set, {TeslaMate.Vehicles.Vehicle_1_api_error, :fuse_blown}} teslamate_1 | 2023-01-28 03:07:27.503 [info] GET https://owner-api.vn.cloud.tesla.cn/api/1/vehicles/[my_car_id]/vehicle_data -> 408 (9148.188 ms) teslamate_1 | 2023-01-28 03:07:27.503 [warning] TeslaApi.Error / %{"error" => "{\"error\": \"timeout\"}", "error_description" => "", "response" => nil} teslamate_1 | 2023-01-28 03:07:27.503 car_id=1 [error] Error / :unknown teslamate_1 | 2023-01-28 03:07:56.656 [info] GET https://owner-api.vn.cloud.tesla.cn/api/1/vehicles/[my_car_id]/vehicle_data -> 408 (9152.197 ms) teslamate_1 | 2023-01-28 03:07:56.656 [warning] TeslaApi.Error / %{"error" => "{\"error\": \"timeout\"}", "error_description" => "", "response" => nil} teslamate_1 | 2023-01-28 03:07:56.656 car_id=1 [error] Error / :unknown teslamate_1 | 2023-01-28 03:08:25.832 [info] GET https://owner-api.vn.cloud.tesla.cn/api/1/vehicles/[my_car_id]/vehicle_data -> 408 (9174.797 ms) teslamate_1 | 2023-01-28 03:08:25.832 [warning] TeslaApi.Error / %{"error" => "{\"error\": \"timeout\"}", "error_description" => "", "response" => nil} teslamate_1 | 2023-01-28 03:08:25.832 car_id=1 [error] Error / :unknown teslamate_1 | 2023-01-28 03:08:55.001 [info] GET https://owner-api.vn.cloud.tesla.cn/api/1/vehicles/[my_car_id]/vehicle_data -> 408 (9167.844 ms) teslamate_1 | 2023-01-28 03:08:55.001 [warning] TeslaApi.Error / %{"error" => "{\"error\": \"timeout\"}", "error_description" => "", "response" => nil} teslamate_1 | 2023-01-28 03:08:55.001 car_id=1 [error] Error / :unknown teslamate_1 | 2023-01-28 03:09:24.143 [info] GET https://owner-api.vn.cloud.tesla.cn/api/1/vehicles/[my_car_id]/vehicle_data -> 408 (9140.788 ms) teslamate_1 | 2023-01-28 03:09:24.143 [warning] TeslaApi.Error / %{"error" => "{\"error\": \"timeout\"}", "error_description" => "", "response" => nil} teslamate_1 | 2023-01-28 03:09:24.143 car_id=1 [error] Error / :unknown teslamate_1 | 2023-01-28 03:11:01.474 [info] GET https://owner-api.vn.cloud.tesla.cn/api/1/vehicles/[my_car_id]/vehicle_data -> 408 (9907.822 ms) teslamate_1 | 2023-01-28 03:11:01.474 [warning] TeslaApi.Error / %{"error" => "{\"error\": \"timeout\"}", "error_description" => "", "response" => nil} teslamate_1 | 2023-01-28 03:11:01.474 car_id=1 [error] Error / :unknown teslamate_1 | 2023-01-28 03:11:30.664 [info] GET https://owner-api.vn.cloud.tesla.cn/api/1/vehicles/[my_car_id]/vehicle_data -> 408 (9189.397 ms) teslamate_1 | 2023-01-28 03:11:30.664 [warning] TeslaApi.Error / %{"error" => "{\"error\": \"timeout\"}", "error_description" => "", "response" => nil} teslamate_1 | 2023-01-28 03:11:30.664 car_id=1 [error] Error / :unknown teslamate_1 | 2023-01-28 03:11:59.818 [info] GET https://owner-api.vn.cloud.tesla.cn/api/1/vehicles/[my_car_id]/vehicle_data -> 408 (9153.398 ms) teslamate_1 | 2023-01-28 03:11:59.818 [warning] TeslaApi.Error / %{"error" => "{\"error\": \"timeout\"}", "error_description" => "", "response" => nil} teslamate_1 | 2023-01-28 03:11:59.818 car_id=1 [error] Error / :unknown teslamate_1 | 2023-01-28 03:12:28.998 [info] GET https://owner-api.vn.cloud.tesla.cn/api/1/vehicles/[my_car_id]/vehicle_data -> 408 (9179.250 ms) teslamate_1 | 2023-01-28 03:12:28.998 [warning] TeslaApi.Error / %{"error" => "{\"error\": \"timeout\"}", "error_description" => "", "response" => nil} teslamate_1 | 2023-01-28 03:12:28.998 car_id=1 [error] Error / :unknown teslamate_1 | 2023-01-28 03:12:58.320 [info] GET https://owner-api.vn.cloud.tesla.cn/api/1/vehicles/[my_car_id]/vehicle_data -> 408 (9321.238 ms) teslamate_1 | 2023-01-28 03:12:58.320 [warning] TeslaApi.Error / %{"error" => "{\"error\": \"timeout\"}", "error_description" => "", "response" => nil} teslamate_1 | 2023-01-28 03:12:58.320 car_id=1 [error] Error / :unknown teslamate_1 | 2023-01-28 03:13:27.474 [info] GET https://owner-api.vn.cloud.tesla.cn/api/1/vehicles/[my_car_id]/vehicle_data -> 408 (9152.994 ms) teslamate_1 | 2023-01-28 03:13:27.474 [warning] TeslaApi.Error / %{"error" => "{\"error\": \"timeout\"}", "error_description" => "", "response" => nil} teslamate_1 | 2023-01-28 03:13:27.474 car_id=1 [error] Error / :unknown teslamate_1 | 2023-01-28 03:13:56.694 [info] GET https://owner-api.vn.cloud.tesla.cn/api/1/vehicles/[my_car_id]/vehicle_data -> 408 (9219.121 ms) teslamate_1 | 2023-01-28 03:13:56.694 [warning] TeslaApi.Error / %{"error" => "{\"error\": \"timeout\"}", "error_description" => "", "response" => nil} teslamate_1 | 2023-01-28 03:13:56.694 car_id=1 [error] Error / :unknown teslamate_1 | 2023-01-28 03:14:25.866 [info] GET https://owner-api.vn.cloud.tesla.cn/api/1/vehicles/[my_car_id]/vehicle_data -> 408 (9171.135 ms) teslamate_1 | 2023-01-28 03:14:25.866 [warning] TeslaApi.Error / %{"error" => "{\"error\": \"timeout\"}", "error_description" => "", "response" => nil} teslamate_1 | 2023-01-28 03:14:25.866 car_id=1 [error] Error / :unknown teslamate_1 | 2023-01-28 03:16:01.162 [info] GET https://owner-api.vn.cloud.tesla.cn/api/1/vehicles/[my_car_id]/vehicle_data -> 408 (9501.682 ms) teslamate_1 | 2023-01-28 03:16:01.162 [warning] TeslaApi.Error / %{"error" => "{\"error\": \"timeout\"}", "error_description" => "", "response" => nil} teslamate_1 | 2023-01-28 03:16:01.162 car_id=1 [error] Error / :unknown teslamate_1 | 2023-01-28 03:20:32.458 [info] GET https://owner-api.vn.cloud.tesla.cn/api/1/vehicles/[my_car_id]/vehicle_data -> 408 (9237.016 ms) teslamate_1 | 2023-01-28 03:20:32.563 [warning] TeslaApi.Error / %{"error" => "{\"error\": \"timeout\"}", "error_description" => "", "response" => nil} teslamate_1 | 2023-01-28 03:20:32.563 car_id=1 [error] Error / :unknown teslamate_1 | 2023-01-28 03:21:01.726 [info] GET https://owner-api.vn.cloud.tesla.cn/api/1/vehicles/[my_car_id]/vehicle_data -> 408 (9162.220 ms) teslamate_1 | 2023-01-28 03:21:01.726 [warning] TeslaApi.Error / %{"error" => "{\"error\": \"timeout\"}", "error_description" => "", "response" => nil} teslamate_1 | 2023-01-28 03:21:01.726 car_id=1 [error] Error / :unknown teslamate_1 | 2023-01-28 03:21:26.680 [notice] :alarm_handler: {:clear, TeslaMate.Vehicles.Vehicle_1_api_error} teslamate_1 | 2023-01-28 03:21:30.910 [info] GET https://owner-api.vn.cloud.tesla.cn/api/1/vehicles/[my_car_id]/vehicle_data -> 408 (9183.277 ms) teslamate_1 | 2023-01-28 03:21:30.910 [warning] TeslaApi.Error / %{"error" => "{\"error\": \"timeout\"}", "error_description" => "", "response" => nil} teslamate_1 | 2023-01-28 03:21:30.910 car_id=1 [error] Error / :unknown teslamate_1 | 2023-01-28 03:22:00.049 [info] GET https://owner-api.vn.cloud.tesla.cn/api/1/vehicles/[my_car_id]/vehicle_data -> 408 (9138.200 ms) teslamate_1 | 2023-01-28 03:22:00.049 [warning] TeslaApi.Error / %{"error" => "{\"error\": \"timeout\"}", "error_description" => "", "response" => nil} teslamate_1 | 2023-01-28 03:22:00.049 car_id=1 [error] Error / :unknown teslamate_1 | 2023-01-28 03:22:26.681 [notice] :alarm_handler: {:set, {TeslaMate.Vehicles.Vehicle_1_api_error, :fuse_blown}} teslamate_1 | 2023-01-28 03:29:26.688 [notice] :alarm_handler: {:clear, TeslaMate.Vehicles.Vehicle_1_api_error} teslamate_1 | 2023-01-28 03:30:35.250 [info] Start of drive initiated by: %TeslaApi.Stream.Data{elevation: 5, est_heading: 75, est_lat: 23.103496, est_lng: 113.311585, est_range: 309, heading: 75, odometer: 16002.2, power: 1, range: 287, shift_state: "D", soc: 90, speed: 0, time: ~U[2023-01-28 03:30:35.167Z]} teslamate_1 | 2023-01-28 03:30:35.461 car_id=1 [info] Driving / Start teslamate_1 | 2023-01-28 03:37:42.619 car_id=1 [info] Fetch already in progress ... teslamate_1 | 2023-01-28 03:37:43.021 car_id=1 [info] Fetch already in progress ... teslamate_1 | 2023-01-28 03:37:43.021 car_id=1 [info] Fetch already in progress ... teslamate_1 | 2023-01-28 03:37:43.021 car_id=1 [info] Fetch already in progress ... teslamate_1 | 2023-01-28 03:37:43.021 car_id=1 [info] Fetch already in progress ... teslamate_1 | 2023-01-28 03:37:43.021 car_id=1 [info] Fetch already in progress ... teslamate_1 | 2023-01-28 03:37:43.021 car_id=1 [info] Fetch already in progress ... teslamate_1 | 2023-01-28 03:37:43.021 car_id=1 [info] Fetch already in progress ... teslamate_1 | 2023-01-28 03:38:43.095 [error] Postgrex.Protocol (#PID<0.2382.0>) disconnected: (DBConnection.ConnectionError) client #PID<0.5538.0> timed out because it queued and checked out the connection for longer than 60000ms teslamate_1 | teslamate_1 | #PID<0.5538.0> was at location: teslamate_1 | teslamate_1 | :prim_inet.recv0/3 teslamate_1 | (postgrex 0.16.5) lib/postgrex/protocol.ex:3171: Postgrex.Protocol.msg_recv/4 teslamate_1 | (postgrex 0.16.5) lib/postgrex/protocol.ex:2201: Postgrex.Protocol.recv_bind/3 teslamate_1 | (postgrex 0.16.5) lib/postgrex/protocol.ex:2093: Postgrex.Protocol.bind_execute/4 teslamate_1 | (db_connection 2.4.3) lib/db_connection/holder.ex:354: DBConnection.Holder.holder_apply/4 teslamate_1 | (db_connection 2.4.3) lib/db_connection.ex:1413: DBConnection.run_execute/5 teslamate_1 | (db_connection 2.4.3) lib/db_connection.ex:644: DBConnection.parsed_prepare_execute/5 teslamate_1 | (db_connection 2.4.3) lib/db_connection.ex:636: DBConnection.prepare_execute/4 teslamate_1 | teslamate_1 | 2023-01-28 03:38:43.300 [error] GenStateMachine :"1" terminating teslamate_1 | (DBConnection.ConnectionError) tcp recv: closed (the connection was closed by the pool, possibly due to a timeout or because the pool has been terminated) teslamate_1 | (ecto_sql 3.9.2) lib/ecto/adapters/sql.ex:913: Ecto.Adapters.SQL.raise_sql_call_error/1 teslamate_1 | (ecto_sql 3.9.2) lib/ecto/adapters/sql.ex:828: Ecto.Adapters.SQL.execute/6 teslamate_1 | (ecto 3.9.4) lib/ecto/repo/queryable.ex:229: Ecto.Repo.Queryable.execute/4 teslamate_1 | (ecto 3.9.4) lib/ecto/repo/queryable.ex:19: Ecto.Repo.Queryable.all/3 teslamate_1 | (ecto 3.9.4) lib/ecto/repo/queryable.ex:151: Ecto.Repo.Queryable.one/3 teslamate_1 | (teslamate 1.27.2) lib/teslamate/log.ex:292: TeslaMate.Log.close_drive/2 teslamate_1 | (teslamate 1.27.2) lib/teslamate/vehicles/vehicle.ex:1024: anonymous fn/3 in TeslaMate.Vehicles.Vehicle.handle_event/4 teslamate_1 | (ecto_sql 3.9.2) lib/ecto/adapters/sql.ex:1203: anonymous fn/3 in Ecto.Adapters.SQL.checkout_or_transaction/4 teslamate_1 | 2023-01-28 03:38:50.812 car_id=1 [info] Start / :online teslamate_1 | 2023-01-28 03:38:55.743 car_id=1 [info] Connecting ... teslamate_1 | 2023-01-28 03:41:59.803 car_id=1 [info] Suspending logging teslamate_1 | 2023-01-28 04:10:44.581 car_id=1 [info] Fetching vehicle state ... teslamate_1 | 2023-01-28 04:10:45.367 car_id=1 [info] Start / :asleep teslamate_1 | 2023-01-28 04:10:47.410 car_id=1 [info] Disconnecting ... teslamate_1 | 2023-01-28 04:13:31.849 [info] GET /udp/239.77.1.236:5146 teslamate_1 | 2023-01-28 04:13:31.850 [info] Sent 404 in 416µs teslamate_1 | 2023-01-28 05:53:26.163 [info] Refreshing access token ... teslamate_1 | 2023-01-28 05:53:28.395 [info] POST https://auth.tesla.cn/oauth2/v3/token -> 200 (1702.553 ms) teslamate_1 | 2023-01-28 05:53:29.456 [info] Scheduling token refresh in 6 h teslamate_1 | 2023-01-28 08:01:12.346 [info] GET / teslamate_1 | 2023-01-28 08:01:12.400 [info] GET /apple-touch-icon-precomposed.png teslamate_1 | 2023-01-28 08:01:13.273 [info] Sent 404 in 367µs teslamate_1 | 2023-01-28 08:01:13.274 [info] GET / teslamate_1 | 2023-01-28 08:01:16.010 [info] Sent 200 in 2737ms teslamate_1 | 2023-01-28 08:01:16.010 [info] Sent 200 in 2736ms teslamate_1 | 2023-01-28 08:06:30.473 [info] GET / teslamate_1 | 2023-01-28 08:06:30.475 [info] Sent 200 in 2ms teslamate_1 | 2023-01-28 08:06:30.546 [info] GET / teslamate_1 | 2023-01-28 08:06:30.549 [info] Sent 200 in 3ms teslamate_1 | 2023-01-28 08:06:30.750 [info] GET / teslamate_1 | 2023-01-28 08:06:30.753 [info] Sent 200 in 2ms teslamate_1 | 2023-01-28 08:06:30.929 [info] GET / teslamate_1 | 2023-01-28 08:06:30.930 [info] Sent 200 in 1ms teslamate_1 | 2023-01-28 09:39:49.489 [info] GET / teslamate_1 | 2023-01-28 09:39:49.990 [info] Sent 200 in 61ms teslamate_1 | 2023-01-28 09:51:46.572 [info] GET / teslamate_1 | 2023-01-28 09:51:46.575 [info] Sent 200 in 3ms teslamate_1 | 2023-01-28 09:51:51.804 [info] GET /settings teslamate_1 | 2023-01-28 09:51:51.810 [info] Sent 200 in 5ms teslamate_1 | 2023-01-28 09:56:00.783 [notice] SIGTERM received - shutting down teslamate_1 | teslamate_1 | 2023-01-28 09:57:37.751 [error] Could not create schema migrations table. This error usually happens due to the following: teslamate_1 | teslamate_1 | The database does not exist teslamate_1 | The "schema_migrations" table, which Ecto uses for managing teslamate_1 | migrations, was defined by another library teslamate_1 | * There is a deadlock while migrating (such as using concurrent teslamate_1 | indexes with a migration_lock) teslamate_1 | teslamate_1 | To fix the first issue, run "mix ecto.create". teslamate_1 | teslamate_1 | To address the second, you can run "mix ecto.drop" followed by teslamate_1 | "mix ecto.create". Alternatively you may configure Ecto to use teslamate_1 | another table and/or repository for managing migrations: teslamate_1 | teslamate_1 | config :teslamate, TeslaMate.Repo, teslamate_1 | migration_source: "some_other_table_for_schema_migrations", teslamate_1 | migration_repo: AnotherRepoForSchemaMigrations teslamate_1 | teslamate_1 | The full error report is shown below. teslamate_1 | teslamate_1 | ** (DBConnection.ConnectionError) connection not available and request was dropped from queue after 2480ms. This means requests are coming in and your connection pool cannot serve them fast enough. You can address this by: teslamate_1 | teslamate_1 | 1. Ensuring your database is available and that you can connect to it teslamate_1 | 2. Tracking down slow queries and making sure they are running fast enough teslamate_1 | 3. Increasing the pool_size (although this increases resource consumption) teslamate_1 | 4. Allowing requests to wait longer by increasing :queue_target and :queue_interval teslamate_1 | teslamate_1 | See DBConnection.start_link/2 for more information teslamate_1 | teslamate_1 | (ecto_sql 3.9.2) lib/ecto/adapters/sql.ex:913: Ecto.Adapters.SQL.raise_sql_call_error/1 teslamate_1 | (elixir 1.13.4) lib/enum.ex:1593: Enum."-map/2-lists^map/1-0-"/2 teslamate_1 | (ecto_sql 3.9.2) lib/ecto/adapters/sql.ex:1005: Ecto.Adapters.SQL.execute_ddl/4 teslamate_1 | (ecto_sql 3.9.2) lib/ecto/migrator.ex:677: Ecto.Migrator.verbose_schema_migration/3 teslamate_1 | (ecto_sql 3.9.2) lib/ecto/migrator.ex:491: Ecto.Migrator.lock_for_migrations/4 teslamate_1 | (ecto_sql 3.9.2) lib/ecto/migrator.ex:403: Ecto.Migrator.run/4 teslamate_1 | (ecto_sql 3.9.2) lib/ecto/migrator.ex:146: Ecto.Migrator.with_repo/3 teslamate_1 | (teslamate 1.27.2) lib/teslamate/release.ex:9: anonymous fn/2 in TeslaMate.Release.migrate/0 teslamate_1 | 2023-01-28 09:57:46.743 [info] Migrations already up teslamate_1 | 2023-01-28 09:57:53.834 [info] System Info: Erlang/OTP 24 (jit) teslamate_1 | 2023-01-28 09:57:53.834 [info] Version: 1.27.2 teslamate_1 | 2023-01-28 09:57:54.419 [info] POST https://auth.tesla.cn/oauth2/v3/token -> 200 (318.621 ms) teslamate_1 | 2023-01-28 09:57:54.419 [info] Refreshed api tokens teslamate_1 | 2023-01-28 09:57:54.703 [info] Scheduling token refresh in 6 h teslamate_1 | 2023-01-28 09:57:54.705 [info] Running TeslaMateWeb.Endpoint with cowboy 2.9.0 at :::4000 (http) teslamate_1 | 2023-01-28 09:57:54.827 [info] Access TeslaMateWeb.Endpoint at http://192.168.1.189 teslamate_1 | 2023-01-28 09:57:55.054 [info] Starting logger for 'KK' teslamate_1 | 2023-01-28 09:57:55.058 [info] MQTT connection has been established teslamate_1 | 2023-01-28 09:57:58.912 car_id=1 [info] Start / :asleep teslamate_1 | 2023-01-28 09:58:33.164 [info] GET /settings teslamate_1 | 2023-01-28 09:58:33.169 [info] Sent 200 in 5ms teslamate_1 | 2023-01-28 09:58:33.542 [info] GET / teslamate_1 | 2023-01-28 09:58:33.544 [info] Sent 200 in 2ms teslamate_1 | 2023-01-28 10:13:18.521 [info] GET / teslamate_1 | 2023-01-28 10:13:19.108 [info] Sent 200 in 3ms

Anuj79 commented 1 year ago

having the same issue drive missing for few weeks now

teslamate_1 | 2023-03-19 18:18:21.501 car_id=1 [info] Start / :online teslamate_1 | 2023-03-19 18:18:22.976 car_id=1 [info] Connecting ... teslamate_1 | 2023-03-19 18:21:30.450 car_id=1 [info] Suspending logging teslamate_1 | 2023-03-19 18:51:46.817 [info] GET https://owner-api.teslamotors.com/api/1/vehicles/1493019494049233/vehicle_data -> 408 (15530.917 ms) teslamate_1 | 2023-03-19 18:51:46.820 [warning] TeslaApi.Error / %{"error" => "{\"error\": \"timeout\"}", "error_description" => "", "response" => nil} teslamate_1 | 2023-03-19 18:51:46.821 car_id=1 [error] Error / :unknown teslamate_1 | 2023-03-19 18:52:27.600 [info] GET https://owner-api.teslamotors.com/api/1/vehicles/1493019494049233/vehicle_data -> 408 (10492.009 ms) teslamate_1 | 2023-03-19 18:52:27.600 [warning] TeslaApi.Error / %{"error" => "{\"error\": \"timeout\"}", "error_description" => "", "response" => nil} teslamate_1 | 2023-03-19 18:52:27.601 car_id=1 [error] Error / :unknown teslamate_1 | 2023-03-19 18:53:06.330 car_id=1 [info] Vehicle is still online. Falling asleep for: 34 min teslamate_1 | 2023-03-19 19:19:42.404 car_id=1 [info] Fetching vehicle state ... teslamate_1 | 2023-03-19 19:19:50.283 car_id=1 [info] Start / :asleep teslamate_1 | 2023-03-19 19:19:50.369 car_id=1 [info] Disconnecting ... teslamate_1 | 2023-03-19 21:53:36.167 car_id=1 [info] Start / :online teslamate_1 | 2023-03-19 21:53:36.360 car_id=1 [info] Connecting ... teslamate_1 | 2023-03-19 21:55:28.664 [info] Start of drive initiated by: %TeslaApi.Stream.Data{elevation: 51, est_heading: xxx, est_lat: xxxxx, est_lng: -xxxxx, est_range: 157, heading: 356, odometer: 20536.2, power: 1, range: 182, shift_state: "D", soc: 61, speed: 0, time: ~U[2023-03-19 21:55:27.553Z]} teslamate_1 | 2023-03-19 21:55:28.665 car_id=1 [info] Driving / Start teslamate_1 | 2023-03-19 21:55:28.743 car_id=1 [info] Fetch already in progress ... teslamate_1 | 2023-03-19 21:58:51.550 [info] GET https://owner-api.teslamotors.com/api/1/vehicles/1493019494049233/vehicle_data -> 408 (9339.297 ms) teslamate_1 | 2023-03-19 21:58:51.551 [warning] TeslaApi.Error / %{"error" => "{\"error\": \"timeout\"}", "error_description" => "", "response" => nil} teslamate_1 | 2023-03-19 21:58:51.552 car_id=1 [error] Error / :unknown teslamate_1 | 2023-03-19 22:04:10.946 [error] Postgrex.Protocol (#PID<0.2388.0>) disconnected: (DBConnection.ConnectionError) client #PID<0.2535.0> timed out because it queued and checked out the connection for longer than 60000ms teslamate_1 | teslamate_1 | #PID<0.2535.0> was at location: teslamate_1 | teslamate_1 | :prim_inet.recv0/3 teslamate_1 | (postgrex 0.16.5) lib/postgrex/protocol.ex:3171: Postgrex.Protocol.msg_recv/4 teslamate_1 | (postgrex 0.16.5) lib/postgrex/protocol.ex:2201: Postgrex.Protocol.recv_bind/3 teslamate_1 | (postgrex 0.16.5) lib/postgrex/protocol.ex:2093: Postgrex.Protocol.bind_execute/4 teslamate_1 | (db_connection 2.4.3) lib/db_connection/holder.ex:354: DBConnection.Holder.holder_apply/4 teslamate_1 | (db_connection 2.4.3) lib/db_connection.ex:1413: DBConnection.run_execute/5 teslamate_1 | (db_connection 2.4.3) lib/db_connection.ex:644: DBConnection.parsed_prepare_execute/5 teslamate_1 | (db_connection 2.4.3) lib/db_connection.ex:636: DBConnection.prepare_execute/4 teslamate_1 | teslamate_1 | 2023-03-19 22:04:11.955 [error] GenStateMachine :"1" terminating teslamate_1 | (Postgrex.Error) ERROR 57014 (query_canceled) canceling statement due to user request teslamate_1 | (ecto_sql 3.9.2) lib/ecto/adapters/sql.ex:913: Ecto.Adapters.SQL.raise_sql_call_error/1 teslamate_1 | (ecto_sql 3.9.2) lib/ecto/adapters/sql.ex:828: Ecto.Adapters.SQL.execute/6 teslamate_1 | (ecto 3.9.4) lib/ecto/repo/queryable.ex:229: Ecto.Repo.Queryable.execute/4 teslamate_1 | (ecto 3.9.4) lib/ecto/repo/queryable.ex:19: Ecto.Repo.Queryable.all/3 teslamate_1 | (ecto 3.9.4) lib/ecto/repo/queryable.ex:151: Ecto.Repo.Queryable.one/3 teslamate_1 | (teslamate 1.27.2) lib/teslamate/log.ex:292: TeslaMate.Log.close_drive/2 teslamate_1 | (teslamate 1.27.2) lib/teslamate/vehicles/vehicle.ex:1024: anonymous fn/3 in TeslaMate.Vehicles.Vehicle.handle_event/4 teslamate_1 | (ecto_sql 3.9.2) lib/ecto/adapters/sql.ex:1203: anonymous fn/3 in Ecto.Adapters.SQL.checkout_or_transaction/4 teslamate_1 | 2023-03-19 22:04:20.580 car_id=1 [info] Start / :online teslamate_1 | 2023-03-19 22:04:21.215 car_id=1 [info] Connecting ... teslamate_1 | 2023-03-19 22:07:43.800 car_id=1 [info] Received stream data: :inactive teslamate_1 | 2023-03-19 22:09:47.924 car_id=1 [info] Received stream data: :inactive teslamate_1 | 2023-03-19 22:09:59.876 [info] Start of drive initiated by: %TeslaApi.Vehicle.State.Drive{gps_as_of: 1679263798, heading: 83, latitude: xxxx, longitude: -xxxxx, native_latitude: xxxxx, native_location_supported: 1, native_longitude: -xxxxxxxx, native_type: "wgs", power: -25, shift_state: "D", speed: 14, timestamp: 1679263799622} teslamate_1 | 2023-03-19 22:09:59.877 car_id=1 [info] Driving / Start teslamate_1 | 2023-03-19 22:12:11.192 car_id=1 [info] Fetch already in progress ... teslamate_1 | 2023-03-19 22:12:11.695 car_id=1 [info] Fetch already in progress ... teslamate_1 | 2023-03-19 22:13:11.886 [error] Postgrex.Protocol (#PID<0.2390.0>) disconnected: ** (DBConnection.ConnectionError) client #PID<0.7282.0> timed out because it queued and checked out the connection for longer than 60000ms

spacex-3 commented 1 year ago

when I start a new docker container without restore the backup files it works!

So I think there were some broken data stored in the backup files, which caused the bugs above. But the backup record included the past 1.5 years data and it meant the memories to me. So I'm willing to see what can I do to fix the record and combine the old and new backup.

Anuj79 commented 1 year ago

i was able to increase the timeout .. and then made sure the container had enough resources.. and ran the close drive command and that seem to have resolved the issue

spacex-3 commented 1 year ago

i was able to increase the timeout .. and then made sure the container had enough resources.. and ran the close drive command and that seem to have resolved the issue

So you think it's the problem of resource used?

Anuj79 commented 1 year ago

in my case it was.. i had reduce the memory allocation the docker container to 100 MB. the query to close a drive is intensive and it was taking longer with reduced memory. so i increased the time out and also increased the memory allocation to 300 MB, the query which was taking 6-10 minutes before was running under 2 minutes after memory increase.

you may be able to use docker stats to see utilization of memory.. since i am running this on the PI dont have enough memory t

On Sun, 26 Mar 2023 at 21:16, fantasysk @.***> wrote:

i was able to increase the timeout .. and then made sure the container had enough resources.. and ran the close drive command and that seem to have resolved the issue

So you think it's the problem of resource used?

— Reply to this email directly, view it on GitHub https://github.com/adriankumpf/teslamate/issues/3091#issuecomment-1484324539, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFSJ2L3V7MN6NCUJJD3FO7TW6DS47ANCNFSM6AAAAAAUIYYJBM . You are receiving this because you commented.Message ID: @.***>

spacex-3 commented 1 year ago

in my case it was.. i had reduce the memory allocation the docker container to 100 MB. the query to close a drive is intensive and it was taking longer with reduced memory. so i increased the time out and also increased the memory allocation to 300 MB, the query which was taking 6-10 minutes before was running under 2 minutes after memory increase. you may be able to use docker stats to see utilization of memory.. since i am running this on the PI dont have enough memory t On Sun, 26 Mar 2023 at 21:16, fantasysk @.> wrote: i was able to increase the timeout .. and then made sure the container had enough resources.. and ran the close drive command and that seem to have resolved the issue So you think it's the problem of resource used? — Reply to this email directly, view it on GitHub <#3091 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFSJ2L3V7MN6NCUJJD3FO7TW6DS47ANCNFSM6AAAAAAUIYYJBM . You are receiving this because you commented.Message ID: @.>

I run the docker container in Synology with 16GB memories and 1t+ storage. So it may not be the resource problem in my case.

spacex-3 commented 1 year ago

ps. I started a new docker since 2023.02, and it works great. So I do really want to combine the elder backup and the now one.

Did anyone have the solutions? Many thanks!

github-actions[bot] commented 10 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.