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: 36
Registered: ‎02-16-2010
My Device: Blackberry Bold
My Carrier: INWI

Exception in the Listening

Hi All,

Thanks for your last supports it really helps me to go on with BB push Service,

Now i'm facing an other problem : 

I'm trying to integrate the code of client sample app that comes with the SDK, everytihing goes OK until the listening to the push messages ans exactelly at  : socket.acceptAndOpen(url)

 

my url is like the sample-app   url="http://Smiley TongueORT"+getConnectionSuffix();

 

the PORT is the number that i received from RIM to test the push

 

i got this exception : java.io.IOException: Tunnel failed

 

please can you help !!!!


Contributor
Posts: 36
Registered: ‎02-16-2010
My Device: Blackberry Bold
My Carrier: INWI

Re: Exception in the Listening

please any idea !!!! Smiley Sad

Developer
Posts: 142
Registered: ‎08-02-2009
My Device: Z10
My Carrier: T-Mobile

Re: Exception in the Listening

Did you get this error in the simulator or on the real device?

 

What are the apn settings in settings->advanced->tcp/ip?