Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: unhandled exception No address associated with hostname #12715

Closed
1 task done
joukhar opened this issue Apr 28, 2024 · 3 comments
Closed
1 task done

BUG: unhandled exception No address associated with hostname #12715

joukhar opened this issue Apr 28, 2024 · 3 comments
Assignees
Labels
blocked: customer-response Waiting for customer response, e.g. more information was requested. closed-by-bot platform: android Issues / PRs which are specifically for Android. plugin: app_check resolution: no-response Customer did not respond after some time. Stale Issue with no recent activity type: bug Something isn't working

Comments

@joukhar
Copy link

joukhar commented Apr 28, 2024

Is there an existing issue for this?

  • 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 joukhar added Needs Attention This issue needs maintainer attention. type: bug Something isn't working labels Apr 28, 2024
@TarekkMA TarekkMA added platform: android Issues / PRs which are specifically for Android. plugin: app_check labels Apr 29, 2024
@TarekkMA
Copy link
Contributor

@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.

@TarekkMA TarekkMA added blocked: customer-response Waiting for customer response, e.g. more information was requested. and removed Needs Attention This issue needs maintainer attention. labels Apr 30, 2024
@google-oss-bot google-oss-bot added the Stale Issue with no recent activity label May 9, 2024
@google-oss-bot
Copy link

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!

@TarekkMA TarekkMA self-assigned this May 10, 2024
@google-oss-bot
Copy link

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.

@TarekkMA TarekkMA added the resolution: no-response Customer did not respond after some time. label May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked: customer-response Waiting for customer response, e.g. more information was requested. closed-by-bot platform: android Issues / PRs which are specifically for Android. plugin: app_check resolution: no-response Customer did not respond after some time. Stale Issue with no recent activity type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants