If you are using Internet Explorer, please remove blackberry.com from your compatibility view settings.

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
BlackBerry Development Advisor (Retired)
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: SocketTimeoutException caught sending message to PPG URL address:

It would seem it is definitely environmental, you would need to investigate further on your side. It could be firewall related or an issue with the server, tough to say. But as it works from your other server it should be safe to assume your service is working as expected and the SDK, if set up the same, is also configured correctly.

Garett
@garettBeuk
--
Goodbye everybody!
Please use plain text.
Regular Contributor
annuk
Posts: 82
Registered: ‎09-26-2012
My Device: Torch 9800
My Carrier: NA

Re: SocketTimeoutException caught sending message to PPG URL address:

Hi Garett,

 

Thanks. Will check and let you know.

But can you please guide me as to  why and when do we get this scokettimeoutexception.

 

Regards,

Annuk

 

 

Please use plain text.
BlackBerry Development Advisor (Retired)
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: SocketTimeoutException caught sending message to PPG URL address:

Hi Annuk,

 

It's a standard Java error, usually means the connection timed out when waiting for data from a read, or when trying to establish the connection.

Garett
@garettBeuk
--
Goodbye everybody!
Please use plain text.
Regular Contributor
mdicesare
Posts: 78
Registered: ‎04-28-2010
My Device: BlackBerry 10 Dev Alpha
My Carrier: Rogers

Re: SocketTimeoutException caught sending message to PPG URL address:

I tried to access: https://cp476.pushapi.na.blackberry.com/mss/PD_pushRequest and I was able to access the URL without a socket timeout. So it must be something environmental - perhaps a firewall blocking?

Please use plain text.
Regular Contributor
annuk
Posts: 82
Registered: ‎09-26-2012
My Device: Torch 9800
My Carrier: NA

Re: SocketTimeoutException caught sending message to PPG URL address:

Hi,

 

How did you try to access the url?

 

Regards,

Annuk

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

Re: SocketTimeoutException caught sending message to PPG URL address:

I used the Push Service SDK to send a request to the URL you mentioned. Of course I don't have your password so the request was failed by the RIM push server saying it was unathorized but that was enough to prove that I can attempt to push to your URL.

Please use plain text.
Regular Contributor
annuk
Posts: 82
Registered: ‎09-26-2012
My Device: Torch 9800
My Carrier: NA

Re: SocketTimeoutException caught sending message to PPG URL address:

Hi marco ,

 

Thanks.

We figured out the problem. There is some issue with the firewall on the production server, we are in process of figuring it out.

 

Regards,

Annuk

 

Please use plain text.
Regular Contributor
annuk
Posts: 82
Registered: ‎09-26-2012
My Device: Torch 9800
My Carrier: NA

Re: SocketTimeoutException caught sending message to PPG URL address:

Hi Garett,

 

We tried opening the firewall access for the push request url, but still getting the same response.

The network team at our end wants to know the ip and port at which the request is being sent. Can you please tell us your ip and port so that it could be  bypassed from the firewall.

 

We have opened the firewall for ip: 74.82.71.66and ports 80 and 8443.

 

Regards,

Annuk

Please use plain text.
BlackBerry Development Advisor (Retired)
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: SocketTimeoutException caught sending message to PPG URL address:

Hi Annuk,

 

Try 74.82.71.65 and port 443.

Garett
@garettBeuk
--
Goodbye everybody!
Please use plain text.
Regular Contributor
annuk
Posts: 82
Registered: ‎09-26-2012
My Device: Torch 9800
My Carrier: NA

Re: SocketTimeoutException caught sending message to PPG URL address:

Hi garett,

 

They have already opened port 443, but still we are not able to send the notifications.

 

Regards,

Annuk

Please use plain text.