lanmo / javapns

Automatically exported from code.google.com/p/javapns
0 stars 0 forks source link

Problems while sending push-message to production APNS server #128

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When I am trying to send message to  Apple sandbox it works fine every time;
However while I am switching to live with production certificate I am getting  
error.
This the version of APNS software I am using:

          <groupId>com.notnoop.apns</groupId>
            <artifactId>apns</artifactId>
            <version>0.1.6</version>

We have deployed our app on Unix box.
Here is the error:
log4j:throwable><![CDATA[java.net.SocketException: Connection closed by remote 
host
       at com.sun.net.ssl.internal.ssl.SSLSocketImpl.checkWrite(SSLSocketImpl.java:1269)
       at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:43)
       at java.io.OutputStream.write(OutputStream.java:58)
       at com.notnoop.apns.internal.ApnsConnectionImpl.sendMessage(ApnsConnectionImpl.java:161)
       at com.notnoop.apns.internal.ApnsServiceImpl.push(ApnsServiceImpl.java:46)
       at com.notnoop.apns.internal.AbstractApnsService.push(AbstractApnsService.java:52)
       at com.notnoop.apns.internal.ApnsServiceImpl.push(ApnsServiceImpl.java:36)
       at com.bskyb.interactive.mobile.jms.PushMessageQueueListener.messageReceived(PushMessageQueueListener.java:73)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:273)
       at 

Is it a cert problem not sure

Original issue reported on code.google.com by jha.vks...@googlemail.com on 19 Jun 2012 at 3:45

GoogleCodeExporter commented 9 years ago
You are not using JavaPNS, so I am closing this issue.

Original comment by sype...@gmail.com on 2 Jul 2012 at 9:20