Hi,
While connecting to an incoming email, the server is throwing an exception -- 'Remote host closed connection during handshake' for outlook 365 email account.
On restarting awareIM, it starts working and throws this exception after some time.
Has anyone noticed this exception in AwareIM and is there any fix that can be applied?
Thanks!
Remote host closed connection during handshake
-
- Posts: 130
- Joined: Tue Dec 03, 2013 10:19 pm
Re: Remote host closed connection during handshake
Not sure what this is but I have had various issues and possibly also handshake issues when my host made changes to their email servers so one thing you can try is to change the ports used and always make sure you use SSL ports.bondicoffee wrote: ↑Thu Sep 30, 2021 11:05 pm Hi,
While connecting to an incoming email, the server is throwing an exception -- 'Remote host closed connection during handshake' for outlook 365 email account.
On restarting awareIM, it starts working and throws this exception after some time.
Has anyone noticed this exception in AwareIM and is there any fix that can be applied?
Thanks!
Henrik (V8 Developer Ed. - Windows)
-
- Posts: 130
- Joined: Tue Dec 03, 2013 10:19 pm
Re: Remote host closed connection during handshake
Hi,
Thank you for your reply.
We are using port 8443 as SSL port. Following is error received on tomcat logs:
NFO: Destroying ProtocolHandler ["https-jsse-nio-8443"]
Oct 02, 2021 9:43:13 AM org.apache.coyote.AbstractProtocol destroy
INFO: Failed to deregister MBean named [Catalina:type=ProtocolHandler,port=8443] from MBean server [com.sun.jmx.mbeanserver.JmxMBeanServer@3cd1f1c8]
Oct 02, 2021 9:43:13 AM org.apache.catalina.util.LifecycleMBeanBase unregister
WARNING: Failed to unregister MBean with name [Catalina:type=Connector,port=8443] during component destruction
javax.management.InstanceNotFoundException: Catalina:type=Connector,port=8443
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1095)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.exclusiveUnregisterMBean(DefaultMBeanServerInterceptor.java:427)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.unregisterMBean(DefaultMBeanServerInterceptor.java:415)
at com.sun.jmx.mbeanserver.JmxMBeanServer.unregisterMBean(JmxMBeanServer.java:546)
at org.apache.catalina.util.LifecycleMBeanBase.unregister(LifecycleMBeanBase.java:197)
at org.apache.catalina.util.LifecycleMBeanBase.destroyInternal(LifecycleMBeanBase.java:73)
at org.apache.catalina.connector.Connector.destroyInternal(Connector.java:1058)
at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:297)
at org.apache.catalina.core.StandardService.destroyInternal(StandardService.java:571)
at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:297)
at org.apache.catalina.core.StandardServer.destroyInternal(StandardServer.java:883)
at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:297)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:744)
at org.apache.catalina.startup.Catalina.start(Catalina.java:705)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:353)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:493)
Oct 02, 2021 9:43:13 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["ajp-nio-8009"]
Oct 02, 2021 9:43:13 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["ajp-nio-8009"]
Thank you for your reply.
We are using port 8443 as SSL port. Following is error received on tomcat logs:
NFO: Destroying ProtocolHandler ["https-jsse-nio-8443"]
Oct 02, 2021 9:43:13 AM org.apache.coyote.AbstractProtocol destroy
INFO: Failed to deregister MBean named [Catalina:type=ProtocolHandler,port=8443] from MBean server [com.sun.jmx.mbeanserver.JmxMBeanServer@3cd1f1c8]
Oct 02, 2021 9:43:13 AM org.apache.catalina.util.LifecycleMBeanBase unregister
WARNING: Failed to unregister MBean with name [Catalina:type=Connector,port=8443] during component destruction
javax.management.InstanceNotFoundException: Catalina:type=Connector,port=8443
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1095)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.exclusiveUnregisterMBean(DefaultMBeanServerInterceptor.java:427)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.unregisterMBean(DefaultMBeanServerInterceptor.java:415)
at com.sun.jmx.mbeanserver.JmxMBeanServer.unregisterMBean(JmxMBeanServer.java:546)
at org.apache.catalina.util.LifecycleMBeanBase.unregister(LifecycleMBeanBase.java:197)
at org.apache.catalina.util.LifecycleMBeanBase.destroyInternal(LifecycleMBeanBase.java:73)
at org.apache.catalina.connector.Connector.destroyInternal(Connector.java:1058)
at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:297)
at org.apache.catalina.core.StandardService.destroyInternal(StandardService.java:571)
at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:297)
at org.apache.catalina.core.StandardServer.destroyInternal(StandardServer.java:883)
at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:297)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:744)
at org.apache.catalina.startup.Catalina.start(Catalina.java:705)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:353)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:493)
Oct 02, 2021 9:43:13 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["ajp-nio-8009"]
Oct 02, 2021 9:43:13 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["ajp-nio-8009"]
Re: Remote host closed connection during handshake
Are you using LetsEncrypt certificates by any chance?
https://techcrunch.com/2021/09/21/lets- ... ot-expiry/
https://techcrunch.com/2021/09/21/lets- ... ot-expiry/