teltonika live view

homa6 months ago

Hi! I try use teltonika FMB010 with traccar. I have strange behavior. My device doesn't update at map. It seen like disable web sockets - device on map don't move and don't update, but if I update browser page, - I will see new position. All another devices work fine, I have trouble only with teltonika.
What I do wrong?

Hai Nguyen6 months ago

Let check web console for errors,

homa6 months ago

it's empty, only one string

Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.

but it is not resolve...

Anton Tananaev6 months ago

Is the web socket connected?

homa6 months ago

I think it is wrong sync over redis, but I don't know how it check. I will switch one of traccar node to backup and will view

homa6 months ago

I switched one traccar-node to backup. Everything worked, but at one point it stopped updating again. I couldn’t see the logs during the problem when I parked the location was already displayed. Now I think that teltonika loses the ability to send data, and then sends the all packets for offline period

homa6 months ago

i find this in logs:

WARN: Broadcast failed - Broken pipe (Write failed) - SocketException (... < RedisBroadcastService:70 < BaseBroadcastService:46 < ConnectionManager:298 < ...)

my broadcast confiiguration:

<entry key='broadcast.type'>redis</entry>
<entry key='broadcast.address'>redis://10.255.253.77:6379/6</entry>

and all another services work with this redis instance fine

homa6 months ago

I maked large debug and find few errors in haproxy configuration for traccar web-part and redis. Now I think, was trouble here, but it is not final resolution

homa6 months ago

how I can check redis sync between traccar nodes? I use database 6 for traccar in redis, but it is empty:

# Keyspace
db0:keys=3,expires=0,avg_ttl=0
db3:keys=7716,expires=7709,avg_ttl=49379793
db5:keys=726,expires=104,avg_ttl=192889019
db7:keys=9,expires=6,avg_ttl=619325
Anton Tananaev6 months ago

We use Redis as a queue, so it is normal if it's empty.