Hey fellow builders
I am growing a location-sharing utility with Flutter.
Once I launch the iOS emulator, I encounter a ‘Failed host lookup’ error.
This challenge is going on for each the map server and the backend server.
Unusually, some HTTP requests are profitable.
I’ve been investigating for a day however can not 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 cell information connection
- Operating ‘Flutter improve’
- Operating ‘Flutter physician’
Instance Error Messages
flutter: ClientException with SocketException: Failed host lookup: 'cyberjapandata.gsi.go.jp' (OS Error: nodename nor servname offered, 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 offered, 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)