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
New Contributor
Posts: 7
Registered: ‎02-16-2011
My Device: TORCH
My Carrier: TIGO

Don't Register application

 


Hi everybody

 

i already have installed my server, with a static IP, i can browse it from the web, but when i'm registering the device app with the server, it shows the follow error inside de log:

 

"Content Provider network command [Subscribe] failed, caused by could not connect to my_ip_server:8443"

 

this is the way i set the my app to register

 

Port: the port send by RIM

App ID: the id send by RIM

BPAS URL: http://pushapi.eval.blackberry.com

Content Provider URL: https://my_ip_server:8443/debug-portal

 

if i copy de URL send by the app, "i copy that from the log", and paste it in the browser "Google Chrome" the registration is succesfully, but from the device it show the error above.

 

this is the info copy from the log of the push device app.

 

https://my_ip_server:8443/debug-portal/subscribe?username=juan&password=cafe&appid=App_ID&address=number_of_pin&osversion=5.0.0.351&model=9700&field1=942;deviceside=false;ConnectionType=m.d.s-p.u.b.l.i.c

 

this returns RC=200

 

m.d.s-p.u.b.l.i.c  = quit the dots, i put this way because the normal way don’t let me the forum post

 

when i look into the database the user is registered in the bpss_push_suscriber table.

 

with this info

 

'4', 'juan', 'App_ID', 'pin_of_juan', 'ACTIVE', '5.0.0.351', '9700', '2011-03-02 14:40:46', NULL, NULL, NULL, '0'

 

if i browse to https://my_ip_server:8443/debug-portal/subscriber_query_by_status.do

 

it shows me that

 

Subscriber query results 

Subscriber ID Address Status

juan pin_of_juan ACTIVE

 

he is active, so i try to send him a push message from: https://my_ip_server:8443/debug-portal/push.do

 

i put the pin of juan that i have registered but, it returns the follow error

 

Push Result 

 

Push id Code Description 

15001 2002 The address specified was not in a recognized format or was not valid or unknown (i.e Not subscribed). 

 

Invalid subscribers 

 

Address Reason 

22f0a93c does not exist 

 

i don't know if the SSL certificate is required to be trustly, because it show always error, the certified is the one who comes with the SDK, please help me i don't know what to do about this.

if it's required please you could explain to me how to create a valid certificate, with no errors.

thanks very much

Developer
Posts: 235
Registered: ‎11-08-2010
My Device: Not Specified

Re: Don't Register application

And you are certain your device has BIS-B service books?

 

The certificate is invalid but that's ok. When you register using the sample application from the device it will prompt you saying the certificate is invalid and give you the option to 'Continue'.

 

The fact that you can hit that URL from your browser means you have the SDK setup correctly on the server-side. Can you try hitting that URL from the browser on your device?

Highlighted
New Contributor
Posts: 7
Registered: ‎02-16-2011
My Device: TORCH
My Carrier: TIGO

Re: Don't Register application

[ Edited ]

well i don't know nothing about BIS-B service books, how can i get it or install or set, i can hit the URL from mi device, and tell me about the ceritificate, and i accept an save the certificate, the trouble is with the sample app, thanks very much for answer.

 

if you can explain to me how to can work with the BIS-B service books i will be very grateful.

Developer
Posts: 149
Registered: ‎03-09-2009
My Device: Not Specified

Re: Don't Register application

I Have the same error as you, did you find something ?

 

I don't think the problem came from the service book.

Pascal Bourque, Analyste-Programmeur : "je pense donc je programme"
Really want to thank a user? Click the Kudos! badge on right side of the message. When you do so, you are offering a thumbs up for good content and a pat on the back to its author.
Accepted Solutions is a way for you to choose the reply that best answers a thread that you've started. To mark a message as a solution: Click the Solution? icon on the reply.
Developer
Posts: 235
Registered: ‎11-08-2010
My Device: Not Specified

Re: Don't Register application

Why do you say the problem is with the sample app? Which sample app do you believe the problem is coming from - the device or server side sample app?