Client configuration

4655783 years ago

Hello,
I have problems to get a connection with the IOS Client to my traccar server.
Receiving positions from the GPS device works and also the GUI is available via port 8082.
The port check says that port 5055 is not open, but I have opened it in Fritzbox the same way as for the GPS device (5035).
Is 5055 the correct port to open?

4655783 years ago

The client app opened with a request to insert the server. I have tried both:
<my-dyndns-name> and my-dyndns-name:5055, both without success (Server connection failed).

4655783 years ago

I have now enabled port 5055 entry in default.xml and restartet the server.
When start the client an enter http://<my-dns-name>:5055, I got an error.

Anton Tananaev3 years ago

Port 5055 is the correct port for the Client app and should be open.

4655783 years ago

Hello Anton,
I have deleted the visibility for port 5055 in default.xml as it worked before without modifying the default.xml.

The port 5055/TCP is open in the fritzbox, I can see some log entries with the wrong config for port 5055:

2021-09-27 15:57:42  INFO: [21c80763] connected
2021-09-27 15:57:42  INFO: [21c80763: tlt2h < 46.114.169.33] HEX: 23383634343530303430303436343239234d543630305f34472330303030234155544f4c4f5723310d0a2330303033326234333162244750524d432c3133353734312e30302c412c353334302e303939322c4e2c303$
2021-09-27 15:57:42  INFO: [21c80763] id: 864450040046429, time: 2021-09-27 15:57:41, lat: 63.66832, lon: 9.63942, speed: 0.5, course: 0.0
2021-09-27 16:00:35  INFO: [1db45d66] connected
2021-09-27 16:00:35  INFO: [1db45d66: osmand < 149.233.145.247] HEX: 474554202f6170692f73657276657220485454502f312e310d0a486f73743a207473646b722e64796e76362e6e65743a353035350d0a4163636570743a202a2f2a0d0a4163636570742d4c616e67756167653a20$
2021-09-27 16:00:35  INFO: [1db45d66: osmand > 149.233.145.247] HEX: 485454502f312e31203430302042616420526571756573740d0a636f6e74656e742d6c656e6774683a20300d0a0d0a
2021-09-27 16:01:06  INFO: [1db45d66] disconnected
2021-09-27 16:58:22  INFO: [01ba0f8b] connected
2021-09-27 16:58:22  INFO: [01ba0f8b: tlt2h < 46.114.169.33] HEX: 23383634343530303430303436343239234d543630305f34472330303030234155544f4c4f5723310d0a2330303033326234333162244750524d432c3134353734392e30302c412c353334302e313039322c4e2c303$
2021-09-27 16:58:22  INFO: [01ba0f8b] id: 864450040046429, time: 2021-09-27 16:57:49, lat: 63.66849, lon: 9.63933, speed: 0.1, course: 0.0
4655783 years ago

But I am not able to establish a connection from IOS App to the server.

Anton Tananaev3 years ago

Can you screenshot server URL you are using in the app?

4655783 years ago

To be honest, I cannot see an upload button for images.

I use traccar manager app.

Anton Tananaev3 years ago

You can upload on any external service, like imgbb, and post the link here.

How's Traccar Manager app related to this conversation?

4655783 years ago

Picture is here: https://ibb.co/yqTF23m

Anton Tananaev3 years ago

Wow. This is Traccar Manager app, so obviously the port is incorrect. How is this related to the Client app and why is this in the Client forum?

4655783 years ago

Grumpf, sorry, my fault.
It would be great if you could direct me to the documentation for the Manager App what to insert in the "Server:" line.
Thanks a lot!

Anton Tananaev3 years ago

You should insert the same URL you use for the web app in the browser.

4655783 years ago

Great, using 8082 as port in Fritzbox and manager app works like a charm!
I suggest to add a sample entry for the manager app in the documentation (http://<dns-name>:8082).

Thanks a lot for your great support! (And sorry for my misunderstanding about client and manager app)