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
Posts: 11
Registered: ‎07-12-2012
My Device: 9700

Re: Blackberry Push Service - Error 10026 in Subscribe message

Sorry my client have send my a PDF but this is an e-mail from Blackberry that says "BlackBerry Push Service Evaluation Credentials: Celfinet". Then I've some configurations in that e-mail.

 

From server I don't have any problem (I think) because I can Start General Push. My problem is configuring my phone.

 

When I start the Sample Push Enabled Application (v5.0) I've to define the settings:

Port: is the one assigned to my client

App Id: also the one assigned to my client

BPS server URL: http://pushapi.eval.blackberry.com

Push Initiator application URL: http://pushapi.eval.blackberry.com

 

Then when Register I've to provide username and password but I don't have anything refering that in section "Configuration properties for the push-enabled application".

 

Thanks.

Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10

Re: Blackberry Push Service - Error 10026 in Subscribe message

What do you have your contentProviderUrl variable set to in your client application? Is this URL accessible from the Internet?

Garett
@garettBeuk
--
Goodbye everybody!
Contributor
Posts: 11
Registered: ‎07-12-2012
My Device: 9700

Re: Blackberry Push Service - Error 10026 in Subscribe message

Garett I don't have any contentProviderUrl field in Settings window. I only have BPS server URL and Push Initiator application URL.

 

My server have to be accessible from the internet? I'm trying this locally but I can put it on a Azure Platform so it will be accessible from the internet.

 

Thanks.

Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10

Re: Blackberry Push Service - Error 10026 in Subscribe message

Local testing doesn't really work with BIS push, it all needs to be tested through the BlackBerry infrastructure.

Garett
@garettBeuk
--
Goodbye everybody!
Contributor
Posts: 11
Registered: ‎07-12-2012
My Device: 9700

Re: Blackberry Push Service - Error 10026 in Subscribe message

Yes Garett. I'm working on that right now.

 

But I don't understand what you are referring with contentProviderUrl. I don't have any field with that name in Settings window. I only have BPS server URL and Push Initiator application URL. It's one of this?

 

Thanks for your help.

Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10

Re: Blackberry Push Service - Error 10026 in Subscribe message

It would be Push Initiator application URL. If you look into the application code the variable is actually contentProviderUrl

Garett
@garettBeuk
--
Goodbye everybody!
Contributor
Posts: 11
Registered: ‎07-12-2012
My Device: 9700

Re: Blackberry Push Service - Error 10026 in Subscribe message

Ok. When I've my server accessible from the internet I'll test and tell you what is happening.

 

Thanks once more.

 

Best Regards,

Tiago Ribeiro.

Contributor
Posts: 11
Registered: ‎07-12-2012
My Device: 9700

Re: Blackberry Push Service - Error 10026 in Subscribe message

Hello Garett.

 

Thanks for your support. Today I've finally achieved my goal: receive a message in my Blackberry sent from this service. Now I can go on with my own application. :smileyhappy:

 

Best regards,

Tiago Ribeiro.

Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10

Re: Blackberry Push Service - Error 10026 in Subscribe message

Great to hear! Can you provide some details on what fixed the issue?

Garett
@garettBeuk
--
Goodbye everybody!
Contributor
Posts: 11
Registered: ‎07-12-2012
My Device: 9700

Re: Blackberry Push Service - Error 10026 in Subscribe message

The problem was my fault. :smileysad:

 

With the correct configurations everything have worked smoothly.

 

Blackberry Configurations:

Port: the Push Port in section Configuration properties for the push-enabled application (client application)

App ID: The Application ID in the same place

BPS server URL: http://pushapi.eval.blackberry.com

Push initiator application URL: http://[my_server:8080]/sample-push-initiator

App Acknowledgment: checked

Use public (BIS) network