Traccar Device Freezing issue

Andres5 months ago

My waiting time is 12 minutes and unknown status is 15 minutes:

<entry key='server.timeout'>720</entry>
<entry key='status.timeout'>900</entry>
Harshana Srimal5 months ago

how many devices are there like that? only one?

If then I suggest you to test the device on other platforms. including traccar demo. It could be device issue.

C5roki5 months ago

I see the same problem as Harshana:

Yesterday I upgraded to 6.3, the log shows (valid) data from my devices, but nothing is shown in the UI.
Today I reverted to 6.2 and all devices show up in the UI as expected.

I saw the 'freeze' with at least 3 devices. Devices are online, the changed positions are shown in the log file, but are not shown in the UI.

Harshana Srimal5 months ago

Still I wasn't able to upgrade to 6.3, I will post an update once I upgraded to 6.3

Anton Tananaev5 months ago
  1. Check timestamps in the logs and on the UI.
  2. Check logs for errors.
C5roki5 months ago

I restarted Traccar running version 6.3 and made a trip
Log 6.2 202408010813-202408010815.jpg
As you can see 'ST915L Groen' (id: 7028538743) is logged.
After the trip, I restarted Traccar, reverting back to version 6.2
Log 6.3 202408010843-202408010845.jpg
As you can see 'ST915L Groen' (id: 7028538743) is logged.

But 'ST915L Groen' (id: 7028538743) only shows up in the Route Report after the restart, reverting back to 6.2
Report 202408010813-202408010845.jpg

Maurice Oduor5 months ago

Similar problem already stated earlier, mine only some devices with gt06 protocol would freeze; that's pre v6.3 installation. Upgrade to version 6.3 and I noticed freezing in some tk103 protocol, gt06. Interestingly it happens randomly. Restart server and all devices update to current time and position and they cycle repeats itself. Downgraded to earlier version 5.8 and freezing disappeared.

Anton Tananaev5 months ago

I don't understand why people keep pasting screenshot of logs instead of proper text. I'm not going to manually type in those samples for testing.

C5roki5 months ago

You're right, but it is a lot of logging.

2024-07-31 21:26:42  INFO: Stopping server...
2024-07-31 21:26:45  INFO: Operating system name: Linux version: 5.15.0-1059-raspi architecture: aarch64
2024-07-31 21:26:45  INFO: Java runtime name: OpenJDK 64-Bit Server VM vendor: Ubuntu version: 17.0.12+7-Ubuntu-1ubuntu222.04
2024-07-31 21:26:45  INFO: Memory limit heap: 512mb non-heap: 0mb
2024-07-31 21:26:45  INFO: Character encoding: UTF-8
2024-07-31 21:26:45  INFO: Version: 6.3
2024-07-31 21:26:45  INFO: Starting server...
2024-07-31 21:26:46  INFO: HikariPool-1 - Starting...
2024-07-31 21:26:48  INFO: HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@2fa7ae9
2024-07-31 21:26:48  INFO: HikariPool-1 - Start completed.
2024-07-31 21:26:49  INFO: Clearing database change log checksums
2024-07-31 21:26:49  INFO: Successfully acquired change log lock
2024-07-31 21:26:49  INFO: Successfully released change log lock
2024-07-31 21:27:00  INFO: Reading from traccar.DATABASECHANGELOG
2024-07-31 21:27:03  INFO: Reading from traccar.DATABASECHANGELOG
2024-07-31 21:27:03  INFO: Reading from traccar.DATABASECHANGELOG
2024-07-31 21:27:03  INFO: UPDATE SUMMARY
2024-07-31 21:27:03  INFO: Run:                          0
2024-07-31 21:27:03  INFO: Previously run:              49
2024-07-31 21:27:03  INFO: Filtered out:                 0
2024-07-31 21:27:03  INFO: -------------------------------
2024-07-31 21:27:03  INFO: Total change sets:           49

