First you check if port 5050 is open seen from the internet (external router ip).
Have you followed the troubleshooting guides?
I checked that port 5055 was open but it wasn't. I then updated the open to 7055 to match the internal open port and now it shows open.
I updated my Server URL to my external IP at port 7055 (the open port corresponding to port 5055 in the container) but I still get send failed.
I tried the troubleshooting guide for the client but nothing stood out.
I then restarted the docker container and the logs show the following error:
2024-01-05 12:31:07 WARN: No systemd support - Unable to load library 'systemd':
Error loading shared library libsystemd.so: No such file or directory
Error loading shared library libsystemd.so: No such file or directory
Native library (linux-x86-64/libsystemd.so) not found in resource path (tracker-server.jar) - UnsatisfiedLinkError (... < TaskHealthCheck:49 < <gener:-1 < *:-1 < ... < ScheduleManager:46 < ...)
That's completely unrelated warning.
Have you done the server troubleshooting? If yes, you should know exactly where the problem is.
"Check tracking server logs:" - yes nothing as far as I can see except above (I can post the entire log if it more helpful)
"If there are no HEX messages in the log, go to point 4." - no hex messages so on to point 4
"Server is not visible from the Internet. Use port check tool to verify." - port is open as verified by the port check tool above. And I verified that the port is seen as open on my mobile device so there is no issue with that communication being blocked either.
"Device is configured incorrectly or there is some problem with the device. Contact device vendor for more information." - no idea where to go from here.
as far as I know the device config is correct as in the first post above. I don't know what is meant by "there is some problem with the device." The client logs show that the location is being updated and it is trying to communicate with the server.
Does the port check tool simply check for an open port on the router or does it check that the message gets all the way to the traccar server on my LAN?
Also, I really appreciate the help on this. Sorry for being such a noob.
Port check tool should connect to your server. Do you see connections from the tool in the logs? If not, then whatever port you exposed is not the right one.
I think I see the connection. This is what I'm seeing in the logs when I check the port with the port checker:
2024-01-11 16:59:19 INFO: [T5b2e9f4a] connected
2024-01-11 16:59:19 INFO: [T5b2e9f4a] disconnected
2024-01-11 17:01:29 INFO: [Tc4194911] connected
2024-01-11 17:01:29 INFO: [Tc4194911] disconnected
But I think I'm actually making some progress.
I restarted the server, and my client and I am getting the connection from the client into the server. Even tho the client continuously reports "send failed". So that was confusing.
But my device still shows as "offline".
I've rechecked that the device id on the client app matches the client id in the server.
These are the messages I'm seeing in the server logs when the device sends the message:
2024-01-11 17:14:49 INFO: [Ta522ac58] connected
2024-01-11 17:14:50 INFO: [Ta522ac58: osmand < 172.56.248.230] 16030100fb010000f703035b10da43d9e44d758......................1
2024-01-11 17:14:50 INFO: [Ta522ac58: osmand > 172.56.248.230] 485454502f312e312034303020426164................................0d0a
2024-01-11 17:14:50 INFO: [Ta522ac58] disconnected
Are those the HEX messages that are referenced in the troubleshooting guide?
I'm not seeing either the "unknown device" or the "info" after the messages so I'm not sure where to go after that in the troubleshooting guide.
It seems like you're trying to use HTTPS instead of HTTP.
"HTTPS instead of HTTP."
and there it was.
switched to HTTP and it's now working. I'm not sure how I missed that.
Thank you again.
I've got a Debian machine that I use or IoT deployments of various apps all of which run in Docker.
I have configured and deployed the Traccar server in my Docker environment and everything seems to be up and running. I can log in, set up devices, etc.
But since I have many docker containers running on the same machine the ports in the default docker run command were already in use so I needed to change the ports exposed on the host. I left the ports exposed inside the container the same.
Here is the ports portion of the docker command that I used:
-p 8082:8082 -p 7000-7150:5000-5150 -p 7000-7150:5000-5150/udp
I am trying to set up a mobile phone (android) client.
I have installed the client app and obtained the device ID. I've entered that id into the server when setting up a new device.
In my router I've forwarded port 5055 to my host IP at port 7055 (which should correspond to port 5055 internally to the container).
In the client app I entered the public IP of my router and port 5055 and started the service.
I can see the logs in the app running but I keep getting "send failed" in the logs and the device shows offline on the server.
Can anyone explain what I might be doing wrong?