disable device

alia year ago

Hello
I installed Script traccar on my server
I have been using it for three years
I added 25 devices on the server
In the last three months all my devices started to disable in sequence
I did not change anything in the devices or the server
My devices are named fm910 and fm1110
please guide me
Thankful

Anton Tananaeva year ago

Do you have any device expiration time? If not, then someone must have disabled them manually. Check logs to see who made any changes there.

alia year ago

thanks for your response

No, I did not set the expiration time
No one uses the server and devices except me

Devices receive and respond to messages well
But information from them is not received on the server

alia year ago

log file:

2023-01-31 09:11:59  INFO: [T8054e885] connected
2023-01-31 09:11:59  INFO: [T8054e885: osmand < 127.0.0.1] 504f5354202f20485454502f312e310d0a4163636570743a202a2f2a0d0a557365722d4167656e743a204d6f7a696c6c612f352e3020284c696e75783b20553b20416e64726f696420342e342e323b20656e2d55533b20484d204e4f5445203157204275696c642f4b4f5434394829204170706c655765624b69742f3533342e333020284b48544d4c2c206c696b65204765636b6f292056657273696f6e2f342e3020554342726f777365722f31312e302e352e3835302055332f302e382e30204d6f62696c65205361666172692f3533342e33300d0a4163636570742d456e636f64696e673a20677a69702c206465666c6174650d0a436f6e74656e742d547970653a206170706c69636174696f6e2f782d7777772d666f726d2d75726c656e636f6465640d0a5669613a20312e3120737276343734323139393231340d0a582d466f727761726465642d466f723a203130332e3136372e39322e35330d0a582d466f727761726465642d50726f746f3a20687474700d0a582d466f727761726465642d486f73743a203137312e32322e32342e3138340d0a582d466f727761726465642d5365727665723a203137312e32322e32342e3138340d0a486f73743a206c6f63616c686f73743a353035350d0a436f6e74656e742d4c656e6774683a2032300d0a0d0a30782535422535443d616e64726f786768307374
2023-01-31 09:11:59  INFO: [T8054e885: osmand > 127.0.0.1] 485454502f312e31203430302042616420526571756573740d0a636f6e74656e742d6c656e6774683a20300d0a0d0a
2023-01-31 09:12:29  INFO: [T8054e885] disconnected
2023-01-31 11:48:21  INFO: [U5963b68e: teltonika < 162.220.167.38] 494e56495445207369703a383334363334303033393533403137312e32322e32342e3138343a35303237205349502f322e300d0a5669613a205349502f322e302f554450203136322e3232302e3136372e33383a353431373b72706f72743d353431373b6272616e63683d7a39684734624b307530487061615a464171786e0d0a436f6e746163743a203c7369703a393630303030303237383332403136322e3232302e3136372e33383a353431373e0d0a46726f6d3a2022393630303030303237383332223c7369703a393630303030303237383332403137312e32322e32342e3138343a353032373e3b7461673d74454834414f46354c4147436e0d0a546f3a203c7369703a383334363334303033393533403137312e32322e32342e3138343a353032373e0d0a43616c6c2d49443a20796b6261366b36632d6d3362742d313430392d736e396e2d30716c3262616865686f77620d0a416c6c6f773a20494e564954452c2041434b2c2043414e43454c2c204259450d0a436f6e74656e742d547970653a206170706c69636174696f6e2f7364700d0a435365713a2031303220494e564954450d0a4d61782d466f7277617264733a2037300d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2023-01-31 11:48:22  INFO: [U5963b68e] error - readerIndex(8) + length(8307) exceeds writerIndex(466): PooledDirectByteBuf(ridx: 8, widx: 466, cap: 2048) - IndexOutOfBoundsException (... < TeltonikaProtocolDecoder:668 < *:644 < ExtendedObjectDecoder:72 < ... < StandardLoggingHandler:44 < ...)
2023-01-31 12:09:24  INFO: [T27b30435] connected
2023-01-31 12:09:24  INFO: [T27b30435: osmand < 127.0.0.1] 504f5354202f3f733d6361707463686120485454502f312e310d0a4163636570743a20746578742f68746d6c2c206170706c69636174696f6e2f7868746d6c2b786d6c2c20696d6167652f6a78722c202a2f2a0d0a557365722d4167656e743a204d6f7a696c6c612f352e302028416e64726f69643b204c696e75782061726d76376c3b2072763a31302e302e3129204765636b6f2f32303130303130312046697265666f782f31302e302e312046656e6e65632f31302e302e310d0a4163636570742d4c616e67756167653a20656e2d75730d0a4163636570742d456e636f64696e673a20677a69702c206465666c6174650d0a436f6e74656e742d547970653a206170706c69636174696f6e2f782d7777772d666f726d2d75726c656e636f6465643b20636861727365743d5554462d380d0a5669613a20312e3120737276343734323139393231340d0a582d466f727761726465642d466f723a203131322e3139322e31362e3133340d0a582d466f727761726465642d50726f746f3a20687474700d0a582d466f727761726465642d486f73743a203137312e32322e32342e3138343a38300d0a582d466f727761726465642d5365727665723a203137312e32322e32342e3138340d0a486f73743a206c6f63616c686f73743a353035350d0a436f6e74656e742d4c656e6774683a203231390d0a0d0a5f6d6574686f643d205f5f636f6e7374727563742666696c7465725b5d3d73797374656d266d6574686f643d676574266765745b5d3d636d642e6578652b253246632b636572747574696c2b2d75726c63616368652b2d73706c69742b2d662b687474702533412532462532463131322e3139322e31362e31333425334131393439302532467370726561642e7478742b4325334125354350726f6772616d446174612535437370726561642e6578652b2532362532362b4325334125354350726f6772616d446174612535437370726561642e6578650d0a0d0a
2023-01-31 12:09:24  INFO: [T27b30435: osmand > 127.0.0.1] 485454502f312e31203430302042616420526571756573740d0a636f6e74656e742d6c656e6774683a20300d0a0d0a
2023-01-31 12:09:54  INFO: [T27b30435] disconnected
Track-tracea year ago

