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?
Those multicast addresses don't make sense. Why are they different?
Also, you need to check for errors at the start of the server.
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?
Where did you find it? Link please.
I see a valid multicast address there. Do you understand how multicast works? You should probably do some research first.
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.
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.
Hi,
These are the errors that occur in the server log.
#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?