Client error: io_error when Android Doze is active #2448
Unanswered
Matthias Möser (knoffi)
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
All reactions