MobileFirst APNS push notifications fails with java.net.SocketException (Connection closed by remote host) -
i have mobilefirst application trying send push production apns certificate.
i exception when push submitted :
info: failed send message message(id=2; token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx; payload={"aps":{"alert":{"body":"blah blah blah","action-loc-key":null},"sound":"","badge":1},"payload":"{\"alias\":\"news_fr\",\"custom\":\"data\"}"})... trying again after delay java.net.socketexception: connection closed remote host @ sun.security.ssl.sslsocketimpl.checkwrite(sslsocketimpl.java:1510) @ sun.security.ssl.appoutputstream.write(appoutputstream.java:123) @ java.io.outputstream.write(outputstream.java:75) @ com.notnoop.apns.internal.apnsconnectionimpl.sendmessage(apnsconnectionimpl.java:240) @ com.notnoop.apns.internal.apnsconnectionimpl.sendmessage(apnsconnectionimpl.java:230) @ com.notnoop.apns.internal.apnspooledconnection$2.run(apnspooledconnection.java:47) @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1145) @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:615) @ java.lang.thread.run(thread.java:745)
the server running oracle jre 1.7 , tomcat 7 on debian gnu/linux 7 (wheezy). mobilefirst version 6.3.0.
it worked development certificate.
i developed standalone java application (using javapns instead of notnoop) reproduce problem on local environment same certificate , worked java 1.6 not higher.
a pmr (support ticket) opened issue, , decided customer downgrade installed java oracle java 1.6 after sending push notifications resumed.
Comments
Post a Comment