Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Production messages don't get delivered #3

Open
emadhegab opened this issue Sep 23, 2012 · 0 comments
Open

Production messages don't get delivered #3

emadhegab opened this issue Sep 23, 2012 · 0 comments

Comments

@emadhegab
Copy link

hi i tried the plugin and it's working fine on the sandbox but when i tried it on production it gives me
error stacktrace >>>>

2012-09-23 03:28:15,790 [Thread-48] ERROR internal.ApnsConnectionImpl - Couldn't send message com.notnoop.apns.EnhancedApnsNotification@8b6d374a
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:60)
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.QueuedApnsService$1.run(QueuedApnsService.java:76)
Exception in thread "Thread-48" com.notnoop.exceptions.NetworkIOException: java.net.SocketException: Connection closed by remote host
at com.notnoop.apns.internal.Utilities.wrapAndThrowAsRuntimeException(Utilities.java:268)
at com.notnoop.apns.internal.ApnsConnectionImpl.sendMessage(ApnsConnectionImpl.java:173)
at com.notnoop.apns.internal.ApnsServiceImpl.push(ApnsServiceImpl.java:46)
at com.notnoop.apns.internal.QueuedApnsService$1.run(QueuedApnsService.java:76)
Caused by: 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:60)
at java.io.OutputStream.write(OutputStream.java:58)
at com.notnoop.apns.internal.ApnsConnectionImpl.sendMessage(ApnsConnectionImpl.java:161)

but it's not always happening with this message but it never send the notification to any device on production phase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant