Chapter 12 - no search results in app

Hi, I am running chapter 12 final solution, I added my appId and apiKey, but I got no results in app, and error in socket_patch.dart (line 238, error: ArgumentError (Invalid argument(s): Invalid internet address api.edamam.com))

image

debug console (I changed appId and apiKey):
I/flutter (21995): INFO: 2021-10-21 20:10:41.630769: β†’ GET https://api.edamam.com/search?q=cheese&from=0&to=20&app_id=&app_key=
I/flutter (21995): INFO: 2021-10-21 20:10:41.632710: β†’ END GET

If I open link in my browser I can see json response.
I am using Pixel 2 API 30 android emulator.

Did you remove the apiId & key from that result? Because it looks empty. I just copied Chapter 12, put in my apikey & id into recipe_service.dart and it worked. Is it possible your emulator can’t reach the internet?

Yes, i removed apiId and apiKey from the result.

I don’t know what changed, but I decided to restart and cold boot emulator and now it works, so everything is fine.
Thanks for your time.