If the devices are online they sent data. Did you check the log ?

Track-tracea year ago

Did you check that the Device ID is the same as in your log..

For that teltonika seems not from a device ? when you translate from HEX i do not know teltonika protocol though

INVITE sip:834634003953@171.22.24.184:5027 SIP/2.0
Via: SIP/2.0/UDP 162.220.167.38:5417;rport=5417;branch=z9hG4bK0u0HpaaZFAqxn
Contact: <sip:960000027832@162.220.167.38:5417>
From: "960000027832"<sip:960000027832@171.22.24.184:5027>;tag=tEH4AOF5LAGCn
To: <sip:834634003953@171.22.24.184:5027>
Call-ID: ykba6k6c-m3bt-1409-sn9n-0ql2bahehowb
Allow: INVITE, ACK, CANCEL, BYE
Content-Type: application/sdp
CSeq: 102 INVITE
Max-Forwards: 70
Content-Length: 0 
alia year ago

The devices worked without problems
They started to disable automatically without any change in their settings

After three devices were disconnected, I updated traccar. I thought the problem was traccar
But ...

Track-tracea year ago

So they now all stay offline ? And no entry in your log for those device ID's ?

If so check the server port for the device is reachable from the internet? And check that the device is configured to connect to the server internet ip and port.

https://portchecker.co/

alia year ago

https://s2.uupload.ir/files/untitled_karo.png

Yes, all the devices are offline and no information about them is saved in the log file

Checked device. The IP of the device is set and the port of the device is the default
I checked the server with the site you gave
Port 5027, which is related to the device, is open on the server

Anton Tananaeva year ago

Are you talking about disconnected or disabled devices? If disabled, as you claimed originally, please provide a screenshot to show where you see them as disabled.

Track-tracea year ago

If the simcard for the device is active and has data then the tracker should sent something to the server.

alia year ago

Thanks for all the help friends
The server's firewall prevented the transmission of device commands to the server

thezgbanka month ago

@ali I know it's a very old topic, but I'm experiencing the same issue. How did you solve this problem?

Track-tracea month ago

You can read he solved it by opening the ports on his server firewall.