Author Topic: Genesys PSDK 8.5 Java 8 TLS not working  (Read 3295 times)

Offline Rogelio Gutierrez

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Genesys PSDK 8.5 Java 8 TLS not working
« on: April 20, 2017, 06:36:27 PM »
Hello All,

We have a chat implementation using PSDK 8.5 and Java 7 using TLS connection. After updating from Java 7 to Java 8, current implementation stop working. We already tried with TLS version 1, 1.1 and 1.2 but still not working.

Do you know if we need to request some extra configuration in server side in order to support Java 8 and a different TLS version?

Current implementation working OK with Java 7:

[img]https://outlook.office.com/owa/service.svc/s/GetFileAttachment?id=AAMkADQ2YmMxMjQ5LWU2YzYtNDRmZi05ZWRkLTFhODE1MGYzZGU2NABGAAAAAAAZDvzdt4S2RKFMoe9jP%2BurBwAh3GBAyNjHS73Bb4AHWfIhAAAAAAEMAAAh3GBAyNjHS73Bb4AHWfIhAAE7kv%2FyAAABEgAQAELjvpEQWJlOk66QuH1vfAs%3D&X-OWA-CANARY=kVuv4j2mH0yOCWcCfrWlYPC-pZoaiNQYs6wbz7LZkEQYSXZWTzh2vEXUfHjyPtFQuQDoWV3mIUM.&isImagePreview=True[/img]

Current error with Java 8:


18:16:13.898 [main] ERROR c.i.g.a.GenesysChatServerAdaptor - Error while connection to chat
com.genesyslab.platform.commons.protocol.ProtocolException: [192.198.180.36:6181<10.161.7.164:54350] Error opening connection
                at com.genesyslab.platform.commons.protocol.DuplexChannel.open(DuplexChannel.java:329) ~[protocol-853.2.6.jar:8.5.302.06]
                at com.genesyslab.platform.commons.protocol.ClientChannel.doOpen(ClientChannel.java:698) ~[protocol-853.2.6.jar:8.5.302.06]
                at com.genesyslab.platform.commons.protocol.ClientChannel.open(ClientChannel.java:692) ~[protocol-853.2.6.jar:8.5.302.06]
                at com.genesyslab.platform.commons.protocol.DuplexChannel.open(DuplexChannel.java:287) ~[protocol-853.2.6.jar:8.5.302.06]
                at com.ihg.genesyslab.connections.GenesysConnectionManager.openProtocol(GenesysConnectionManager.java:159) ~[rpc-genesys-7.0.0-SNAPSHOT.jar:na]
                at com.ihg.genesyslab.connections.GenesysConnectionManager.openChatServer(GenesysConnectionManager.java:151) ~[rpc-genesys-7.0.0-SNAPSHOT.jar:na]
                at com.ihg.genesyslab.adaptors.GenesysChatServerAdaptor.processConnectToChatServer(GenesysChatServerAdaptor.java:332) ~[rpc-genesys-7.0.0-SNAPSHOT.jar:na]
                at com.ihg.genesyslab.adaptors.GenesysChatServerAdaptor.connectToChatServer(GenesysChatServerAdaptor.java:113) ~[rpc-genesys-7.0.0-SNAPSHOT.jar:na]
                at com.ihg.genesyslab.adaptors.GenesysChatServerAdaptor.processChatCommand(GenesysChatServerAdaptor.java:285) ~[rpc-genesys-7.0.0-SNAPSHOT.jar:na]
                at com.ihg.genesyslab.client.chat.GenesysChatDAOImpl.processChatCommand(GenesysChatDAOImpl.java:76) ~[rpc-genesys-7.0.0-SNAPSHOT.jar:na]
                at com.ihg.genesyslab.client.chat.GenesysChatDAOIntegrationTest.main(GenesysChatDAOIntegrationTest.java:39) ~[integ/:na]
                at ...throw() ~[na:na]
                at com.genesyslab.platform.commons.protocol.DuplexChannel.wrapInProtocolException(DuplexChannel.java:239) ~[protocol-853.2.6.jar:8.5.302.06]
                at com.genesyslab.platform.commons.protocol.DuplexChannel.onConnectionClosed(DuplexChannel.java:1703) ~[protocol-853.2.6.jar:8.5.302.06]
                at com.genesyslab.platform.commons.protocol.DuplexChannel.access$900(DuplexChannel.java:79) ~[protocol-853.2.6.jar:8.5.302.06]
                at com.genesyslab.platform.commons.protocol.DuplexChannel$DuplexChannelConnHandler.onConnectionClosed(DuplexChannel.java:1633) ~[protocol-853.2.6.jar:8.5.302.06]
                at com.genesyslab.platform.commons.connection.impl.AbstractConnection$4.run(AbstractConnection.java:160) ~[connection-853.2.6.jar:8.5.302.06]
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[na:1.8.0_92]
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ~[na:1.8.0_92]
                at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_92]
