0
votes

I am working on blackberry Push Notification and facing a big issue while registering from the device. I'm getting the Exception:

Java.io.IOException:Network operation(Subscribe)failed. Make sure that Content Provider Url is accessible..

I go through this guide and set up all things according to it.

However I am unable to register. My tomcat server is running and I can access content provider URL from my computer and the same from device's browser.

PC URL is: https:/loaclhost:8443/sample-push-initiator

I changed local host to IP address of my Computer. and can access it over WiFi.

Please help me regarding this.

1
for registering your device for push notification, you have to activate the BIS on your device. - Signare
Also the PC URL is incorrect should be localhost:8443/sample-push-initiator just correcting to the two typos - mmmmmm
I have a BIS plan on my device. - user1045633
if you using wifi, then turn off it and use the BIS and try again. - Signare
i have already done it...i turned off my wifi and checked it with sim having BIS plan...it is accessible from browser but on the time of registration throwing exception. - user1045633

1 Answers

1
votes

Your push initiator URL must be publicly accessible from the internet to be accessible from your device. Using localhost or any local IP address (e.g. 192.168.0.2) won't work.

You'll have to set up your router to forward traffic on port 8443 to your PC's local IP.

You should ensure that this URL is accessible from your blackberry normal web browser (not the hotspot browser) before trying with the sample push app.