Sunday 14 March 2021

Getting issue while loading image in push-notification Service :Unable to resolve host : No address associated with hostname

We are getting images in the notification payload.

In notification payload we got AWS s3 URL like this:

https://s3-ap-southeast-1.amazonaws.com/mybucketname/images/users/ce4f4bdf-3458-4fac-8faa-1334cf4bfce3/ce4f4bdf-3458-4fac-8faa-1334cf4bfce3.thb.jpg

But sometimes it is giving issue while setting to notification UI like

java.net.UnknownHostException: Unable to resolve host: No address associated with hostname

This got resolved by changing the mobile internet network.

But this issue is faced by our actual users also.

Is there any solution from code for this?



from Getting issue while loading image in push-notification Service :Unable to resolve host : No address associated with hostname

No comments:

Post a Comment