You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It happens regularly in our Android application, that during the Android Doze a certain Client error appears:
Client error: io_error - An IO error occurred in the network layer: Unable to resolve host "login.microsoftonline.com": No address associated with hostname
We know for sure that Unable to resolve host "login.microsoftonline.com": No address associated with hostname originates from msal having no access to the internet connection of the device. For example, the hostname can be resolved when the device is not in Android doze mode.
However, we also noticed that other services of our application are able to access the internet connection of the device during Doze mode, mainly because our users have our application on their doze whitelist (via user settings/app/battery: "UNRESTRICTED").
Does anyone here have an idea, where we could look into next or any further information that might help us?
FYI: Of course, we overwrite the default Doze behavior of MSAL Android via "power_opt_check_for_network_req_enabled: false", otherwise we would get a different MSAL error.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It happens regularly in our Android application, that during the Android Doze a certain Client error appears:
Client error: io_error - An IO error occurred in the network layer: Unable to resolve host "login.microsoftonline.com": No address associated with hostnameWe know for sure that
Unable to resolve host "login.microsoftonline.com": No address associated with hostnameoriginates from msal having no access to the internet connection of the device. For example, the hostname can be resolved when the device is not in Android doze mode.However, we also noticed that other services of our application are able to access the internet connection of the device during Doze mode, mainly because our users have our application on their doze whitelist (via user settings/app/battery: "UNRESTRICTED").
Does anyone here have an idea, where we could look into next or any further information that might help us?
FYI: Of course, we overwrite the default Doze behavior of MSAL Android via "power_opt_check_for_network_req_enabled: false", otherwise we would get a different MSAL error.
Beta Was this translation helpful? Give feedback.
All reactions