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 Member
nivaata
Posts: 1
Registered: ‎06-18-2012
My Device: Blackberry 9520
My Carrier: Airtel

BPSS : SocketTimeoutException

HI,

 

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?

 

 

Noufel

Please use plain text.
BlackBerry Development Advisor
awong
Posts: 8
Registered: ‎09-21-2009
My Device: Bold 9900
My Carrier: CSL

Re: BPSS : SocketTimeoutException

Hi,

 

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

https://pushapi.eval.blackberry.com

 

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

- Alan Wong
Please use plain text.
New Contributor
rianov
Posts: 2
Registered: ‎08-10-2012
My Device: Bold 9780
My Carrier: xl

Re: BPSS : SocketTimeoutException

Hi,

 

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.

 

Thanks.

 

 

 

 

Please use plain text.
BlackBerry Development Advisor (Retired)
mdandrea
Posts: 311
Registered: ‎08-08-2012
My Device: BlackBerry Z10
My Carrier: Rogers

Re: BPSS : SocketTimeoutException

Hi,

 

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?

 

Matt

Please use plain text.
New Contributor
rianov
Posts: 2
Registered: ‎08-10-2012
My Device: Bold 9780
My Carrier: xl

Re: BPSS : SocketTimeoutException

Hi,

 

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.

 

 

 

 

 

Please use plain text.