Ticket Created
over 3 years ago

CA-83342

Transferred

Communication Module doesn't work properly when Garmin Connect looses internet

Hi,

when Garmin Connect Android app looses internet access, CIQ apps no longer gets proper responses from local HTTP server when getting binary data (either via makeImageRequest or  makeWebRequest with HTTP_RESPONSE_CONTENT_TYPE_FIT). Instead they get response with UNKNOWN_ERROR or strangely some cached data from "similar" older request when internet was available.

Loosing internet access can of course happen when 
smartphone without wifi looses signal to cellular network or is switched to fly-mode (without turning-off BLE) - so this can be easily simulated.  

Seems like this was introduced in some recent Garmin Connect app update - this worked properly before.

I was able to confirm that this issue is on Garmin Connect side which provide BLE link between phone and Garmin and not elsewhere (http server for example). JSON requests seems to work properly under same conditions. 

This affect quite a lot apps in the CIQ store including 2020 CIQ Awards winner Locus Map. 

Parents
  • Using gimporter/gexporter one can clearly see, that HTTP_RESPONSE_CONTENT_TYPE_JSON works to `http://127.0.0.1`, while HTTP_RESPONSE_CONTENT_TYPE_FIT does not. So the Garmin Connect Android App does some filtering here!

Comment
  • Using gimporter/gexporter one can clearly see, that HTTP_RESPONSE_CONTENT_TYPE_JSON works to `http://127.0.0.1`, while HTTP_RESPONSE_CONTENT_TYPE_FIT does not. So the Garmin Connect Android App does some filtering here!

Children
No Data