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
Original issue reported on code.google.com by
jha.vks...@googlemail.com
on 19 Jun 2012 at 3:45