Complete
over 4 years ago

Garmin Connect Mobile 4.22 for Android includes the changes to allow HTTP on 127.0.0.1.

Connect version 4.20 broke local http access?

Getting several reports of functionality no longer working, it looks like Android Garmin connect app version 4.20 may have broken web request to local host via urls like http://127.0.0.1:17580/sgv.json?count=3

Parents
  • Brandon,

    the fix which has been made is a change the se, becurity_config_xml to 

    <?xml version="1.0" encoding="UTF-8"?>
    -<network-security-config>
    -<debug-overrides>
    -<trust-anchors>
    <certificates src="user"/>
    </trust-anchors>
    </debug-overrides>
    -<domain-config cleartextTrafficPermitted="true">
    <domain includeSubdomains="true">garmin.com</domain>
    <domain includeSubdomains="true">garmin.cn</domain>
    <domain includeSubdomains="true">garmincdn.com</domain>
    <domain includeSubdomains="true">kklian.net</domain>
    <domain includeSubdomains="true">strava.com</domain>
    <domain includeSubdomains="true">127.0.0.1</domain>
    </domain-config>
    </network-security-config>

    however as stated before in this thread: If you change to 

    <?xml version="1.0" encoding="utf-8"?>
    <network-security-config>
    <base-config cleartextTrafficPermitted="true">
    <trust-anchors>
    <certificates src="system" />
    </trust-anchors>
    </base-config>
    </network-security-config>

    all uses cases in this thread are fixed, because HTTP is allowed again. This is supported by Google (https://developer.android.com/training/articles/security-config),  see section <base config>

    can you please reconsider your solution?

Comment
  • Brandon,

    the fix which has been made is a change the se, becurity_config_xml to 

    <?xml version="1.0" encoding="UTF-8"?>
    -<network-security-config>
    -<debug-overrides>
    -<trust-anchors>
    <certificates src="user"/>
    </trust-anchors>
    </debug-overrides>
    -<domain-config cleartextTrafficPermitted="true">
    <domain includeSubdomains="true">garmin.com</domain>
    <domain includeSubdomains="true">garmin.cn</domain>
    <domain includeSubdomains="true">garmincdn.com</domain>
    <domain includeSubdomains="true">kklian.net</domain>
    <domain includeSubdomains="true">strava.com</domain>
    <domain includeSubdomains="true">127.0.0.1</domain>
    </domain-config>
    </network-security-config>

    however as stated before in this thread: If you change to 

    <?xml version="1.0" encoding="utf-8"?>
    <network-security-config>
    <base-config cleartextTrafficPermitted="true">
    <trust-anchors>
    <certificates src="system" />
    </trust-anchors>
    </base-config>
    </network-security-config>

    all uses cases in this thread are fixed, because HTTP is allowed again. This is supported by Google (https://developer.android.com/training/articles/security-config),  see section <base config>

    can you please reconsider your solution?

Children