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
Developer
Posts: 137
Registered: ‎09-30-2009
My Device: Torch 9800

Re: Subscription URL Parameters

 


Febiyan wrote:

You should be using ";deviceside=false;ConnectionType=mds-******" as the connection suffix i think Smiley Very Happy


 

Hi Febiyan

Thanks for your reply.

 

After changing from https to http it started working. I am not sure if using http is ok or not

 

 

----------------------
Press like if you find a message helpful
---------
New Developer
Posts: 46
Registered: ‎07-05-2010
My Device: 9630
My Carrier: Telus

Re: Subscription URL Parameters

Here is the log of the doing registration. I develop a client side application and I got error when I connect to the registering URL from real device.

2010/07/22 13:39:43
Opening URL: http://pushapi.eval.blackberry.com/mss/PD_subReg?serviceid=601-6c65MRr795DOnM51&osversion=5.0.0.442&...
2010/07/22 13:39:47
HTTP error response: <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title>Access forbidden!<

2010/07/22 13:40:31
Opening URL: http://pushapi.eval.blackberry.com/mss/PD_subDereg?serviceid=601-6c65MRr795DOnM51
2010/07/22 13:40:33
HTTP error response: <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title>Access forbidden!<

2010/07/22 14:07:49
Opening URL: http://pushapi.eval.blackberry.com/mss/PD_subReg?serviceid=601-6c65MRr795DOnM51&osversion=4.7.1.40&m...
2010/07/22 14:07:51
HTTP error response: <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title>Access forbidden!<

 

New Developer
Posts: 46
Registered: ‎07-05-2010
My Device: 9630
My Carrier: Telus

Re: Subscription URL Parameters

Do I need to add password in some where?

Developer
Posts: 137
Registered: ‎09-30-2009
My Device: Torch 9800

Re: Subscription URL Parameters

As you said that you are testing from real device then ok. As this works only for real device.

 

Second, are you using the BIS connection? append appropriate connection string for BIS

";deviceside=false;ConnectionType=mds-******" 

----------------------
Press like if you find a message helpful
---------
Developer
Posts: 137
Registered: ‎09-30-2009
My Device: Torch 9800

Re: Subscription URL Parameters

****** -> public

----------------------
Press like if you find a message helpful
---------
New Developer
Posts: 46
Registered: ‎07-05-2010
My Device: 9630
My Carrier: Telus

Re: Subscription URL Parameters

You are right. And I got rc=10001 after I modified my source.

Could let me know what reason that I got the  "rc=10001"?

Highlighted
Developer
Posts: 137
Registered: ‎09-30-2009
My Device: Torch 9800

Re: Subscription URL Parameters

I was also getting 10001, but that was when I was using https, but when i changed the urls from https to http that worked for me. I am not sure if that is appropriate. But you can give it a go

----------------------
Press like if you find a message helpful
---------
New Developer
Posts: 46
Registered: ‎07-05-2010
My Device: 9630
My Carrier: Telus

Re: Subscription URL Parameters

I also got an error "Invalid IPPP Queue State" when I stop Push (close socket).

Could you like to show your source for push listener?

Developer
Posts: 137
Registered: ‎09-30-2009
My Device: Torch 9800

Re: Subscription URL Parameters

I dont know about that error. I actually never unregistered the listener Smiley Happy and which is bad according to rim guidelines. I took codes from pushdemo application which comes with the jde

----------------------
Press like if you find a message helpful
---------
New Developer
Posts: 46
Registered: ‎07-05-2010
My Device: 9630
My Carrier: Telus

Re: Subscription URL Parameters

I can get the push data use real device using my source.Smiley Very Happy