notnoop / java-apns

Java Apple Push Notification Service Provider
notnoop.github.com/java-apns
BSD 3-Clause "New" or "Revised" License
1.79k stars 656 forks source link

java.net.SocketException: Connection closed by remote host #375

Open Sadia-Khan opened 3 years ago

Sadia-Khan commented 3 years ago

I am getting java.net.SocketException: Connection closed by remote host from notnoop API sending push notification. Can anyone please help me in finding out possible reasons for this issue.

  1. My device token is valid as some of Push notification to the same device token sent successfully.
  2. Also I don't think if it can be an issue with .p12 file because push notifications are getting sent from this same environment to different devices.
petarov commented 3 years ago

Maybe the service got phased out. Please check issue #366.