Trouble Connecting with Teltonika Device

ataylor6 years ago

Hi,

I'm looking for some assistance; I recently configured a Teltonika FM36M1 device to point to my own hosted traccar server using the Teltonika protocol as per documentation (port 5027)

The device seems to be functioning and sending data, but appears offline on the client. I have reviewed log files and searched the forum for a resolution, but as yet have been unsuccessful. Please see log data below - any help/guidance would be appreciated, thank you

2019-03-08 06:51:19  INFO: [7FABA573] connected
2019-03-08 06:51:29  WARN: [7FABA573] error - Connection reset by peer - IOException (...)
2019-03-08 06:51:29  INFO: [7FABA573] disconnected
2019-03-08 08:04:50  INFO: [257C270E] connected
2019-03-08 08:04:50 DEBUG: [257C270E: 5001 < 212.92.117.35] HEX: 0300002b26e00000000000436f6f6b69653a206d737473686173683d68656c6c6f0d0a0100080003000000
2019-03-08 08:05:01  WARN: [257C270E] error - Connection reset by peer - IOException (...)
2019-03-08 08:05:01  INFO: [257C270E] disconnected
2019-03-08 08:33:16  INFO: [204D3380] connected
2019-03-08 08:33:16 DEBUG: [204D3380: 5001 < 109.201.152.20] HEX: 0300002b26e00000000000436f6f6b69653a206d737473686173683d68656c6c6f0d0a0100080003000000
2019-03-08 08:33:26  WARN: [204D3380] error - Connection reset by peer - IOException (...)
2019-03-08 08:33:26  INFO: [204D3380] disconnected
2019-03-08 09:32:18  INFO: [A88AEE6E] connected
2019-03-08 09:32:18 DEBUG: [A88AEE6E: 5004 < 192.162.101.55] HEX: 0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d696e697374720d0a0100080003000000
2019-03-08 09:32:18  WARN: [A88AEE6E] error - IndexOutOfBoundsException (... < Gl200FrameDecoder:36 < Gl200ProtocolDecoder:41 < ExtendedObjectDecoder:58 < ...)
2019-03-08 09:32:18  INFO: [A88AEE6E] disconnected
2019-03-08 09:32:18  WARN: [A88AEE6E] error - IndexOutOfBoundsException (... < Gl200FrameDecoder:36 < Gl200ProtocolDecoder:41 < ExtendedObjectDecoder:58 < ...)
2019-03-08 09:32:18  WARN: [A88AEE6E] error - IndexOutOfBoundsException (... < Gl200FrameDecoder:36 < Gl200ProtocolDecoder:41 < ExtendedObjectDecoder:58 < ...)
2019-03-08 09:32:18  WARN: [A88AEE6E] error - IndexOutOfBoundsException (... < Gl200FrameDecoder:36 < Gl200ProtocolDecoder:41 < ExtendedObjectDecoder:58 < ...)
2019-03-08 09:32:18  WARN: [A88AEE6E] error - IndexOutOfBoundsException (... < Gl200FrameDecoder:36 < Gl200ProtocolDecoder:41 < ExtendedObjectDecoder:58 < ...)
2019-03-08 09:32:18  WARN: [A88AEE6E] error - IndexOutOfBoundsException (... < Gl200FrameDecoder:36 < Gl200ProtocolDecoder:41 < ExtendedObjectDecoder:58 < ...)
2019-03-08 09:32:18  WARN: [A88AEE6E] error - IndexOutOfBoundsException (... < Gl200FrameDecoder:36 < Gl200ProtocolDecoder:41 < ExtendedObjectDecoder:58 < ...)
2019-03-08 09:58:36  INFO: [8E49DC04] connected
2019-03-08 09:58:36 DEBUG: [8E49DC04: 5001 < 212.92.117.35] HEX: 0300002b26e00000000000436f6f6b69653a206d737473686173683d68656c6c6f0d0a0100080003000000
2019-03-08 09:58:47  WARN: [8E49DC04] error - Connection reset by peer - IOException (...)
2019-03-08 09:58:47  INFO: [8E49DC04] disconnected
2019-03-08 10:24:08  INFO: [51714AF9] connected
2019-03-08 10:24:08 DEBUG: [51714AF9: 5001 < 109.201.152.20] HEX: 0300002b26e00000000000436f6f6b69653a206d737473686173683d68656c6c6f0d0a0100080003000000
2019-03-08 10:24:18  WARN: [51714AF9] error - Connection reset by peer - IOException (...)
2019-03-08 10:24:18  INFO: [51714AF9] disconnected
2019-03-08 12:02:00  INFO: [D0EA2328] connected
2019-03-08 12:02:00 DEBUG: [D0EA2328: 5064 < 192.162.101.55] HEX: 0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d696e697374720d0a0100080003000000
2019-03-08 12:04:00  INFO: [D0EA2328] timed out
2019-03-08 12:04:00  INFO: [D0EA2328] disconnected
2019-03-08 12:12:05  INFO: [47265AAC] connected
2019-03-08 12:12:05 DEBUG: [47265AAC: 5051 < 125.64.94.197] HEX: 474554202f20485454502f312e300d0a0d0a
2019-03-08 12:12:20  INFO: [47265AAC] disconnected
2019-03-08 12:32:57  INFO: [DE055787] connected
2019-03-08 12:32:57 DEBUG: [DE055787: 5006 < 192.162.101.55] HEX: 0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d696e697374720d0a0100080003000000
Ernesto Vallejo6 years ago

I dont see any messages to port 5027

ataylor6 years ago

That's true, but the device is definitly pointed to 5027; in recent days it has connected and appeared online but only very briefly, with no change at all to the device or server config. Any ideas?

Ernesto Vallejo6 years ago

Try with another SIM card?
Reconfigure it.
Delete device from platform and add it again.

ataylor6 years ago

Thanks for the suggestions Ernesto - I have tried all of those steps multiple times with no success.

Is there a common reason why a device would seem to try different ports to that which it was configured to look for?

Ernesto Vallejo6 years ago

Router misconfiguration? Maybe you have routing rules that are wrong.

ataylor6 years ago

Hi Ernesto,

sorry for all the questions, would that be device config?

Has anybody had success with the FM36M1 device?

Ernesto Vallejo6 years ago

No problem, routing issues could be at server side. I have not used teltonika devices before.

IoSonoPiero6 years ago

I'm interested at this discussion. I own a FMB920 and I'd like to upgrade to FM36M1.
Did you solved the issue?

ataylor6 years ago

The issue was resolved when I changed SIM card from giffgaff to vodafone - so perhaps linked to APN settings, but I can confirm that FM36M1 works fine.

IoSonoPiero6 years ago

Good!
Thank you very much!
May I ask you if you can got CAN data via Traccar?