Log file

Rick971603 years ago

Hello everyone, I'm a newbie trying to understand how traccar works.
I installed traccar on a VPS.
Here, I have a Chinese plotter with the GT02 protocol.
I performed this series of commands to change the administration platform....
adminip123456+IP of my VPS+5022
Answer: admin ok

In my interface my plotter is always "offline".

I have this return from the log file, what should I do next.
Thank you very much !!!

Last login: Fri Jan 21 14:30:42 2022 from 94.198.181.65
root@vps------:~# tail -100 /opt/traccar/logs/tracker-server.log
2022-01-21 05:51:52  INFO: [20997f3a] connected
2022-01-21 05:51:52  INFO: [20997f3a: osmand < 127.0.0.1] HEX: 504f5354202f20485454502f312e310d0a4163636570743a202a2f2a0d0a557365722d4167656e743a204d6f7a696c6c612f352e30202857696e646f7773204e5420362e3129204170706c655765624b69742f3533372e333620284b48544d4c2c206c696b65204765636b6f29204368726f6d652f38362e302e343234302e313833205361666172692f3533372e33360d0a4163636570742d456e636f64696e673a20677a69702c206465666c6174650d0a436f6e74656e742d547970653a206170706c69636174696f6e2f782d7777772d666f726d2d75726c656e636f6465640d0a5669613a20312e312076707338343634370d0a582d466f727761726465642d466f723a203139342e3233332e37382e3132300d0a582d466f727761726465642d50726f746f3a20687474700d0a582d466f727761726465642d486f73743a203139322e3136322e37312e3132380d0a582d466f727761726465642d5365727665723a203139322e3136322e37312e3132380d0a486f73743a206c6f63616c686f73743a353035350d0a436f6e74656e742d4c656e6774683a2031340d0a0d0a30782535422535443d726964686f
2022-01-21 05:51:52  INFO: [20997f3a: osmand > 127.0.0.1] HEX: 485454502f312e31203430302042616420526571756573740d0a636f6e74656e742d6c656e6774683a20300d0a0d0a
2022-01-21 05:52:22  INFO: [20997f3a] disconnected
2022-01-21 13:33:00  INFO: user: 1, action: edit, object: device, id: 13
jason diesel3 years ago

First Event:

POST / HTTP/1.1
Accept: */*
User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
Via: 1.1 vps84647
X-Forwarded-For: 194.233.78.120
X-Forwarded-Proto: http
X-Forwarded-Host: 192.162.71.128
X-Forwarded-Server: 192.162.71.128
Host: localhost:5055
Content-Length: 14

0x%5B%5D=ridho

Second Event:

HTTP/1.1 400 Bad Request
content-length: 0

Any other interesting messages?

Anton Tananaev3 years ago

That's not from your device.

Rick971603 years ago

No, no further message.
With Client Traccar: everything works.
According to what ANTON says, the tracker does not communicate with the VPS server. what I also said to myself!
However, I enter the information well when adding a new device.
What should I do??

Anton Tananaev3 years ago

Well, if you don't see anything else in the logs, it means that the server hasn't received any communication from your device. You can check our troubleshooting guide. That might help to identify the cause.

Rick971603 years ago

Ok I will see and come back to you ..
Thank you