12-19-2012 01:24 AM
Hi,
We have developed a push initiator which pushes notifications to the blackberry server. It was working fine sending notifications as expected. But from yesterday we are getting the following error:
PushSDKException caught:
net.rim.pushsdk.commons.PushSDKException: IOException caught sending message to PPG URL address: https://pushapi.eval.blackberry.com
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.
at com.sun.net.ssl.internal.ssl.InputRecord.readFully
at com.sun.net.ssl.internal.ssl.InputRecord.read(Inpu
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRec
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDat
at com.sun.net.ssl.internal.ssl.AppInputStream.read(A
at java.io.BufferedInputStream.fill(BufferedInputStre
at java.io.BufferedInputStream.read1(BufferedInputStr
at java.io.BufferedInputStream.read(BufferedInputStre
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.jav
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:640)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:662)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream
at java.net.HttpURLConnection.getResponseCode(HttpURL
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getRespo
at net.rim.pushsdk.commons.http.HttpClientImpl.transm
at net.rim.pushsdk.pap.PapServiceImpl.sendToPpg(PapSe
... 12 more
What could be the problem here. My eval account will expire on 12/28/2012.
Regards,
Annuk
12-19-2012 07:39 AM
Hi Annuk,
Did you make any changes at all to either the server code or the XML being sent?
What is the full URL to which you are submitting the request?
Was this working previously?
12-19-2012 08:11 AM
Hi,
The code was working perfectly fine.
Didnt make any changes too it. It was sending messages and I was receiving it successfully.
the full url in my pushsdk.properties is https://pushapi.eval.blackberry.com/mss/PD_pushReq
i am using an eval account. Why and when do we get this error?
Regards,
Annuk
12-19-2012 08:22 AM
I haven't had any other reports of issues with EVAL at this time.
Do you have a firewall enabled on your computer? If so could you test with this disabled?
Do you have another computer that you could use to test Push?
The error is fairly general, it means the socket was closed prematurely but does not provide much detail on where or why it is happenig.
12-19-2012 08:25 AM
Hi,
I have tried it with two computers. We dont have any firewall issue in our company.
Have deployed the app at two places. both are not working.
Regards,
Annuk
12-19-2012 08:27 AM
Hi Annuk,
I just sent you a message requesting more details.
12-19-2012 08:43 AM
Hi,
I have replied you with the details.
Regards,
Annuk
12-19-2012 11:02 AM
Hi Annuk,
Could you try pushing again? The server may be back running. Seems there was an issue affecting some accounts.
12-20-2012 07:44 AM
Hi Garett,
The push is working now. But their seems to be some problem when I send multiple messages to the push server. I have multiple threads which push data to the push server simultaneously. But I dont receive notifications for them. When i try pushing through one thread I recieve the notification. Why could this be happening?
Thanks for your help.
Regards,
Annuk
12-20-2012 07:47 AM
Hi Annuk,
Possibly the logic in your app is blocking the read?