...demo server works fine BTW !
Have you checked if ports are open? How did you determine that those connections are from Android device?
According to port checking on your troubleshooting page, 5020 and 5055 are open.
I thought it was the Android device because those messages appeared when I switched the client on. But then again, after that nothing got through anymore.
But what could prevent both devices to reach the servers when ports are open?
If that is Android, where are the port-check logs then?
Port Check logs? Does Port checking on your troubleshooting page log anything?
It connects to the server so you should see "connect" and "disconnect" straight away. It would look exactly like what you claim to be Traccar Client connections.
I don't claim anything ;)
I don't understand why my perfect running setup stopped working after a reinstall. If ports are open, what reason could there be so that devices couldn't reach the server?
If devices work with demo server, I'm guessing there must be some issue with network or your server.
That's what I figured. But what issues could that be. Every other service works fine, ports are reachable... I tried to enter the servers IP into the app to see if a direct connection were possible, no luck. What issue could there be with my server. It's a fresh install. Tried onboard database, tried MySQL. Can setup everything but it doesn't receive. I'm lost.
Can I somehow check whether traccar is listening on those ports?
Try to send something directly to the server from your computer or mobile phone.
I tried entering the local IP of the server into the client android app while the device was connected to the local network. Nothing. This is the netstat output:
http://abload.de/image.php?img=screenshot_20180710-0usj77.jpg
Aha!
If I use the original traccar app for local network - nothing in the logs.
I then tried a 3rd party app "Tracker for traccar" and entered the servers address. No I at least have something in the logs
2018-07-10 10:08:53 INFO: [870DC72B] connected
2018-07-10 10:08:53 DEBUG: [870DC72B: 5055 < 192.168.2.123] HEX: 24504749442c3335343037353039313630313232332a30610d0a
2018-07-10 10:08:53 WARN: [870DC72B] error - empty text - IllegalArgumentException (...)
2018-07-10 10:08:53 INFO: [870DC72B] disconnected
2018-07-10 10:09:04 INFO: [D10D9977] connected
2018-07-10 10:09:04 DEBUG: [D10D9977: 5055 < 192.168.2.123] HEX: 24504749442c3335343037353039313630313232332a30610d0a
2018-07-10 10:09:04 WARN: [D10D9977] error - empty text - IllegalArgumentException (...)
2018-07-10 10:09:04 INFO: [D10D9977] disconnected
2018-07-10 10:09:15 INFO: [82A233B3] connected
2018-07-10 10:09:15 DEBUG: [82A233B3: 5055 < 192.168.2.123] HEX: 24504749442c3335343037353039313630313232332a30610d0a
2018-07-10 10:09:15 WARN: [82A233B3] error - empty text - IllegalArgumentException (...)
2018-07-10 10:09:15 INFO: [82A233B3] disconnected
2018-07-10 10:12:39 INFO: [B1404803] connected
2018-07-10 10:12:39 DEBUG: [B1404803: 5055 < 192.168.2.123] HEX: 24504749442c3335343037353039313630313232332a30610d0a
2018-07-10 10:12:39 WARN: [B1404803] error - empty text - IllegalArgumentException (...)
2018-07-10 10:12:39 INFO: [B1404803] disconnected
Anton, I got it.
The problem was ddclient. Ddclient sent my local IP to the dyndns service instead of the web IP. One line in the ddclient.conf did the job. Traccar original client still doesnt work but I dont care about that. My cars are back in my sight ;)
Sorry for bothering !
I reinstalled Traccar after upgrading my Odroid from Debian Jessie to stretch five days ago. Until then, it worked fine with my Meitrack mvt800, so port 5020 is forwarded correctly in my router.
Now the device doesnt show up in the log anymore. I the wanted to try if the android app works (original traccar client app). I forwarded port 5055 for that.
This is what I get:
So the android device somehow connects but doesnt get data through, while the meitrack device is totally gone. What could have gone wrong on re-install ?