Traccar IOS client does not buffer data when Server is offline

vtw 2 years ago

I have been using the IOS client and docker container for about 4 months now and I have noticed that even when the offline buffer option is enabled it will not buffer the location.
I shutdown my home lab for a few hours every day to save power.
When this happens the client can not reach the host but it still does not cache it.
I think that it might be my use of cloudflare and cloudflared to protect my network, Even though the server is offline cloudflare will still return a http code of 530.
I am not sure how the clients check to see if the server is up or if the client only sees if it can access the internet. In my client logs I only have "time - Location Update" No mention of any failures.
Could someone with a bit more of an understanding of how the clients work have a look for me.

vtw 2 years ago

I have also created an issue if someone feels like picking this up https://github.com/traccar/traccar-client-ios/issues/83

depth7503 10 months ago

Does anyone know how the new app handles the 530 response from cloudflare?

Anton Tananaev 10 months ago

I think any failure is treated the same.

depth7503 10 months ago

So maybe this approach is worth trying again. Before I dive into it, I want to be sure I understand. It sounds like previously a 530 resulted in no offline buffering, but now it might be handled differently. Is that how you understand it too?

Anton Tananaev 10 months ago

You would have to test it.