GCP Passthrough loadbalancer

Arun10 days ago

Hi guys I am facing issues while using TCP loadbalancer where I am using 100 device to communicate but I am getting only 1 device data at a time and that too for only about 2 or 3 min of real time data and it changes to another device. But when i connect my devices directly to my server ip where traccar is installed everything works fine. So my question is why I am facing issues while using loadbalancer and what should I do to get real time data from all my device. Should I use any proxy nginx server after loadbalancer before going to traccar. Any suggestion would be helpful.

And reason why this issue comes when I use Loadbalancer

Anton Tananaev10 days ago

Sounds like a problem with load balancer or its configuration.

Arun10 days ago

I am using GCP pass through loadbalancer ; Do you have any suggestions for it for me to look into and also should I use any nginx for maintaining tcp connection with traccar which might solve the issue

Anton Tananaev10 days ago

I don't know much about GCP passthrough load balancer, but I don't see how adding nginx would solve it.

Track-trace10 days ago

Why would you use a load balancer for 100 devices?

SwayDev10 days ago

What distribution algorithm are you using for the load balancer?

Considering you are using Load balancer, how many instances of Traccar has been deployed is it set to use Multicast or Redis for Broadcast?

Verify if instances are able to sync between each other.

Arun10 days ago

I am just using 1 instance behind a loadbalancer ; it’s a managed instance in GCP. Redis for broadcast where should I configure? I am using a Linux server with traccar application

SwayDev9 days ago

For 1 instance, there is no need for a load balancer.