<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: com.sas.rio.MVASQLException: An exception was thrown during the encryption key exchange in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/com-sas-rio-MVASQLException-An-exception-was-thrown-during-the/m-p/966084#M29944</link>
    <description>Are there any other messages indicating the details of the exception being encountered? Does the behavior change if you use JDBC driver version 94290?&lt;BR /&gt;&lt;A href="https://support.sas.com/downloads/package.htm?pid=2620" target="_blank"&gt;https://support.sas.com/downloads/package.htm?pid=2620&lt;/A&gt;</description>
    <pubDate>Thu, 08 May 2025 15:44:58 GMT</pubDate>
    <dc:creator>gwootton</dc:creator>
    <dc:date>2025-05-08T15:44:58Z</dc:date>
    <item>
      <title>com.sas.rio.MVASQLException: An exception was thrown during the encryption key exchange</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/com-sas-rio-MVASQLException-An-exception-was-thrown-during-the/m-p/966071#M29943</link>
      <description>&lt;P&gt;While connecting to the SAS via JDBC driver, we are getting below error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;com.sas.rio.MVASQLException: Unable to establish connection. An exception was thrown during the encryption key exchange.

"java.io.EOFException: null
    at com.sas.net.crypto.jce.JceCipher$BasePhase.recv(JceCipher.java:636) ~[APP.jar:?]
    at com.sas.net.crypto.jce.JceCipher$SizePhase.transmit(JceCipher.java:691) ~[APP.jar:?]
    at com.sas.net.crypto.jce.JceCipher.keyExchange(JceCipher.java:81) ~[APP.jar:?]
    at com.sas.iom.orb.brg.Engine.handleStatus(Engine.java:5014) ~[APP.jar:?]
    at com.sas.iom.orb.brg.Engine0200.flowSendReqs(Engine0200.java:188) ~[APP.jar:?]
    at com.sas.iom.orb.brg.Engine.flow(Engine.java:720) ~[APP.jar:?]
    at com.sas.iom.orb.brg.Engine.initClient(Engine.java:681) ~[APP.jar:?]
    at com.sas.iom.orb.brg.ORBImpl.uri_to_object(ORBImpl.java:114) ~[APP.jar:?]
    at com.sas.services.connection.ClusterEnvelope.createObject(ClusterEnvelope.java:395) ~[APP.jar:?]
    at com.sas.services.connection.ClusterEnvelope.getConnection(ClusterEnvelope.java:87) ~[APP.jar:?]
    at com.sas.services.connection.AggregationKernel.doGetConnection(AggregationKernel.java:242) ~[APP.jar:?]
    at com.sas.services.connection.ConnectionFactoryKernel.getConnection(ConnectionFactoryKernel.java:325) ~[APP.jar:?]
    at com.sas.services.connection.ConnectionFactoryShell.getConnection(ConnectionFactoryShell.java:69) ~[APP.jar:?]
    at com.sas.services.connection.ConnectionFactoryShell.getConnection(ConnectionFactoryShell.java:51) ~[APP.jar:?]
    at com.sas.rio.RIOUtil.getWorkspace(RIOUtil.java:1881) ~[APP.jar:?]
    at com.sas.rio.RIOUtil.&amp;lt;init&amp;gt;(RIOUtil.java:304) ~[APP.jar:?]
    at com.sas.rio.MVAConnection.&amp;lt;init&amp;gt;(MVAConnection.java:254) ~[APP.jar:?]
    at com.sas.rio.MVADriver.connect(MVADriver.java:280)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additional info:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;JDBC driver version 94280&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;SAS version 9.4&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;SAS is setup using AES 64-bit encryption&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;JDBC URI format: "&lt;SPAN&gt;sasiom://&amp;lt;hostname_or_ip&amp;gt;:&amp;lt;port&amp;gt;?libref=&amp;lt;library_name&amp;gt;'/&amp;lt;library_location&amp;gt;'"&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please let us know what could be the issue here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2025 14:48:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/com-sas-rio-MVASQLException-An-exception-was-thrown-during-the/m-p/966071#M29943</guid>
      <dc:creator>r_alation</dc:creator>
      <dc:date>2025-05-08T14:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: com.sas.rio.MVASQLException: An exception was thrown during the encryption key exchange</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/com-sas-rio-MVASQLException-An-exception-was-thrown-during-the/m-p/966084#M29944</link>
      <description>Are there any other messages indicating the details of the exception being encountered? Does the behavior change if you use JDBC driver version 94290?&lt;BR /&gt;&lt;A href="https://support.sas.com/downloads/package.htm?pid=2620" target="_blank"&gt;https://support.sas.com/downloads/package.htm?pid=2620&lt;/A&gt;</description>
      <pubDate>Thu, 08 May 2025 15:44:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/com-sas-rio-MVASQLException-An-exception-was-thrown-during-the/m-p/966084#M29944</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2025-05-08T15:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: com.sas.rio.MVASQLException: An exception was thrown during the encryption key exchange</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/com-sas-rio-MVASQLException-An-exception-was-thrown-during-the/m-p/966086#M29945</link>
      <description>We are unable to test that our internally as our license has expired.&lt;BR /&gt;&lt;BR /&gt;But we are seeking help on this since, we got to know from one of our customer that with AES encryption the above mentioned driver is not working.</description>
      <pubDate>Thu, 08 May 2025 16:17:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/com-sas-rio-MVASQLException-An-exception-was-thrown-during-the/m-p/966086#M29945</guid>
      <dc:creator>a_alation</dc:creator>
      <dc:date>2025-05-08T16:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: com.sas.rio.MVASQLException: An exception was thrown during the encryption key exchange</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/com-sas-rio-MVASQLException-An-exception-was-thrown-during-the/m-p/968659#M30040</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/78975"&gt;@gwootton&lt;/a&gt;&amp;nbsp;After upgrading to JDBC driver 94290, we are getting similar error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;"message":"An exception was thrown during the encryption key exchange.","name":"com.sas.services.connection.FatalConnectionFactoryException","cause":{"commonElementCount":16,"localizedMessage":"An exception was thrown during the encryption key exchange.","message":"An exception was thrown during the encryption key exchange.","name":"org.omg.CORBA.COMM_FAILURE","cause":{"commonElementCount":16,"name":"java.io.EOFException","extendedStackTrace":"java.io.EOFException: null
    at com.sas.net.crypto.jce.JceCipher$BasePhase.recv(JceCipher.java:636) ~[APP.jar:?]
    at com.sas.net.crypto.jce.JceCipher$SizePhase.transmit(JceCipher.java:691) ~[APP.jar:?]
    at com.sas.net.crypto.jce.JceCipher.keyExchange(JceCipher.java:81) ~[APP.jar:?]
    at com.sas.iom.orb.brg.Engine.handleStatus(Engine.java:5015) ~[APP.jar:?]
    at com.sas.iom.orb.brg.Engine0200.flowSendReqs(Engine0200.java:188) ~[APP.jar:?]
    at com.sas.iom.orb.brg.Engine.flow(Engine.java:721) ~[APP.jar:?]
    at com.sas.iom.orb.brg.Engine.initClient(Engine.java:682) ~[APP.jar:?]
    at com.sas.iom.orb.brg.ORBImpl.uri_to_object(ORBImpl.java:114) ~[APP.jar:?]
    at com.sas.services.connection.ClusterEnvelope.createObject(ClusterEnvelope.java:395) ~[APP.jar:?]
    at com.sas.services.connection.ClusterEnvelope.getConnection(ClusterEnvelope.java:87) ~[APP.jar:?]
    at com.sas.services.connection.AggregationKernel.doGetConnection(AggregationKernel.java:242) ~[APP.jar:?]
    at com.sas.services.connection.ConnectionFactoryKernel.getConnection(ConnectionFactoryKernel.java:325) ~[APP.jar:?]
    at com.sas.services.connection.ConnectionFactoryShell.getConnection(ConnectionFactoryShell.java:69) ~[APP.jar:?]
    at com.sas.services.connection.ConnectionFactoryShell.getConnection(ConnectionFactoryShell.java:51) ~[APP.jar:?]
    at com.sas.rio.RIOUtil.getWorkspace(RIOUtil.java:1882) ~[APP.jar:?]
    at com.sas.rio.RIOUtil.&amp;lt;init&amp;gt;(RIOUtil.java:305) ~[APP.jar:?]
    at com.sas.rio.MVAConnection.&amp;lt;init&amp;gt;(MVAConnection.java:256) ~[APP.jar:?]
    at com.sas.rio.MVADriver.connect(MVADriver.java:289) ~[APP.jar:?]
    at com.mycom.jdbcSasConnection.createConnectionWithUsernamePasswordAuth(SasConnection.java:95) ~[APP.jar:?]
    at com.mycom.jdbcSasConnection.connect(SasConnection.java:68) ~[APP.jar:?]
    at com.mycom.datasource.SasDatasource.validate(SasDatasource.java:153) ~[APP.jar:?]\n"},"extendedStackTrace":"org.omg.CORBA.COMM_FAILURE: An exception was thrown during the encryption key exchange.
    at com.sas.iom.orb.brg.Engine.handleStatus(Engine.java:5023) ~[APP.jar:?]
    at com.sas.iom.orb.brg.Engine0200.flowSendReqs(Engine0200.java:188) ~[APP.jar:?]
    at com.sas.iom.orb.brg.Engine.flow(Engine.java:721) ~[APP.jar:?]
    at com.sas.iom.orb.brg.Engine.initClient(Engine.java:682) ~[APP.jar:?]
    at com.sas.iom.orb.brg.ORBImpl.uri_to_object(ORBImpl.java:114) ~[APP.jar:?]
    at com.sas.services.connection.ClusterEnvelope.createObject(ClusterEnvelope.java:395) ~[APP.jar:?]
    at com.sas.services.connection.ClusterEnvelope.getConnection(ClusterEnvelope.java:87) ~[APP.jar:?]
    at com.sas.services.connection.AggregationKernel.doGetConnection(AggregationKernel.java:242) ~[APP.jar:?]
    at com.sas.services.connection.ConnectionFactoryKernel.getConnection(ConnectionFactoryKernel.java:325) ~[APP.jar:?]
    at com.sas.services.connection.ConnectionFactoryShell.getConnection(ConnectionFactoryShell.java:69) ~[APP.jar:?]
    at com.sas.services.connection.ConnectionFactoryShell.getConnection(ConnectionFactoryShell.java:51) ~[APP.jar:?]
    at com.sas.rio.RIOUtil.getWorkspace(RIOUtil.java:1882) ~[APP.jar:?]
    at com.sas.rio.RIOUtil.&amp;lt;init&amp;gt;(RIOUtil.java:305) ~[APP.jar:?]
    at com.sas.rio.MVAConnection.&amp;lt;init&amp;gt;(MVAConnection.java:256) ~[APP.jar:?]
    at com.sas.rio.MVADriver.connect(MVADriver.java:289) ~[APP.jar:?]
    at com.mycom.jdbcSasConnection.createConnectionWithUsernamePasswordAuth(SasConnection.java:95) ~[APP.jar:?]
    at com.mycom.jdbcSasConnection.connect(SasConnection.java:68) ~[APP.jar:?]
    at com.mycom.datasource.SasDatasource.validate(SasDatasource.java:153) ~[APP.jar:?]\nCaused by: java.io.EOFException&lt;/PRE&gt;</description>
      <pubDate>Tue, 10 Jun 2025 15:06:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/com-sas-rio-MVASQLException-An-exception-was-thrown-during-the/m-p/968659#M30040</guid>
      <dc:creator>r_alation</dc:creator>
      <dc:date>2025-06-10T15:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: com.sas.rio.MVASQLException: An exception was thrown during the encryption key exchange</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/com-sas-rio-MVASQLException-An-exception-was-thrown-during-the/m-p/968690#M30046</link>
      <description>Does your classpath include the SAS/SECURE JAR files (sas.rutil.jar  sas.rutil.nls.jar  sastpj.rutil.jar)</description>
      <pubDate>Tue, 10 Jun 2025 20:30:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/com-sas-rio-MVASQLException-An-exception-was-thrown-during-the/m-p/968690#M30046</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2025-06-10T20:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: com.sas.rio.MVASQLException: An exception was thrown during the encryption key exchange</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/com-sas-rio-MVASQLException-An-exception-was-thrown-during-the/m-p/968731#M30047</link>
      <description>&lt;P&gt;We have put those JARs in classpath in the client(where we are using JDBC driver), but we were getting a different error, I have asked customer to provide logs to know the exact error.&lt;BR /&gt;&lt;BR /&gt;Meanwhile, can you please let us know if we need to put these 3 JARs in client only(the app which is using JDBC driver)? We observed that, customer's IT team was unable to locate these 3 JARs in SAS deployment "/&amp;lt;sas_home&amp;gt;/SASVersionedJarRepository/eclipse/plugins/", they found only "sas.rutil.nls.jar" file. Should the deployment must contain these 3 JARs? (Customer is on SAS 9.4)&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 04:22:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/com-sas-rio-MVASQLException-An-exception-was-thrown-during-the/m-p/968731#M30047</guid>
      <dc:creator>r_alation</dc:creator>
      <dc:date>2025-06-11T04:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: com.sas.rio.MVASQLException: An exception was thrown during the encryption key exchange</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/com-sas-rio-MVASQLException-An-exception-was-thrown-during-the/m-p/968761#M30053</link>
      <description>Correct, this would be done on the client side not the server side.&lt;BR /&gt;&lt;BR /&gt;The file sas.rutil.nls.jar I don't think actually contains any classes, just additional language support. The sas.rutil.jar and sastpj.rutil.jar contain java classes.&lt;BR /&gt;&lt;BR /&gt;You can check in the software depot under products/securejava__* to see if all the JAR files are there. I think they'd only make it to the JAR repository if they were installed from the depot.</description>
      <pubDate>Wed, 11 Jun 2025 16:58:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/com-sas-rio-MVASQLException-An-exception-was-thrown-during-the/m-p/968761#M30053</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2025-06-11T16:58:34Z</dc:date>
    </item>
  </channel>
</rss>

