amugofjava / podcast_search

A simple library providing programmatic access to the iTunes search API for podcasts.
MIT License
41 stars 26 forks source link

Unhandled Exception: SocketException: Failed host lookup: 'itunes.apple.com' (OS Error: No address associated with hostname, #1

Closed srihariash999 closed 4 years ago

srihariash999 commented 4 years ago

I am getting this error after using the example provided. I have checked for internet connection of my device and it seems this library is the only one having issues.

amugofjava commented 4 years ago

Hi,

It sounds like your device cannot lookup the iTunes server. Can you try this link in the browser on your device and see if you get any results back or if this errors too:

https://itunes.apple.com/search?term=android

Do you know if the other libraries you have tried also use iTunes for searching?

Thanks.

srihariash999 commented 4 years ago

Sorry for this. Somehow, my app build was stuck in a bad state and was not able to access the internet. Flutter clean and flutter run again, fixed this issue. Closing.