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

New Member
Posts: 1
Registered: ‎06-18-2012
My Device: Blackberry 9520

BPSS : SocketTimeoutException



I was trying to setup the BPSS server in CentOS 5.7 64 bit OS. The installation was successful and Push service is accessible via URL. But, it is not working and giving an error "ERROR: SocketTimeoutException caught sending message to PPG URL address: http://pushapi.na.blackberry.com/mss/PD_pushRequest"


Could anyone help me with this please?




Posts: 8
Registered: ‎09-21-2009
My Device: Bold 9900

Re: BPSS : SocketTimeoutException



From the server side, you should be sending a push request to the https ppg URL:



Only from the client side, you would send to http version.

- Alan Wong
New Contributor
Posts: 2
Registered: ‎08-10-2012
My Device: Bold 9780

Re: BPSS : SocketTimeoutException



I think i have same problem here.


I've successfully install BPSS server using my own cloud server from rackspace(red hat 5.5). I try to send push message and work like magic. my app client receive all the message in seconds. all is good. I use HTTPS here.


Then i try to install BPSS using exact same step in other server (company's server which has many security policy, using OS red hat 4).

when i try to send push message, i get this error message 'Unrecoverable error occurred. Please check application log files for more information'

I look at the error log it seems that push initiator couldnt connect to pushapi.eval.blackberry.com


Then when I try to query by status in PPG (using subscriber management) I get this error message 'socketTimeoutException caught sending message to PPG subscription query URL : https://pushapi.eval.blackberry.com


It seems that server has trouble to connect to PPG.


I guess it has something to do with certain port of the server (since all port is closed by default because of security policy unless I asked the server administrator to open certain port)


I've asked the server administor to open following port :

port 8080 (HTTP)

port 8443 (HTTPS)

port 3306 (mysql)

port 32186 (based on email from RIM that this port is used to send push message)


what i'm missing here?

Are there any other port needed to open?


Pls help.







Posts: 311
Registered: ‎08-08-2012
My Device: BlackBerry Z10

Re: BPSS : SocketTimeoutException



It does seem like you're having issues on your server hitting external URLs.

It's not incoming requests that appear to be the issue, but rather outgoing ones.

Could the firewall for this server by preventing outgoing requests?



New Contributor
Posts: 2
Registered: ‎08-10-2012
My Device: Bold 9780

Re: BPSS : SocketTimeoutException



Thanks for fast response.


yes, its the outgoing request that seems to be the issue here since i've registered my bb client app to this server and succeed.


The administrator guy told me that firewall been off but I still cant send push request.