Closed zstadler closed 1 month ago
There are a few options here:
The main question that comes to my mind though is what's causing this, so it might be that we need to add some logs first in the connection service (the one that checks that the app is connected) to better understand what makes the app thinks it goes offline.
Let me know which course you would like to take.
I've seen this also in some other cases for example when the app is in the background and returns to the front. I've increased timeout and added 3 retries, let's see if this solves the issues.
What happened?
2024-09-28 11:32:53 | INFO | [Connection] Online state changed, online is: true 2024-09-28 11:32:53 | ERROR | [Traces] Unable to get user's traces. Timeout has occurred 2024-09-28 11:32:42 | INFO | [POIs] Connection status changed to: false 2024-09-28 11:32:42 | INFO | [Connection] Online state changed, online is: false 2024-09-28 11:32:40 | INFO | [Traces] Deleting a trace with name Recorded_using_IHM_at_2024_09_28_11_24.gpx and id 11470966, visibility: trackable
2024-09-28 11:33:09
2024-09-28 11:33:49 | INFO | [POIs] Connection status changed to: true 2024-09-28 11:33:49 | INFO | [Connection] Online state changed, online is: true 2024-09-28 11:33:49 | ERROR | Http failure response for https://israelhiking.osm.org.il/api/osm/trace/11470968: 500 OK 2024-09-28 11:33:24 | INFO | [POIs] Connection status changed to: false 2024-09-28 11:33:24 | INFO | [Connection] Online state changed, online is: false 2024-09-28 11:33:09 | INFO | [Traces] Deleting a trace with name Recorded_using_IHM_at_2024_09_28_11_25.gpx and id 11470968, visibility: trackable