Caused by: com.genesyslab.platform.commons.connection.ConnectionException: Connection is closed by remote peer for 192.198.180.36:6181<10.161.7.164:54350[Opening]/0
                at com.genesyslab.platform.commons.connection.impl.netty.NettyConnectionImpl.handleConnectionClose(NettyConnectionImpl.java:765) ~[connection-853.2.6.jar:8.5.302.06]
                at com.genesyslab.platform.commons.connection.impl.netty.NettyConnectionImpl.access$2900(NettyConnectionImpl.java:53) ~[connection-853.2.6.jar:8.5.302.06]
                at com.genesyslab.platform.commons.connection.impl.netty.NettyConnectionImpl$CloseListener.operationComplete(NettyConnectionImpl.java:1155) ~[connection-853.2.6.jar:8.5.302.06]
                at org.jboss.netty.channel.DefaultChannelFuture.notifyListener(DefaultChannelFuture.java:431) ~[netty-3.9.4.Final.jar:na]
                at org.jboss.netty.channel.DefaultChannelFuture.notifyListeners(DefaultChannelFuture.java:422) ~[netty-3.9.4.Final.jar:na]
                at org.jboss.netty.channel.DefaultChannelFuture.setSuccess(DefaultChannelFuture.java:362) ~[netty-3.9.4.Final.jar:na]
                at org.jboss.netty.channel.AbstractChannel$ChannelCloseFuture.setClosed(AbstractChannel.java:355) ~[netty-3.9.4.Final.jar:na]
                at org.jboss.netty.channel.AbstractChannel.setClosed(AbstractChannel.java:185) ~[netty-3.9.4.Final.jar:na]
                at org.jboss.netty.channel.socket.nio.AbstractNioChannel.setClosed(AbstractNioChannel.java:197) ~[netty-3.9.4.Final.jar:na]
                at org.jboss.netty.channel.socket.nio.NioSocketChannel.setClosed(NioSocketChannel.java:84) ~[netty-3.9.4.Final.jar:na]
                at org.jboss.netty.channel.socket.nio.AbstractNioWorker.close(AbstractNioWorker.java:356) ~[netty-3.9.4.Final.jar:na]
                at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:93) ~[netty-3.9.4.Final.jar:na]
                at org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108) ~[netty-3.9.4.Final.jar:na]
                at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:318) ~[netty-3.9.4.Final.jar:na]
                at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89) ~[netty-3.9.4.Final.jar:na]
                at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178) ~[netty-3.9.4.Final.jar:na]
                at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108) ~[netty-3.9.4.Final.jar:na]
                at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42) ~[netty-3.9.4.Final.jar:na]
                ... 3 common frames omitted


Offline Kubig

  • Hero Member
  • *****
  • Posts: 2752
  • Karma: 44
Re: Genesys PSDK 8.5 Java 8 TLS not working
« Reply #1 on: April 22, 2017, 08:56:05 AM »
Did you change also the JRE for eServices/MCR to version 1.8? If yes, make a downgrade as the JRE 1.8 is not suppported at this moment.