Cannot connect TK103B to my traccar server

Drew Johnstone6 years ago

Hi Guys,

I've just bought my TK103B and I've wired it in, I've sent some sms codes to check the imei number and I sent an SMS to connect it to my server:

adminip12345 mydomain 8082 (I actually used my domain) - it then replied with adminip ok.
I've gone into the traccar server and added the imei number as a device - however its not showing as online at all.

I've attempted to check the logs but they are completely in chinese and I cannot read them (c:\program files\traccar\logs)

Any ideas what I've missed?

Anton Tananaev6 years ago

Open logs with a good text editor, not notepad. I would recommend to install notepad++.

Drew Johnstone6 years ago

Am I meant to be setting the port as 5001 (or what ever my clone needs to use) rather than the traccar port?
eg: adminip12345 mydomain 5001

Anton Tananaev6 years ago

Yes, of course you need to use correct device port.

Drew Johnstone6 years ago

ah! I was thinking it was the binking traccar port that I use to access the admin panel!

I've just checked the logs again using notepad++ and I get a lot of these

2018-08-02 20:59:45  INFO: [41EBBA3F] connected
2018-08-02 20:59:45 DEBUG: [41EBBA3F: 5055 < 127.0.0.1] HEX: 504f5354202f3f69643d3138383532382674696d657374616d703d31353333323339393834266c61743d35322e363839353531266c6f6e3d312e3238313933352673706565643d302662656172696e673d31322e363331393330323839373133363626616c7469747564653d31362e36303831353432393638373526626174743d343220485454502f312e310d0a4163636570743a202a2f2a0d0a557365722d4167656e743a2054726163636172436c69656e742f35302043464e6574776f726b2f3930322e322044617277696e2f31372e372e300d0a4163636570742d4c616e67756167653a20656e2d67620d0a4163636570742d456e636f64696e673a20677a69702c206465666c6174650d0a5669613a20687474702f312e3120447265772d4465736b746f700d0a582d466f727761726465642d466f723a203139322e3136382e312e310d0a582d466f727761726465642d50726f746f3a20687474700d0a582d466f727761726465642d486f73743a20646d6a2e76696577646e732e6e65743a383038320d0a582d466f727761726465642d5365727665723a203139322e3136382e312e3135300d0a486f73743a206c6f63616c686f73743a353035350d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2018-08-02 20:59:45 DEBUG: [41EBBA3F: 5055 > 127.0.0.1] HEX: 485454502f312e3120323030204f4b0d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2018-08-02 20:59:45  INFO: [41EBBA3F] id: 188528, time: 2018-08-02 20:59:44, lat: 52.68955, lon: 1.28194, course: 12.6
2018-08-02 21:00:15  INFO: [41EBBA3F] disconnected

Which is the client on my iphone but I'm getting no connections at all from the TK103B logging at the moment, I'm assuming I just work my way through the ports :)

Drew Johnstone6 years ago

ok, so I've tried 5001, 5002, 5003, 5006, 5013, 5023, 5036, 5093 - nothing showing in the logs and I've made sure the ports are all open.

This is some of the stuff from the advert for the item

GPS Tracker
2.remote monitoring
3.tamper alarm,
4.fuel cut off
5.dead zone pass, SOS
6.illegal ignition alarm
Product Specifications:
Brand: TK103B
Network frequency band: 850/900/1800 / 1900Mhz
GSM / GPRS module: MT6261A
GPS module: Ublox7020
GPS sensitivity: -159dBm
GPS accuracy: 5M
GPS start time: cold start 45s
Warm start 35s
? Hot start 1s
For automotive power supply: 12V - 24V
Battery: 3.7V 500mAh built-in battery
Language: English / Spanish /
SIM card: 2G
Packing size: 19.2cm * 13cm * 6cm
Weight: 550g
Notice:
The user manual will explain in detail how to operate this product.
Therefore, please be sure to read carefully before using this product manual.
Subject to change without notice.
Each change will be released uniformly in the latest product sales.
The manufacturer assumes no legal responsibility for any errors or omissions in the manual.
Package List: K6399

Anton Tananaev6 years ago

Have you followed troubleshooting guide?

Drew Johnstone6 years ago

I think so, I've checked the logs and all I'm getting now is this (I've stopped my ios client too)

2018-08-02 21:31:25  INFO: [FD00C053] connected
2018-08-02 21:31:25  INFO: [FD00C053] disconnected
2018-08-02 21:31:30  INFO: [FBBE4237] connected
2018-08-02 21:31:30  INFO: [FBBE4237] disconnected
2018-08-02 21:34:06  INFO: [B5243A51] connected
2018-08-02 21:34:06  INFO: [B5243A51] disconnected
2018-08-02 21:34:08  INFO: [1C88073B] connected
2018-08-02 21:34:08  INFO: [1C88073B] disconnected
2018-08-02 21:34:51  INFO: [E15749EB] connected
2018-08-02 21:34:51  INFO: [E15749EB] disconnected
2018-08-02 21:34:54  INFO: [FEFD213F] connected
2018-08-02 21:34:54  INFO: [FEFD213F] disconnected
2018-08-02 21:35:59  INFO: [6CCC6F63] connected
2018-08-02 21:35:59  INFO: [6CCC6F63] disconnected
2018-08-02 21:44:14  INFO: [C62F03C7] connected
2018-08-02 21:44:14  INFO: [C62F03C7] disconnected
2018-08-02 21:44:18  INFO: [EA5DB854] connected
2018-08-02 21:44:18  INFO: [EA5DB854] disconnected

so I'm assuming as nothing is making a connection I'm missing something - I've tried all the ports listed for the chinese clones, but still no connection

Drew Johnstone6 years ago

oh, I sent an SMS saying:

check123456 and got:

GPRS:ON
GPS:ON
GSM Signal:23
APN:Everywhere (which is what the sim supplier says it is)
IP: my static ip address followed by the last port i tried

Anton Tananaev6 years ago

If you don't see any HEX messages, it means that server hasn't received anything from your device.

Drew Johnstone6 years ago

hmmm, I just don't know what else to try, I've emailed the supplier to see if they know what port to use, cos otherwise I'm just trying:

adminip123456 track.mydomain.net 5001

and all the other ports but its just not communicating - ive checked all the ports are open using the port checker on here

Drew Johnstone6 years ago

oh wow, so it actually has to be the IP address, I cant use track.mydomain.net - I have to use the ip!!! Now its working fine!!!