2024-07-31 21:27:03  INFO: Update summary generated
2024-07-31 21:27:03  INFO: Successfully released change log lock
2024-07-31 21:27:03  INFO: Command execution complete
2024-07-31 21:27:07  INFO: jetty-11.0.21; built: 2024-05-14T03:19:28.958Z; git: 996cd61addad9cb033e0e3eba6fa3f0fa3dc270d; jvm 17.0.12+7-Ubuntu-1ubuntu222.04
2024-07-31 21:27:08  INFO: Started o.t.w.@7bea4175{/,null,AVAILABLE}
2024-07-31 21:27:08  INFO: Session workerName=node0
2024-07-31 21:27:09  WARN: JAXBContext implementation could not be found. WADL feature is disabled.
2024-07-31 21:27:11  INFO: Started o.e.j.s.ServletContextHandler@7f43a61a{/,null,AVAILABLE}
2024-07-31 21:27:11  INFO: Started ServerConnector@799c9640{HTTP/1.1, (http/1.1)}{0.0.0.0:8082}
2024-07-31 21:27:11  INFO: Started Server@2d8821d4{STARTING}[11.0.21,sto=0] @28818ms
...
2024-08-01 08:13:01  INFO: [Te810d783: globalsat < 77.240.240.234] GSr,30-MJ-SX,354033090800874,0000,5,a280,3,010824,061301,E00525.6783,N5125.0347,12,0,174,12,0.7,14140mV,4280mV,0,2529410,88,86,13,204,04,5271,186A620*5f!\r\n
2024-08-01 08:13:01  INFO: [Te810d783] id: 354033090800874, time: 2024-08-01 08:13:01, lat: 51.41725, lon: 5.42797, course: 174.0
2024-08-01 08:13:01  INFO: [Te810d783: globalsat > 77.240.240.234] ACK\r
2024-08-01 08:13:08  INFO: [Tcc8e3762: h02 < 31.161.201.246] *HQ,7028538743,V1,061305,A,5125.0160,N,00525.6824,E,015.79,149,010824,FFFFFBFF,204,08,33902,10880289,95#
2024-08-01 08:13:10  INFO: [Tcc8e3762: h02 < 31.161.201.246] *HQ,7028538743,V1,061308,A,5125.0112,N,00525.7061,E,021.55,089,010824,FFFFFBFF,204,08,33902,10880289,95#
2024-08-01 08:13:14  INFO: [T1541d205] timed out
2024-08-01 08:13:14  INFO: [T1541d205] disconnected
2024-08-01 08:13:18  INFO: [Te810d783: globalsat < 77.240.240.234] GSr,30-MJ-SX,354033090800874,0000,5,a280,3,010824,061301,E00525.6783,N5125.0347,12,0,174,12,0.7,14140mV,4280mV,0,2529410,88,86,13,204,04,5271,186A620*5f!\r\n
2024-08-01 08:13:18  INFO: Position filtered by Duplicate filters from device: 354033090800874
2024-08-01 08:13:18  INFO: [Te810d783: globalsat > 77.240.240.234] ACK\r
2024-08-01 08:13:38  INFO: [Te5bfa9f1] connected
2024-08-01 08:13:38  INFO: [Te5bfa9f1: osmand < 109.37.155.119] POST /?id=tc5235140020666a55×tamp=1722492817&lat=51.4171537&lon=5.4322527&speed=28.606104349639892&bearing=81.02788543701172&altitude=65.19999694824219&accuracy=1.9210000038146973&batt=98.0 HTTP/1.1\r\nContent-Type: application/x-www-form-urlencoded\r\nUser-Agent: Dalvik/2.1.0 (Linux; U; Android 14; SM-A556B Build/UP1A.231005.007)\r\nHost: xxxxxx.xx:55001\r\nConnection: Keep-Alive\r\nAccept-Encoding: gzip\r\nContent-Length: 0\r\n\r\n
2024-08-01 08:13:38  INFO: [Te5bfa9f1] id: tc5235140020666a55, time: 2024-08-01 08:13:37, lat: 51.41715, lon: 5.43225, speed: 28.6, course: 81.0, accuracy: 1.9
2024-08-01 08:13:38  INFO: [Te5bfa9f1: osmand > 109.37.155.119] HTTP/1.1 200 OK\r\ncontent-length: 0\r\n\r\n
2024-08-01 08:13:40  INFO: [Tcc8e3762] timed out
2024-08-01 08:13:40  INFO: [Tcc8e3762] disconnected
2024-08-01 08:13:40  INFO: Event id: 7028538743, time: 2024-08-01 08:13:40, type: deviceOffline, notifications: 0
2024-08-01 08:13:41  INFO: [Te810d783: globalsat < 77.240.240.234] GSr,30-MJ-SX,354033090800874,0000,5,a280,3,010824,061341,E00525.9561,N5125.0324,7,52,80,10,0.8,14450mV,4280mV,0,2529719,88,86,9,204,04,5271,186B203*58!\r\n
2024-08-01 08:13:41  INFO: [Te810d783] id: 354033090800874, time: 2024-08-01 08:13:41, lat: 51.41721, lon: 5.43260, speed: 28.1, course: 80.0
2024-08-01 08:13:41  INFO: [Te810d783: globalsat > 77.240.240.234] ACK\r
2024-08-01 08:13:58  INFO: [Te810d783: globalsat < 77.240.240.234] GSr,30-MJ-SX,354033090800874,0000,5,a280,3,010824,061341,E00525.9561,N5125.0324,7,52,80,10,0.8,14450mV,4280mV,0,2529719,88,86,9,204,04,5271,186B203*58!\r\n
2024-08-01 08:13:58  INFO: Position filtered by Duplicate filters from device: 354033090800874
2024-08-01 08:13:58  INFO: [Te810d783: globalsat > 77.240.240.234] ACK\r
2024-08-01 08:13:59  INFO: [Tf1d8dfcb] connected
2024-08-01 08:14:01  INFO: [Tf1d8dfcb: h02 < 31.161.201.246] *HQ,7028538743,V1,061355,A,5125.0552,N,00526.0989,E,003.30,062,010824,FBFFFBFF,204,08,33902,10880288,95#
2024-08-01 08:14:01  INFO: Event id: 7028538743, time: 2024-08-01 08:14:01, type: deviceOnline, notifications: 0
2024-08-01 08:14:03  INFO: [Tf1d8dfcb: h02 < 31.161.201.246] *HQ,7028538743,V1,061356,A,5125.0562,N,00526.1055,E,014.86,075,010824,FBFFFBFF,204,08,33902,10880288,95#
2024-08-01 08:14:05  INFO: [Tf1d8dfcb: h02 < 31.161.201.246] *HQ,7028538743,V1,061358,A,5125.0593,N,00526.1166,E,013.78,056,010824,FFFFFBFF,204,08,33902,10880288,95#
2024-08-01 08:14:07  INFO: [Tf1d8dfcb: h02 < 31.161.201.246] *HQ,7028538743,V1,061401,A,5125.0711,N,00526.1238,E,018.84,002,010824,FFFFFBFF,204,08,33902,10880288,95#
2024-08-01 08:14:08  INFO: [Te5bfa9f1] timed out
2024-08-01 08:14:08  INFO: [Te5bfa9f1] disconnected
2024-08-01 08:14:09  INFO: [Tf1d8dfcb: h02 < 31.161.201.246] *HQ,7028538743,V1,061404,A,5125.0881,N,00526.1136,E,025.37,331,010824,FFFFFBFF,204,08,33902,10880288,95#
2024-08-01 08:14:11  INFO: [Tf1d8dfcb: h02 < 31.161.201.246] *HQ,7028538743,V1,061408,A,5125.1100,N,00526.0859,E,023.75,311,010824,FFFFFBFF,204,08,33902,10880288,95#
2024-08-01 08:14:21  INFO: [Tf1d8dfcb: h02 < 31.161.201.246] *HQ,7028538743,V1,061418,A,5125.1451,N,00526.0316,E,010.20,344,010824,FFFFFBFF,204,08,33902,10880288,95#
2024-08-01 08:14:23  INFO: [Tf1d8dfcb: h02 < 31.161.201.246] *HQ,7028538743,V1,061421,A,5125.1507,N,00526.0225,E,010.96,264,010824,FFFFFBFF,204,08,33902,10880288,95#
2024-08-01 08:14:23  INFO: [Te810d783: globalsat < 77.240.240.234] GSr,30-MJ-SX,354033090800874,0000,5,a280,3,010824,061423,E00526.0263,N5125.1488,18,14,280,12,0.7,14440mV,4280mV,0,2529969,88,86,9,204,04,5271,186B20D*28!\r\n
2024-08-01 08:14:23  INFO: [Te810d783] id: 354033090800874, time: 2024-08-01 08:14:23, lat: 51.41915, lon: 5.43377, speed: 7.6, course: 280.0
2024-08-01 08:14:23  INFO: [Te810d783: globalsat > 77.240.240.234] ACK\r
2024-08-01 08:14:33  INFO: [Tf1d8dfcb: h02 < 31.161.201.246] *HQ,7028538743,V1,061431,A,5125.1296,N,00525.9775,E,006.75,209,010824,FFFFFBFF,204,08,33902,983329,95#
2024-08-01 08:14:37  INFO: [Tf1d8dfcb: h02 < 31.161.201.246] *HQ,7028538743,V1,061436,A,5125.1251,N,00525.9784,E,003.29,192,010824,FFFFFBFF,204,08,33902,983329,95#
2024-08-01 08:14:40  INFO: [Te810d783: globalsat < 77.240.240.234] GSr,30-MJ-SX,354033090800874,0000,5,a280,3,010824,061423,E00526.0263,N5125.1488,18,14,280,12,0.7,14440mV,4280mV,0,2529969,88,86,9,204,04,5271,186B20D*28!\r\n
2024-08-01 08:14:40  INFO: Position filtered by Duplicate filters from device: 354033090800874
2024-08-01 08:14:40  INFO: [Te810d783: globalsat > 77.240.240.234] ACK\r
2024-08-01 08:14:41  INFO: [Tf1d8dfcb: h02 < 31.161.201.246] *HQ,7028538743,V1,061439,A,5125.1219,N,00525.9772,E,006.90,176,010824,FFFFFBFF,204,08,33902,983329,95#
2024-08-01 08:14:43  INFO: [Tf1d8dfcb: h02 < 31.161.201.246] *HQ,7028538743,V1,061442,A,5125.1158,N,00525.9838,E,008.24,131,010824,FFFFFBFF,204,08,33902,983329,95#
2024-08-01 08:14:47  INFO: [Tf1d8dfcb: h02 < 31.161.201.246] *HQ,7028538743,V1,061445,A,5125.1161,N,00525.9934,E,007.04,078,010824,FFFFFBFF,204,08,33902,983329,95#
2024-08-01 08:14:49  INFO: [Tf1d8dfcb: h02 < 31.161.201.246] *HQ,7028538743,V1,061448,A,5125.1158,N,00526.0033,E,006.60,105,010824,FFFFFBFF,204,08,33902,983329,95#
2024-08-01 08:14:55  INFO: [Tf1d8dfcb: h02 < 31.161.201.246] *HQ,7028538743,V1,061454,A,5125.1055,N,00526.0128,E,005.07,132,010824,FFFFFBFF,204,08,33902,983329,95#
2024-08-01 08:14:59  INFO: [Tf1d8dfcb: h02 < 31.161.201.246] *HQ,7028538743,V1,061457,A,5125.1049,N,00526.0195,E,005.52,082,010824,FFFFFBFF,204,08,33902,983329,95#
2024-08-01 08:15:05  INFO: [Tf1d8dfcb: h02 < 31.161.201.246] *HQ,7028538743,V1,061503,A,5125.1070,N,00526.0322,E,002.70,096,010824,FFFFFBFF,204,08,33902,983329,94#
2024-08-01 08:15:10  INFO: [Te810d783: globalsat < 77.240.240.234] GSr,30-MJ-SX,354033090800874,0000,5,a280,3,010824,061510,E00526.0290,N5125.1044,5,0,100,10,0.8,13510mV,4280mV,0,2530061,88,86,9,204,04,5271,186B221*53!\r\n
2024-08-01 08:15:10  INFO: Event id: 354033090800874, time: 2024-08-01 08:15:10, type: geofenceEnter, notifications: 1
2024-08-01 08:15:10  INFO: [Te810d783] id: 354033090800874, time: 2024-08-01 08:15:10, lat: 51.41841, lon: 5.43382, course: 100.0
2024-08-01 08:15:10  INFO: [Te810d783: globalsat > 77.240.240.234] ACK\r
2024-08-01 08:15:11  INFO: [Tf1d8dfcb: h02 < 31.161.201.246] *HQ,7028538743,V1,061509,A,5125.1076,N,00526.0318,E,001.22,096,010824,FFFFFBFF,204,08,33902,983329,94#
2024-08-01 08:15:27  INFO: [Te810d783: globalsat < 77.240.240.234] GSr,30-MJ-SX,354033090800874,0000,5,a280,3,010824,061510,E00526.0290,N5125.1044,5,0,100,10,0.8,13510mV,4280mV,0,2530061,88,86,9,204,04,5271,186B221*53!\r\n
2024-08-01 08:15:27  INFO: Position filtered by Duplicate filters from device: 354033090800874
2024-08-01 08:15:27  INFO: [Te810d783: globalsat > 77.240.240.234] ACK\r
2024-08-01 08:15:41  INFO: [Tf1d8dfcb] timed out
2024-08-01 08:15:41  INFO: [Tf1d8dfcb] disconnected
2024-08-01 08:15:41  INFO: Event id: 7028538743, time: 2024-08-01 08:15:41, type: deviceOffline, notifications: 0
2024-08-01 08:15:57  INFO: [Te810d783] timed out
2024-08-01 08:15:57  INFO: [Te810d783] disconnected
2024-08-01 08:15:57  INFO: Event id: 354033090800874, time: 2024-08-01 08:15:57, type: deviceOffline, notifications: 0
2024-08-01 08:15:58  INFO: [T0b384091] connected
...
2024-08-01 08:38:00  INFO: [Ta1c63feb] connected
2024-08-01 08:38:27  INFO: [Ta1c63feb: h02 < 31.161.205.165] *HQ,7028538743,V1,063826,A,5125.1262,N,00526.0233,E,000.00,000,010824,FFFFFBFF,204,08,33902,10880288,96#
2024-08-01 08:38:27  INFO: Event id: 7028538743, time: 2024-08-01 08:38:27, type: deviceOnline, notifications: 0
2024-08-01 08:38:57  INFO: [Ta1c63feb] timed out
2024-08-01 08:38:57  INFO: [Ta1c63feb] disconnected
2024-08-01 08:38:57  INFO: Event id: 7028538743, time: 2024-08-01 08:38:57, type: deviceOffline, notifications: 0
2024-08-01 08:39:13  INFO: [T797c2f32] connected
2024-08-01 08:39:40  INFO: [T797c2f32: h02 < 31.161.205.165] *HQ,7028538743,V1,063939,A,5125.1259,N,00526.0236,E,000.00,000,010824,FFFFFBFF,204,08,33902,10880288,96#
2024-08-01 08:39:40  INFO: Event id: 7028538743, time: 2024-08-01 08:39:40, type: deviceOnline, notifications: 0
2024-08-01 08:40:10  INFO: [T797c2f32] timed out
2024-08-01 08:40:10  INFO: [T797c2f32] disconnected
2024-08-01 08:40:10  INFO: Event id: 7028538743, time: 2024-08-01 08:40:10, type: deviceOffline, notifications: 0
2024-08-01 08:40:26  INFO: [T9630759d] connected
2024-08-01 08:40:52  INFO: [T9630759d: h02 < 31.161.205.165] *HQ,7028538743,V1,064052,A,5125.1260,N,00526.0241,E,000.00,000,010824,FFFFFBFF,204,08,33902,10880288,96#
2024-08-01 08:40:52  INFO: Event id: 7028538743, time: 2024-08-01 08:40:52, type: deviceOnline, notifications: 0
2024-08-01 08:41:16  INFO: Stopping server...
2024-08-01 08:42:48  INFO: Operating system name: Linux version: 5.15.0-1059-raspi architecture: aarch64
2024-08-01 08:42:49  INFO: Java runtime name: OpenJDK 64-Bit Server VM vendor: Eclipse Adoptium version: 21.0.2+13-LTS
2024-08-01 08:42:49  INFO: Memory limit heap: 512mb non-heap: 0mb
2024-08-01 08:42:49  INFO: Character encoding: UTF-8
2024-08-01 08:42:49  INFO: Version: 6.2
2024-08-01 08:42:49  INFO: Starting server...
2024-08-01 08:42:50  INFO: HikariPool-1 - Starting...
2024-08-01 08:42:51  INFO: HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@5ecba515
2024-08-01 08:42:51  INFO: HikariPool-1 - Start completed.
2024-08-01 08:42:52  INFO: Clearing database change log checksums
2024-08-01 08:42:52  INFO: Successfully acquired change log lock
2024-08-01 08:42:53  INFO: Successfully released change log lock
2024-08-01 08:43:03  INFO: Reading from traccar.DATABASECHANGELOG
2024-08-01 08:43:06  INFO: Reading from traccar.DATABASECHANGELOG
2024-08-01 08:43:06  INFO: Reading from traccar.DATABASECHANGELOG
2024-08-01 08:43:06  INFO: UPDATE SUMMARY
2024-08-01 08:43:06  INFO: Run:                          0
2024-08-01 08:43:06  INFO: Previously run:              47
2024-08-01 08:43:06  INFO: Filtered out:                 0
2024-08-01 08:43:06  INFO: -------------------------------
2024-08-01 08:43:06  INFO: Total change sets:           47

2024-08-01 08:43:06  INFO: Update summary generated
2024-08-01 08:43:06  INFO: Successfully released change log lock
2024-08-01 08:43:06  INFO: Command execution complete
2024-08-01 08:43:10  INFO: jetty-11.0.21; built: 2024-05-14T03:19:28.958Z; git: 996cd61addad9cb033e0e3eba6fa3f0fa3dc270d; jvm 21.0.2+13-LTS
2024-08-01 08:43:10  INFO: Started o.t.w.@2b9f37a0{/,null,AVAILABLE}
2024-08-01 08:43:10  INFO: Session workerName=node0
2024-08-01 08:43:12  WARN: JAXBContext implementation could not be found. WADL feature is disabled.
2024-08-01 08:43:13  INFO: Started o.e.j.s.ServletContextHandler@5cdce193{/,null,AVAILABLE}
2024-08-01 08:43:13  INFO: Started ServerConnector@8fc31c7{HTTP/1.1, (http/1.1)}{0.0.0.0:8082}
2024-08-01 08:43:13  INFO: Started Server@755f1046{STARTING}[11.0.21,sto=0] @27765ms
2024-08-01 08:43:19  INFO: [T0a40cc5e] connected
2024-08-01 08:43:21  INFO: [T0a40cc5e: h02 < 31.161.205.165] 2a48512c373032383533383734332c56312c3036343230352c412c353132352e313236322c4e2c30303532362e303234352c452c3030302e30302c3030302c3031303832342c46424646464246462c3230342c30382c33333930322c31303838303238382c393623
2024-08-01 08:43:22  INFO: Event id: 7028538743, time: 2024-08-01 08:43:22, type: deviceOnline, notifications: 0
2024-08-01 08:43:23  INFO: [T0a40cc5e: h02 < 31.161.205.165] 2a48512c373032383533383734332c56312c3036343331372c412c353132352e313235392c4e2c30303532362e303234342c452c3030302e30302c3030302c3031303832342c46424646464246462c3230342c30382c33333930322c31303838303238382c393623
2024-08-01 08:43:24  INFO: Event id: 7028538743, time: 2024-08-01 08:42:05, type: geofenceExit, notifications: 1
2024-08-01 08:43:24  INFO: Event id: 7028538743, time: 2024-08-01 08:42:05, type: geofenceExit, notifications: 1
2024-08-01 08:43:24  INFO: [T0a40cc5e] id: 7028538743, time: 2024-08-01 08:42:05, lat: 51.41877, lon: 5.43374, course: 0.0
2024-08-01 08:43:24  INFO: [T0a40cc5e] id: 7028538743, time: 2024-08-01 08:43:17, lat: 51.41877, lon: 5.43374, course: 0.0
2024-08-01 08:43:24  INFO: [T0a40cc5e: h02 > 31.161.205.165] 2a48512c373032383533383734332c56342c56312c323032343038303130363433323223
2024-08-01 08:43:24  INFO: [T0a40cc5e: h02 > 31.161.205.165] 2a48512c373032383533383734332c56342c56312c323032343038303130363433323323
2024-08-01 08:43:53  INFO: [T0a40cc5e] timed out
2024-08-01 08:43:53  INFO: [T0a40cc5e] disconnected
2024-08-01 08:43:53  INFO: Event id: 7028538743, time: 2024-08-01 08:43:53, type: deviceOffline, notifications: 0
2024-08-01 08:44:00  INFO: user: 2, action: login, from: xxx.xxx.xxx.xxx
2024-08-01 08:44:10  INFO: [T7223a79e] connected
2024-08-01 08:44:30  INFO: [T7223a79e: h02 < 31.161.205.165] 2a48512c373032383533383734332c56312c3036343433302c412c353132352e313235382c4e2c30303532362e303234302c452c3030302e30302c3030302c3031303832342c46464646464246462c3230342c30382c33333930322c31303838303238382c393623
2024-08-01 08:44:30  INFO: Event id: 7028538743, time: 2024-08-01 08:44:30, type: deviceOnline, notifications: 0
2024-08-01 08:44:30  INFO: [T7223a79e] id: 7028538743, time: 2024-08-01 08:44:30, lat: 51.41876, lon: 5.43373, course: 0.0
2024-08-01 08:44:30  INFO: [T7223a79e: h02 > 31.161.205.165] 2a48512c373032383533383734332c56342c56312c323032343038303130363434333023
2024-08-01 08:45:00  INFO: [T7223a79e] timed out
2024-08-01 08:45:00  INFO: [T7223a79e] disconnected
2024-08-01 08:45:00  INFO: Event id: 7028538743, time: 2024-08-01 08:45:00, type: deviceOffline, notifications: 0
2024-08-01 08:45:17  INFO: [T8631c0b0] connected
2024-08-01 08:45:43  INFO: [T8631c0b0: h02 < 31.161.205.165] 2a48512c373032383533383734332c56312c3036343534332c412c353132352e313235362c4e2c30303532362e303233392c452c3030302e30302c3030302c3031303832342c46464646464246462c3230342c30382c33333930322c31303838303238382c393623
2024-08-01 08:45:43  INFO: Event id: 7028538743, time: 2024-08-01 08:45:43, type: deviceOnline, notifications: 0
2024-08-01 08:45:43  INFO: [T8631c0b0] id: 7028538743, time: 2024-08-01 08:45:43, lat: 51.41876, lon: 5.43373, course: 0.0
2024-08-01 08:45:43  INFO: [T8631c0b0: h02 > 31.161.205.165] 2a48512c373032383533383734332c56342c56312c323032343038303130363435343323
2024-08-01 08:46:13  INFO: [T8631c0b0] timed out
2024-08-01 08:46:13  INFO: [T8631c0b0] disconnected
2024-08-01 08:46:13  INFO: Event id: 7028538743, time: 2024-08-01 08:46:13, type: deviceOffline, notifications: 0
Anton Tananaev5 months ago

I tested one on the samples from your log and it works locally just fine on 6.3:

2024-08-01 15:39:22  INFO: [T6e83d421] connected
2024-08-01 15:39:22  INFO: [T6e83d421: h02 < 0:0:0:0:0:0:0:1] *HQ,7028538743,V1,061355,A,5125.0552,N,00526.0989,E,003.30,062,010824,FBFFFBFF,204,08,33902,10880288,95#
2024-08-01 15:39:22  INFO: Event id: 7028538743, time: 2024-08-01 15:39:22, type: deviceOnline, notifications: 0
2024-08-01 15:39:22  INFO: [T6e83d421] id: 7028538743, time: 2024-07-31 23:13:55, lat: 51.41759, lon: 5.43498, speed: 3.3, course: 62.0
2024-08-01 15:39:22  INFO: [T6e83d421: h02 > 0:0:0:0:0:0:0:1] *HQ,7028538743,V4,V1,20240801223922#

Are you sure you're using the standard configuration?

C5roki5 months ago

Yes, installed Traccar on a Raspberry Pi4 4GB, running Ubuntu 22.04.4 LTS, using the linux-arm installer.
Traccar runs as a service under a non-root user, with the Traccar provided JRE.
The Java heap is limited to 1GB (I'm running about 10 active devices).

C5roki5 months ago

Database is MySQL 8.0, also running on the Raspberry Pi4.
I use this setup since Traccar 4.10, the configuration file is also largely unchanged since version 5.0 .

Maurice Oduor5 months ago

I think I might be onto something, I did a fresh install of Traccar 6.3 on a new blank database and configured those freezing devices to report data to this server, and since then none has frozen. All are working well. I have used the default inbuilt Traccar db. I suspect it's something to do with my MariaDB /Postgresql database.Will dig deeper and see if I find the cause.

C5roki5 months ago

Last week Traccar 6.2 ran flawlessly for all trackers. To see if the 6.3 problems were just a glitch, I switched back this weekend to version 6.3, using exactly the same configuration as in version 6.2.
And the problem was back: my ST915L trackers (h02 protocol) show up in the log as deviceOnLine with valid GPS positions, but there is nothing in the database (and nothing in the UI).
Switching back to 6.2 fixes the problem and my ST915L trackers keep working...

(I'm not sure if it is related, because it doesn't seem to affect my other trackers, but I saw this in the log:

2024-08-05 08:30:38 ERROR: LEAK: ByteBuf.release() was not called before it's garbage-collected. See https://netty.io/wiki/reference-counted-objects.html for more information.
Recent access records: 
Created at:
    io.netty.buffer.PooledByteBufAllocator.newDirectBuffer(PooledByteBufAllocator.java:410)
    io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:188)
    io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:179)
    io.netty.buffer.AbstractByteBufAllocator.buffer(AbstractByteBufAllocator.java:116)
    io.netty.buffer.ByteBufUtil.encodeString0(ByteBufUtil.java:1321)
    io.netty.buffer.ByteBufUtil.encodeString(ByteBufUtil.java:1296)
    io.netty.handler.codec.string.StringEncoder.encode(StringEncoder.java:77)
    io.netty.handler.codec.string.StringEncoder.encode(StringEncoder.java:52)
    io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:90)
    org.traccar.WrapperOutboundHandler.write(WrapperOutboundHandler.java:71)
    io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:895)
    io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:875)
    io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:984)
    io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:868)
    io.netty.channel.ChannelOutboundHandlerAdapter.write(ChannelOutboundHandlerAdapter.java:113)
    org.traccar.BaseProtocolEncoder.write(BaseProtocolEncoder.java:106)
    io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:893)
    io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:956)
    io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:982)
    io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:950)
    io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:1000)
    io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1024)
    io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:305)
    org.traccar.protocol.H02ProtocolDecoder.sendResponse(H02ProtocolDecoder.java:310)
    org.traccar.protocol.H02ProtocolDecoder.decodeText(H02ProtocolDecoder.java:335)
    org.traccar.protocol.H02ProtocolDecoder.decode(H02ProtocolDecoder.java:622)
    org.traccar.ExtendedObjectDecoder.channelRead(ExtendedObjectDecoder.java:73)
    io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
    io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
    io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
    org.traccar.WrapperContext.fireChannelRead(WrapperContext.java:102)
    io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346)
    io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318)
    org.traccar.WrapperInboundHandler.channelRead(WrapperInboundHandler.java:56)
    io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
    io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
    io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
    io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93)
    org.traccar.handler.network.StandardLoggingHandler.channelRead(StandardLoggingHandler.java:62)
    io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
    io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
    io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
    org.traccar.handler.network.NetworkMessageHandler.channelRead(NetworkMessageHandler.java:36)
    io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
    io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
    io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
    io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:289)
    io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
    io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
    io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
    io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1407)
    io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440)
    io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
    io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:918)
    io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
    io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788)
    io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
    io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
    io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
    io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:994)
    io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
    io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
    java.base/java.lang.Thread.run(Thread.java:1583)

)

Anton Tananaev5 months ago

If you see this one-off, it's probably not an issue. But if it happens all the time, it could indicate some problem.