gpslogger icon indicating copy to clipboard operation
gpslogger copied to clipboard

custom url not queued if internet is not available (no signal)

Open damgut opened this issue 4 years ago • 4 comments

Using custom url to update the position to a server is queued if the phone is set in offline mode. --> OK

But if the phone is online and the host is not reached (for example, no signal), the request will be repeated every 10 seconds 5 times and after that the position is not updated any more. It would be nice to use the same procedure to queue and try to send forever. The pause to retry could be the same as the actualization time configured.

damgut avatar Jan 19 '20 21:01 damgut

I also struggled with this issue. I use gpslogger also to track family members on long-distance trips, the signal during these trips is not always stable, and it is quite important to send a position once there is a signal as soon as possible.

algor512 avatar Aug 27 '22 09:08 algor512

Yes the Custom URL will give up after a while, the reason is to avoid having it try forever, or it would become a battery drain. The Custom URL sender feature was created for this purpose though, it can be configured to re-send all the previous points once every X minutes. It's still subject to the maximum 5 attempts, but the re-sending is on a schedule, so there are more attempts.

mendhak avatar Sep 03 '22 15:09 mendhak

Thank you for the answer! Sorry, I cannot find time for testing.

The Custom URL sender feature was created for this purpose though, it can be configured to re-send all the previous points once every X minutes.

It's great! Is there any documentation on these settings? (honestly, sometimes I get lost in the app settings; surely, I could read the source code, but I try to avoid this as it hard to read Java code without an IDE).

algor512 avatar Sep 07 '22 18:09 algor512

Only thing I have is https://gpslogger.app/
If there's some improvements that can be made to that structure let me know, I can try. Maybe I just need a tour of each screen at the top with a little detail?

mendhak avatar Sep 10 '22 08:09 mendhak