Skip to content

host not resolved error ocurred #2695

@kamlesh-flutter-india

Description

@kamlesh-flutter-india

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When the application is in the background for 5 minutes, if I open the application sometimes "ERR_NAME_NOT_RESOLVED" error occurs, and even after reload page is not loading. I have to force close the application and reopen the app. When I tried to reload the webview, it navigated to the original page for one blink, and instantly about:blank was called.

Expected Behavior

The web page should be open instead of showing an error.

Steps with code example to reproduce

Image

Steps with code example to reproduce

Step 1. Open the application and load the webview
Step 2. Put the application in the background for 5 minutes
Step 3. Open the app from the recent apps
Step 4. Observe the behaviour of the webview

// Paste your code here

Stacktrace/Logs

Stacktrace/Logs
I/chromium( 3395): [INFO:CONSOLE(49)] "Error retrieving login status, fetch cancelled.", source: https://connect.facebook.net/en_US/sdk.js?hash=13f531b6545eca4cc37a9a5e2220f2de (49)

E/libEGL  ( 3395): called unimplemented OpenGL ES API

[AndroidInAppWebViewController] (android) WebView ID 5 calling "onConsoleMessage" using {messageLevel: 3, message: Error retrieving login status, fetch cancelled.}

[AndroidInAppWebViewController] (android) WebView ID 5 calling "onLoadStop" using {url: https://telegrafi.com/}

[AndroidInAppWebViewController] (android) WebView ID 5 calling "onLoadStart" using {url: about:blank}

I/flutter ( 3395): started loading about:blank

[AndroidInAppWebViewController] (android) WebView ID 5 calling "onUpdateVisitedHistory" using {isReload: false, url: about:blank}

Flutter version

3.29.3

Operating System, Device-specific and/or Tool

Flutter 3.29.3
flutter_inappwebview latest version

Plugin version

6.1.5

Additional information

No response

Self grab

  • I'm ready to work on this issue!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions