flutterfire
flutterfire copied to clipboard
BUG: unhandled exception No address associated with hostname
Is there an existing issue for this?
- [X] I have searched the existing issues.
Which plugins are affected?
App Check
Which platforms are affected?
Android
Description
this error occurs when user has no internet connection, i believe it's (Socket exception) on this function :
await appCheckInstance.getToken();
unhandled exception No address associated with hostname
Reproducing the issue
call await appCheckInstance.getToken(); with no source of internet in your device.
Firebase Core version
2.27.0
Flutter Version
3.19.5
Relevant Log Output
No response
Flutter dependencies
Expand Flutter dependencies snippet
firebase_core: ^2.27.0
firebase_auth: ^4.17.8
google_sign_in: ^6.2.1
firebase_crashlytics: ^3.4.18
firebase_analytics: ^10.10.4
firebase_app_check: ^0.2.2+1
Additional context and comments
No response
@joukhar, Thank you for reporting this issue. please provide additional details about the issue. Capture and print the error with the stack trace using the following snippet:
try {
// Your code here
} catch (e, stk) {
print(e.toString());
debugPrintStack(stackTrace: stk);
}
This information is can help us to figure out what's wrong.
Hey @joukhar. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically.
If you have more information that will help us get to the bottom of this, just add a comment!
Since there haven't been any recent updates here, I am going to close this issue.
@joukhar if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.