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
liio
Posts: 6
Registered: ‎02-13-2013
My Device: Dev Alpha B
Accepted Solution

Can't connect to Push Agent

Hello all,

 

I'm having some issues with Push service - all the sample apps that I've tested (Push Collector, Simple Push Client and Push Capture), including the app I'm working on, have a problem with connecting to the Push Agent (aka. the bb::data::smileytongue:ushService.hasConnection always returns false).

 

Relevant info from the debug log:

 

gid size[1]
gid[1000]
 dname:  "XXX" 
 providerApplicationId:  "34XX-XXXX19BDXXXX4M52XXXXXX7436XXXX2c3" 
 is enterprise perimeter:  false 
Connect to personal/consumer agent:  true 
[ "cc.jlx.boreas.invoke.push" ]:  /pps/services/push/ipc  open failure:  6 
Push pps file is not open.

The "/pps/services/push/ipc open failure" error was mentioned in an article on devblog saying that it occurs when the signature keys don't have push privilege, but I got my key a few weeks ago so that shouldn't be the isssue. I have also verified that the app has "_sys_use_consumer_push" permission in it's bar-descriptor file.

 

It might be worth noting that I'm testing this in Dev Alpha Simulator with SDK version 10.0.9.2318, on a Mac.

 

Any ideas? I have a feeling I have missed something completely basic.



@liio, developer of Push to BB
Retired
mdandrea
Posts: 311
Registered: ‎08-08-2012
My Device: BlackBerry Z10

Re: Can't connect to Push Agent

Hi,

 

Unfortunately, push is not supported as of now on the Dev Alpha simulator.

So, you would need a physical Dev Alpha or BlackBerry 10 device to test with.

 

Matt

New Contributor
liio
Posts: 6
Registered: ‎02-13-2013
My Device: Dev Alpha B

Re: Can't connect to Push Agent

Oh... that's a bummer in that case :smileysad:

But thanks for the info! (I had a hunch I was doing something fundamentally wrong)

Josip


@liio, developer of Push to BB