Expand my Community achievements bar.

Join us at Adobe Summit 2024 for the Coffee Break Q&A Live series, a unique opportunity to network with and learn from expert users, the Adobe product team, and Adobe partners in a small group, 30 minute AMA conversations.
SOLVED

Analytics Configuration failing

Avatar

Level 1

I've been working on setting up analytics and the configuration is failing, please see the below device logs. The environment id is correct and comes from the launch console. Oddly it complains about not finding this url "https://assets.adobedtm.com/file-staging.json" (I've change the exact link for security reasons), but when i visit this url I correctly see the json configuration. All the basics have been checked, the device has connection to internet and sufficient permissions. At a loss of where to go from here, any help would be greatly appreciated.

 

2020-02-24 17:42:49.188 18270-18270/com.bink.testapprewards D/AdobeExperienceSDK: AnalyticsCore - Registered AnalyticsExtension extension
2020-02-24 17:42:49.189 18270-18270/com.bink.testapprewards D/AdobeExperienceSDK: AnalyticsCore - Core initialization was successful
2020-02-24 17:42:49.198 18270-18270/com.bink.testapprewards D/AdobeExperienceSDK: IdentityCore - Core initialization was successful
2020-02-24 17:42:49.213 18270-18270/com.bink.testapprewards D/AdobeExperienceSDK: LifecycleCore - Registered LifecycleExtension
2020-02-24 17:42:49.215 18270-18270/com.bink.testapprewards W/AdobeExperienceSDK: EventHub(AMSEventHub) - Event (com.adobe.eventtype.hub, com.adobe.eventsource.booted) was dispatched before module registration was finished
2020-02-24 17:42:49.248 18270-18326/com.bink.testapprewards D/AdobeExperienceSDK: AnalyticsExtension - Couldn't retrieve shared state for com.adobe.module.configuration. Please make sure you have registered and configured the com.adobe.module.configuration extension properly based on the documentation.
2020-02-24 17:42:49.248 18270-18330/com.bink.testapprewards W/AdobeExperienceSDK: LifecycleExtension - Failed to read lifecycle data from persistence
2020-02-24 17:42:49.266 18270-18321/com.bink.testapprewards W/AdobeExperienceSDK: SystemInfoService - Unable to read property for key (com.adobe.marketing.mobile.RemoteConfigServer).ApplicationInfo's metaData is null
2020-02-24 17:42:49.273 18270-18321/com.bink.testapprewards D/AdobeExperienceSDK: CacheManager - Cached Files - Directory is empty (/data/user/0/com.bink.testapprewards/cache/adbdownloadcache).
2020-02-24 17:42:49.280 18270-18321/com.bink.testapprewards W/AdobeExperienceSDK: SystemInfoService - Unable to read (ADBMobileConfig.json) from the the assets folder. (java.io.FileNotFoundException: ADBMobileConfig.json)
2020-02-24 17:42:49.290 18270-18332/com.bink.testapprewards W/AdobeExperienceSDK: SystemInfoService - Unable to read property for key (com.adobe.marketing.mobile.RemoteConfigServer).ApplicationInfo's metaData is null
2020-02-24 17:42:49.306 18270-18332/com.bink.testapprewards D/AdobeExperienceSDK: CacheManager - Cached Files - Directory is empty (/data/user/0/com.bink.testapprewards/cache/adbdownloadcache).
2020-02-24 17:42:49.350 18270-18332/com.bink.testapprewards D/AdobeExperienceSDK: HttpConnectionHandler - Connecting to URL https://assets.adobedtm.com/file-staging.json (GET)
2020-02-24 17:42:49.515 18270-18270/com.bink.testapprewards D/AdobeExperienceSDK: Core - collectData: Could not dispatch generic data event, data is null or empty.
2020-02-24 17:42:49.516 18270-18326/com.bink.testapprewards D/AdobeExperienceSDK: AnalyticsExtension - Couldn't retrieve shared state for com.adobe.module.configuration. Please make sure you have registered and configured the com.adobe.module.configuration extension properly based on the documentation.
2020-02-24 17:42:49.517 18270-18330/com.bink.testapprewards D/AdobeExperienceSDK: LifecycleExtension - Configuration is pending, waiting...
2020-02-24 17:42:51.084 18270-18330/com.bink.testapprewards D/AdobeExperienceSDK: LifecycleExtension - Configuration is pending, waiting...
2020-02-24 17:42:51.084 18270-18326/com.bink.testapprewards D/AdobeExperienceSDK: AnalyticsExtension - Couldn't retrieve shared state for com.adobe.module.configuration. Please make sure you have registered and configured the com.adobe.module.configuration extension properly based on the documentation.
2020-02-24 17:42:51.426 18270-18270/com.bink.testapprewards D/AdobeExperienceSDK: Core - collectData: Could not dispatch generic data event, data is null or empty.
2020-02-24 17:42:51.429 18270-18326/com.bink.testapprewards D/AdobeExperienceSDK: AnalyticsExtension - Couldn't retrieve shared state for com.adobe.module.configuration. Please make sure you have registered and configured the com.adobe.module.configuration extension properly based on the documentation.
2020-02-24 17:42:51.430 18270-18330/com.bink.testapprewards D/AdobeExperienceSDK: LifecycleExtension - Configuration is pending, waiting...
2020-02-24 17:43:29.413 18270-18332/com.bink.testapprewards D/AdobeExperienceSDK: HttpConnectionHandler - Connection failure (Unable to resolve host "assets.adobedtm.com": No address associated with hostname)
2020-02-24 17:43:29.414 18270-18332/com.bink.testapprewards W/AdobeExperienceSDK: AndroidHttpConnection - Could not get response code. (java.net.UnknownHostException: Unable to resolve host "assets.adobedtm.com": No address associated with hostname)
2020-02-24 17:43:29.414 18270-18332/com.bink.testapprewards W/AdobeExperienceSDK: AndroidHttpConnection - Could not get response code. (java.net.UnknownHostException: Unable to resolve host "assets.adobedtm.com": No address associated with hostname)
2020-02-24 17:43:29.415 18270-18332/com.bink.testapprewards W/AdobeExperienceSDK: AndroidHttpConnection - Could not get the response message. (java.net.UnknownHostException: Unable to resolve host "assets.adobedtm.com": No address associated with hostname)
2020-02-24 17:43:29.415 18270-18332/com.bink.testapprewards W/AdobeExperienceSDK: RemoteDownloader - File could not be downloaded from URL (https://assets.adobedtm.com/file-staging.json) Response: (-1) Message: (null)
2020-02-24 17:43:29.415 18270-18332/com.bink.testapprewards W/AdobeExperienceSDK: AndroidHttpConnection - Could not get the input stream. (java.net.UnknownHostException: Unable to resolve host "assets.adobedtm.com": No address associated with hostname)
2020-02-24 17:43:29.415 18270-18332/com.bink.testapprewards D/AdobeExperienceSDK: CacheManager - Cached Files - Directory is empty (/data/user/0/com.bink.testapprewards/cache/adbdownloadcache).
2020-02-24 17:43:29.417 18270-18332/com.bink.testapprewards E/AdobeExperienceSDK: ConfigurationExtension - Unable to fetch config. Rolling back to previous configuration.
2020-02-24 17:43:29.420 18270-18332/com.bink.testapprewards W/AdobeExperienceSDK: SystemInfoService - Unable to read property for key (com.adobe.marketing.mobile.RemoteConfigServer).ApplicationInfo's metaData is null
2020-02-24 17:43:29.420 18270-18332/com.bink.testapprewards D/AdobeExperienceSDK: CacheManager - Cached Files - Directory is empty (/data/user/0/com.bink.testapprewards/cache/adbdownloadcache).
2020-02-24 17:43:29.422 18270-18332/com.bink.testapprewards D/AdobeExperienceSDK: HttpConnectionHandler - Connecting to URL https://assets.adobedtm.com/file-staging.json (GET)
2020-02-24 17:43:29.423 18270-18332/com.bink.testapprewards D/AdobeExperienceSDK: HttpConnectionHandler - Connection failure (Unable to resolve host "assets.adobedtm.com": No address associated with hostname)
2020-02-24 17:43:29.423 18270-18332/com.bink.testapprewards W/AdobeExperienceSDK: AndroidHttpConnection - Could not get response code. (java.net.UnknownHostException: Unable to resolve host "assets.adobedtm.com": No address associated with hostname)
2020-02-24 17:43:29.426 18270-18332/com.bink.testapprewards W/AdobeExperienceSDK: AndroidHttpConnection - Could not get response code. (java.net.UnknownHostException: Unable to resolve host "assets.adobedtm.com": No address associated with hostname)
2020-02-24 17:43:29.426 18270-18332/com.bink.testapprewards W/AdobeExperienceSDK: AndroidHttpConnection - Could not get the response message. (java.net.UnknownHostException: Unable to resolve host "assets.adobedtm.com": No address associated with hostname)
2020-02-24 17:43:29.426 18270-18332/com.bink.testapprewards W/AdobeExperienceSDK: RemoteDownloader - File could not be downloaded from URL (https://assets.adobedtm.com/file-staging.json) Response: (-1) Message: (null)
2020-02-24 17:43:29.426 18270-18332/com.bink.testapprewards W/AdobeExperienceSDK: AndroidHttpConnection - Could not get the input stream. (java.net.UnknownHostException: Unable to resolve host "assets.adobedtm.com": No address associated with hostname)
2020-02-24 17:43:29.426 18270-18332/com.bink.testapprewards D/AdobeExperienceSDK: CacheManager - Cached Files - Directory is empty (/data/user/0/com.bink.testapprewards/cache/adbdownloadcache).
2020-02-24 17:43:29.427 18270-18332/com.bink.testapprewards E/AdobeExperienceSDK: ConfigurationExtension - Unable to fetch config. Rolling back to previous configuration.

1 Accepted Solution

Avatar

Correct answer by
Employee

Make sure we use the 'Publishing Flow' to publish all the resources by adding in the library, in the Launch console. Only then "https://assets.adobedtm.com/file-staging.json"  would be available.

 

Hope that helps.

 

Cheers,

Wasil

View solution in original post

3 Replies

Avatar

Level 1
Did you ever get to the bottom of this? We're having similar issues.

Avatar

Correct answer by
Employee

Make sure we use the 'Publishing Flow' to publish all the resources by adding in the library, in the Launch console. Only then "https://assets.adobedtm.com/file-staging.json"  would be available.

 

Hope that helps.

 

Cheers,

Wasil

Avatar

Level 10
Do any of the answers below answer your initial question? If so, can you select one of them as the correct answer? If none of the answers already provided answer your question, can you provide additional information to better help the community solve your question?