Skip to Content
0
Former Member
Dec 03, 2013 at 11:07 AM

Http Post Request Fails: java.net.SocketException: Network is unreachable

218 Views

Hi All,

I develop android mobile application. The SAP Hana Cloud deployment is the back-end to the mobile app. This part is working perfect.

The part where I am getting issues is when the cloud app sends push message to android app, I am getting "java.net.SocketException: Network is unreachable". When I run the same code on my local machine it runs fine.

The cloud sends push notification via "https://android.googleapis.com/gcm/send".

Is there some configuration on the server that has to be enabled to allow http(s) call from the cloud?

Regards

Sanjay Mistry