iOS Development

Flutter iOS Emulator ‘Failed Host Lookup’ Error

Whats up fellow builders

I am creating a location-sharing utility with Flutter.
Once I launch the iOS emulator, I encounter a ‘Failed host lookup’ error.
This situation is occurring for each the map server and the backend server.
Unusually, some HTTP requests are profitable.
I’ve been investigating for a day however can’t decide the trigger. Please assist me.

What I’ve tried

  • Including Mac DNS configuration to eight.8.8.8
  • Restarting the event machine and emulator
  • Testing with each a fixed-line connection and a cellular knowledge connection
  • Working ‘Flutter improve’
  • Working ‘Flutter physician’

Instance Error Messages

flutter: ClientException with SocketException: Failed host lookup: 'cyberjapandata.gsi.go.jp' (OS Error: nodename nor servname supplied, or not identified, errno = 8), uri=https://cyberjapandata.gsi.go.jp/xyz/std/16/56527/26252.png?

[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: ClientException with SocketException: Failed host lookup: 'xxx.supabase.co' (OS Error: nodename nor servname supplied, or not identified, errno = 8), uri=https://xxx.supabase.co/relaxation/v1/yyy
#0      IOClient.ship (package deal:http/src/io_client.dart:119:7)

Screenshot

my app screenshot

Credit: www.ismmailgsm.com

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button