Disconneted device

maiko 8 months ago

I just installed traccar 6.6 and my device does not load in the web interface. I have the log:

2025-05-14 13:03:42  INFO: [T165ec90a: h02 < 179.242.30.81] ST300STT;007919633;40;318;20250514;00:30:46;27040;-22.153489;-042.924409;000.000;059.85;13;1;61338236;12.18;000000;1;6061;257548;3.5;0\r

which shows me that the information arrives correctly on the server. I would like help to solve this problem.

My xml file is as instructed:

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE properties SYSTEM 'http://java.sun.com/dtd/properties.dtd'>

<properties>

    <entry key='database.driver'>com.mysql.cj.jdbc.Driver</entry>
    <entry key='database.url'>jdbc:mysql://localhost/traccar?zeroDateTimeBehavior=round&amp;serverTimezone=UTC&amp;allowPublicKeyRetrieval=true&amp;useSSL=false&amp;allowMultiQueries=true&amp;autoReconnect=tru>    <entry key='database.user'>root</entry>
    <entry key='database.password'>root</entry>

</properties>
Anton Tananaev 8 months ago

Why are you using port H02?

maiko 8 months ago

h02 is the protocol. The port is 5013. Right?

maiko 8 months ago

my tracker is the st310u.

Anton Tananaev 8 months ago

Your sample message is definitely not H02 format. How did you determine the protocol?

maiko 8 months ago

The message is the default in the tracker. I didn't make any changes. How can I adjust it to make it work correctly?

Anton Tananaev 8 months ago

Are you saying your device was preconfigured with port 5013?

maiko 8 months ago

that's right.

Anton Tananaev 8 months ago

The correct port for Suntech devices is 5011, as you can see here:

https://www.traccar.org/devices/