Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

BlackBerry Push Development

Reply
Contributor
vishakhaYadav10
Posts: 49
Registered: ‎12-29-2011
My Device: 9800
My Carrier: vodafone

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

Hello all, 
I am working on BIS push notification with Push Plus type.

I got my credentials through email from RIM. 
I am just following PDF...
http://docs.blackberry.com/en/developers/deliverables/30161/Push_Service_SDK-Getting_Started_Guide--... 

 

I installed as instructed in this guide. I am able to run my tomcat server and can access

https://localhost:8443/sample-push-initiator
https://localhost:8443/debug-portal both.

 

I already installed client sample app.. given by RIM.

First thing i want to know ...in its Settings ..
I wrote  https://lmysystemsIP:8443/sample-push-initiator

but  when i am trying to register its giving 

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

...........
While i am able to access sample push initiator url from my  blackberry device browser. 

 

 

Second thing, I want to ask,,, that in email...i got

 

Login credentials for the Content Provider Admin Portal

 

Portal Address:

https://cpadmin.pushapi.eval.blackberry.com/mss/CP_login

 

Portal Username:

XXXXXXXXXXXXXXXXXX

 

Portal Pwd:

*************


what is its role....i didnt find.,,
when i access content provider admin portal url..https://cpadmin.pushapi.eval.blackberry.com/mss/CP_login

with the given user name and password.

It says Invalid username and password....

 ...........................
Pls help me............. :smileysurprised:

Please use plain text.
BlackBerry Development Advisor (Retired)
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

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

Your server must be accessible from the Internet. Can you verify that you are able to access:https://lmysystemsIP:8443/sample-push-initiator from the Internet?

 

Garett
@garettBeuk
--
Goodbye everybody!
Please use plain text.
Contributor
vishakhaYadav10
Posts: 49
Registered: ‎12-29-2011
My Device: 9800
My Carrier: vodafone

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

First Thanks for reply...:smileyhappy:

 

Well, on my PC.. the content provider url is:

https://localhost:8443/sample-push-initiator

 

And I am accessing it with my Blackberry curve Device over wifi as

 

https://(my PC IP):8443/sample-push-initiator.

 

and YES, I am able to access server on Device's browser.

 

But, Not with the Sim which contains a Blackberry Internet Service Plan

 

Thanks,

Please use plain text.
BlackBerry Development Advisor (Retired)
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

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

You will need to be able to access your computer from the Internet. Intranet access will not help.

Garett
@garettBeuk
--
Goodbye everybody!
Please use plain text.
Contributor
vishakhaYadav10
Posts: 49
Registered: ‎12-29-2011
My Device: 9800
My Carrier: vodafone

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

Okay,,,you are right
I ported my system on real IP....
and now, I am able to open Content Provider Url on browser via sim....
But when i am registering ,,,,
getting same exception...
what to do...??
Please use plain text.
BlackBerry Development Advisor (Retired)
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

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

BIS push cannot be tested on a simulator you will need to use a real device. Registration requires BIS data access which is not available to a simulator.

Garett
@garettBeuk
--
Goodbye everybody!
Please use plain text.
Contributor
vishakhaYadav10
Posts: 49
Registered: ‎12-29-2011
My Device: 9800
My Carrier: vodafone

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

I am using real device sir...
Please use plain text.
BlackBerry Development Advisor (Retired)
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

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

Sorry, your last reply made it sound as though you were using a sim.

Does your account have a BIS data plan?
Garett
@garettBeuk
--
Goodbye everybody!
Please use plain text.
Contributor
vishakhaYadav10
Posts: 49
Registered: ‎12-29-2011
My Device: 9800
My Carrier: vodafone

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

Yeah, I have a BIS data plan in my BB device.
Please use plain text.
BlackBerry Development Advisor (Retired)
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

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

Could you try accessing the URL of your computer web service from outside of your network and let me know if successful? It could still be getting blocked by something along the way. The issue as it stands appears to be with the network accessibility of your server.

Garett
@garettBeuk
--
Goodbye everybody!
Please use plain text.