IRC see aerogear.org 

On Thu, Aug 17, 2017 at 7:42 AM, Matthias Wessendorf <matzew@apache.org> wrote:
com.notnoop.apns.internal.ApnsConnectionImpl

Ah, that's an "older" APNs lib we use, 

what version are you on ? 

On Wed, Aug 16, 2017 at 11:57 PM, jeff01 <xfdeng@hotmail.com> wrote:
Thanks Tolis.

Here is part of messages, let me know if you need more detailed info:

2017-08-11 13:52:24,584 ERROR [com.notnoop.apns.internal.ApnsConnectionImpl]
(Thread-3359 (HornetQ-client-global-threads-939513534)) Couldn't send
message after 3 retries.Message(Id=1;
Token=9410609ED2E125F119BA5E0D969D108CC9E3F334DAEE3A23BC6FAF8E72CFC463;
Payload={"aps":{"alert":{"body":"testing2","title":null,"action":null,"title-loc-key":null},"sound":"default","url-args":null},"aerogear-push-id":"411a2097-4a11-4075-9baa-f3b7f13fcbe4"}):
javax.net.ssl.SSLException: Received fatal alert: internal_error
        at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
[jsse.jar:1.7.0_141]
        at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
[jsse.jar:1.7.0_141]
        at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1989)
[jsse.jar:1.7.0_141]
        at
sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1096)
[jsse.jar:1.7.0_141]
        at
sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1342)
[jsse.jar:1.7.0_141]
        at
sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:719)
[jsse.jar:1.7.0_141]
        at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:122)
[jsse.jar:1.7.0_141]
        at java.io.OutputStream.write(OutputStream.java:75)
[rt.jar:1.7.0_141]
        at
com.notnoop.apns.internal.ApnsConnectionImpl.sendMessage(ApnsConnectionImpl.java:328)
[apns-1.0.0.Beta6.jar:]
        at
com.notnoop.apns.internal.ApnsConnectionImpl.sendMessage(ApnsConnectionImpl.java:312)
[apns-1.0.0.Beta6.jar:]
        at
com.notnoop.apns.internal.ApnsServiceImpl.push(ApnsServiceImpl.java:46)
[apns-1.0.0.Beta6.jar:]
        at
com.notnoop.apns.internal.AbstractApnsService.push(AbstractApnsService.java:102)
[apns-1.0.0.Beta6.jar:]
        at
com.notnoop.apns.internal.ApnsServiceImpl.push(ApnsServiceImpl.java:36)
[apns-1.0.0.Beta6.jar:]
        at
org.jboss.aerogear.unifiedpush.message.sender.APNsPushNotificationSender.sendPushMessage(APNsPushNotificationSender.java:171)
[unifiedpush-push-sender-1.1.0.Final.jar:1.1.0.Final]
        at
org.jboss.aerogear.unifiedpush.message.NotificationDispatcher.sendMessagesToPushNetwork(NotificationDispatcher.java:72)
[unifiedpush-push-sender-1.1.0.Final.jar:1.1.0.Final]
        at sun.reflect.GeneratedMethodAccessor550.invoke(Unknown Source)
[:1.7.0_141]
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[rt.jar:1.7.0_141]
        at java.lang.reflect.Method.invoke(Method.java:606)
[rt.jar:1.7.0_141]
        at
org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
[jboss-as-ee-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
        at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]
        at
org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
[jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]
        at
org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
[jboss-as-ee-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
        at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]
        at
org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374)
[jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]
        at
org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:86)
[jboss-as-weld-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
        at
org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:97)
[jboss-as-weld-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
        at
org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
[jboss-as-ee-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
        at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]
        at
org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
[jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]
        at
org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
[jboss-as-ee-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
        at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]
        at
org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)
[jboss-as-ejb3-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
        at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]
        at
org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47)
[jboss-as-jpa-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
        at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]
        at
org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:73)
[jboss-as-weld-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
        at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]
        at
org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)
[jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]
        at
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
[jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]
        at
org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
[jboss-invocation-1.1.2.Final-redhat-1.jar:1.1.2.Final-redhat-1]
        at
org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53)
[jboss-as-ee-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]



--
View this message in context: http://aerogear-users.1116366.n5.nabble.com/Error-sending-payload-to-APNs-server-javax-net-ssl-SSLException-Received-fatal-alert-internal-error-tp1148p1151.html
Sent from the aerogear-users mailing list archive at Nabble.com.
_______________________________________________
Aerogear-users mailing list
Aerogear-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-users



--



--
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
twitter: http://twitter.com/mwessendorf