traccar / traccar-client-android

Traccar Client for Android
https://www.traccar.org/client
Apache License 2.0
666 stars 737 forks source link

Possibility of sending to 2 different ips (Redundancy) #441

Open Turbovix opened 1 year ago

Turbovix commented 1 year ago

It would be important to be able to configure 2 different ips for sending positions. Basically the same as fixed vehicle modules have(Redundancy). If the app is not succesful in sending information to the first IP, it will try the second IP.

tananaev commented 1 year ago

Wouldn't load balancer on the server solve the same problem?

Turbovix commented 1 year ago

I have the following scenario, an instance of Traccar running on a local server, this server has a public ip. When the person is outside the company, the Traccar app successfully sends the information. However, when the person is at the company and connected to the same lan, the Traccar app cannot send the information. That is, if the resource were available, we could use the public ip and the local ip.

tananaev commented 1 year ago

Seems like an issue with the network configuration on your end. I guess we can keep it to see if there's an interest, but I feel like you're looking for a workaround instead of solving the root cause.

Turbovix commented 1 year ago

Anton, the company uses a mikrotik to manage the network, so it was easy to create a firewall rule to solve this problem. However, it occurred to me that it would be an interesting feature in the Traccar app. And I gave such an example just for you to understand how the resource could be useful. Anyway thanks for the feedback. Thank you and happy holidays!

Anton-V-K commented 1 year ago

A similar request was also submitted at least once - see #388