GCP Passthrough loadbalancer

Aruna month 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 Tananaeva month ago

Sounds like a problem with load balancer or its configuration.

Aruna month 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 Tananaeva month ago

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

Track-tracea month ago

Why would you use a load balancer for 100 devices?

SwayDeva month 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.

Aruna month 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

SwayDeva month ago

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