MulticastBroadcastService erro sending data

Michaell Oliveira 3 years ago

Hi,

These are the errors that occur in the server log.

error - NullPointerException (MulticastBroadcastService:126 < *:87 < ConnectionManager:329 < *:289 < *:198 < MainEventHandler:164 < ...)
error - NullPointerException (MulticastBroadcastService:126 < *:87 < ConnectionManager:329 < *:289 < BaseProtocolDecoder:194 < ...)

#server 01

<entry key='broadcast.interface'>eth0</entry>
<entry key='broadcast.address'>0.0.0.0</entry>
<entry key='broadcast.port'>7001</entry>

#server 02

<entry key='broadcast.interface'>eth0</entry>
<entry key='broadcast.address'>1.1.1.1</entry>
<entry key='broadcast.port'>7001</entry>

Both servers have configuration and the ports are open.

(* The IPS of these configurations are fictitious, on my servers are the real IPs.)

Any instructions on how the broadcast works?

Anton Tananaev 3 years ago

Those multicast addresses don't make sense. Why are they different?

Also, you need to check for errors at the start of the server.

Michaell Oliveira 3 years ago

I got this data (few that I found) from the traccar forum.

I would like to know how to configure 2 servers to scale horizontally.

How should I do?

Anton Tananaev 3 years ago

Where did you find it? Link please.

Michaell Oliveira 3 years ago
Anton Tananaev 3 years ago

I see a valid multicast address there. Do you understand how multicast works? You should probably do some research first.

Michaell Oliveira 3 years ago

Yes, but I need to know how to configure in traccar. Are these settings correct? There is still no documentation and I'm looking inside the forum.

Anton Tananaev 3 years ago

There's no documentation because some things are still not implemented.

If you understand the multicast, why do you have different addresses on different servers? This doesn't really add up.

jcvn 3 years ago