<?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: CLI error connecting to SQL Server in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/406979#M10850</link>
    <description>Are these not maybe long running jobs and then then the firewall closes the connection ?&lt;BR /&gt;</description>
    <pubDate>Tue, 24 Oct 2017 15:33:57 GMT</pubDate>
    <dc:creator>nhvdwalt</dc:creator>
    <dc:date>2017-10-24T15:33:57Z</dc:date>
    <item>
      <title>CLI error connecting to SQL Server</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/406972#M10847</link>
      <description>&lt;P&gt;"Occasionally", we are getting the following error on our jobs that are connecting to SQL server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;154 LIBNAME&amp;nbsp;sqlpr SQLSVR Datasrc=sqlprod SCHEMA=dbo AUTHDOMAIN="SQL Server - SQLPROD" ;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;ERROR: CLI error trying to establish connection: [SAS][ODBC SQL Server Wire Protocol driver]Socket closed. : [SAS][ODBC SQL Server&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Wire Protocol driver]SSL Handshake Failure reason [Unknown SSL Error].&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;ERROR: Error in the LIBNAME statement.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Probably 98% of the time, these jobs run without error.&amp;nbsp; I have about 10 jobs that connect to SQL Server.&amp;nbsp; And, I have 2 different SQL Servers that I am connecting to.&amp;nbsp; Jobs pointing to both servers are failing with the above error.&amp;nbsp; Some nights, all run fine without error.&amp;nbsp; I have adjusted the times, and that does not seem to make a difference.&amp;nbsp; Oh, and I also have 2 SAS environments PROD and DEV, with my jobs running on each...both showing the same symptoms.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have looked in some log files, but we are having no luck at even locating this issue.&amp;nbsp; Has anyone else had this problem?&amp;nbsp; Any ideas on where to look?&amp;nbsp; We are in a Linux environment.&amp;nbsp; We have looked at SSSD logs and SSL logs, trying to match things up with the run times of the jobs.&amp;nbsp; We are just not finding anything...and the failures seem to be completely random.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help and/or advice is greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ricky&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 15:11:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/406972#M10847</guid>
      <dc:creator>rgreen33</dc:creator>
      <dc:date>2017-10-24T15:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: CLI error connecting to SQL Server</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/406976#M10849</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/125413"&gt;@rgreen33&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These loggers should help determine the problem. Please add them to your logconfigloc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;&amp;lt;logger name="App.tk.eam.ssl"&amp;gt;
   &amp;lt;level value="TRACE" /&amp;gt;
&amp;lt;/logger&amp;gt;
&amp;lt;logger name="App.tk.eam.ssl.Buffer"&amp;gt;
   &amp;lt;level value="TRACE" /&amp;gt;
&amp;lt;/logger&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 24 Oct 2017 15:14:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/406976#M10849</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2017-10-24T15:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: CLI error connecting to SQL Server</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/406979#M10850</link>
      <description>Are these not maybe long running jobs and then then the firewall closes the connection ?&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Oct 2017 15:33:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/406979#M10850</guid>
      <dc:creator>nhvdwalt</dc:creator>
      <dc:date>2017-10-24T15:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: CLI error connecting to SQL Server</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/406986#M10851</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&amp;nbsp; I am fairly (really)&amp;nbsp;new to SAS.&amp;nbsp; I have not yet had the opportunity to use loggers...so, this is new to me.&amp;nbsp; Can you give me some details on where this goes and where the info will be logged to?&amp;nbsp; Also, once this is added to the correct location, does anything need to be restarted or will it automatically pick these setting up?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ricky&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 15:53:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/406986#M10851</guid>
      <dc:creator>rgreen33</dc:creator>
      <dc:date>2017-10-24T15:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: CLI error connecting to SQL Server</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/406987#M10852</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/145980"&gt;@nhvdwalt&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the reply.&amp;nbsp; No, they are very short running jobs...some loading less than 1,000 rows of data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ricky&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 15:54:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/406987#M10852</guid>
      <dc:creator>rgreen33</dc:creator>
      <dc:date>2017-10-24T15:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: CLI error connecting to SQL Server</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/406992#M10854</link>
      <description>Can the SQL DBAs maybe check in the SQL logs when the error occurs ?&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Oct 2017 16:05:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/406992#M10854</guid>
      <dc:creator>nhvdwalt</dc:creator>
      <dc:date>2017-10-24T16:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: CLI error connecting to SQL Server</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/406997#M10855</link>
      <description>Is there maybe an opportunity to temporarily disable SSL for testing ? Just trying to eliminate components.&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Oct 2017 16:26:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/406997#M10855</guid>
      <dc:creator>nhvdwalt</dc:creator>
      <dc:date>2017-10-24T16:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: CLI error connecting to SQL Server</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/407000#M10856</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/125413"&gt;@rgreen33&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you do not know how to set &lt;A href="http://go.documentation.sas.com/?docsetId=logug&amp;amp;docsetTarget=n1jpa3bwfyjlv9n1tmqo4wbnwhra.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;LOGCONFIGLOC&lt;/A&gt;, then just set them in your SAS program:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%log4sas();
%log4sas_logger("App.tk.eam.ssl","level=trace");
%log4sas_logger("App.tk.eam.ssl.Buffer","level=trace");&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 24 Oct 2017 16:33:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/407000#M10856</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2017-10-24T16:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: CLI error connecting to SQL Server</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/407038#M10859</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for your reply.&amp;nbsp; I added this code to my job, but it failed...messages stated that the levels could not be set.&amp;nbsp; So, going back to your original suggestion...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking at my server, I see that I have the LOGCONFIGLOC set in the following folders:&amp;nbsp; WorkspaceServer; StoredProcessServer; PooledWorkspaceServer; ConnectServer; and BatchServer.&amp;nbsp; I have enabled ACM and APM on my server, thus the sasv9_usermods.cfg file is pointing me to the logconfig.apm.xml file for the logconfigloc (within each folder).&amp;nbsp; Since these are scheduled jobs that are failing, I am assuming that I will need to add these loggers to the logconfig.apm.xml file within the BatchServer folder.&amp;nbsp; Is this correct?&amp;nbsp; If so, then I am also assuming that I will need to restart the BatchServer to get this change to take affect.&amp;nbsp; Is this correct?&amp;nbsp; If so, the only other question that I would have is where would this logging information show up?&amp;nbsp; Would it show up in the /BatchServer/PerfLogs folder, as this is indicated in the logconfig.apm.xml file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ricky&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 18:58:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/407038#M10859</guid>
      <dc:creator>rgreen33</dc:creator>
      <dc:date>2017-10-24T18:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: CLI error connecting to SQL Server</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/407198#M10867</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/125413"&gt;@rgreen33&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Since these are scheduled jobs that are failing, I am assuming that I will need to add these loggers to the logconfig.apm.xml file within the BatchServer folder. Is this correct? &lt;BR /&gt;If so, then I am also assuming that I will need to restart the BatchServer to get this change to take affect. Is this correct? &lt;BR /&gt;Would it show up in the /BatchServer/PerfLogs folder, as this is indicated in the logconfig.apm.xml file?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Those are correct assumptions.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 10:59:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/407198#M10867</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2017-10-25T10:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: CLI error connecting to SQL Server</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/410188#M11046</link>
      <description>&lt;P&gt;I am also having this problem. It just seems to randomly occur, although it happens more when I submit multiple proc and/or data steps or try to run an entire project. When the error occurs, the only way I have found to move on without it reoccurring in the same place in the log is to submit a quit statement a couple of times and then step through the code one procedure at a time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I look forward to solving this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did find this note: &lt;A href="http://support.sas.com/kb/58/054.html" target="_self"&gt;http://support.sas.com/kb/58/054.html &lt;/A&gt;. Could it be related?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2017 12:37:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/410188#M11046</guid>
      <dc:creator>jltz83</dc:creator>
      <dc:date>2017-11-03T12:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: CLI error connecting to SQL Server</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/413724#M11178</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/125413"&gt;@rgreen33&lt;/a&gt;, you can count my&amp;nbsp;shop as another one experiencing this same issue. It's spectacularly frustrating. Any luck on your end?&lt;BR /&gt;&lt;BR /&gt;Just to make sure it's not related to the query details, I ran a libname statement to SQL Server in a loop and I get an SSL handshake error about 2 or 3 times out of 100.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt;, I added the&amp;nbsp;loggers you mentioned above to the logconfig.trace.xml file for the workspace server and made that the default. Not quite sure what I'm looking for though as it appears the same to me other than the CLI SSL handshake error that's returned.&lt;BR /&gt;&lt;BR /&gt;Chris&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2017 16:23:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/413724#M11178</guid>
      <dc:creator>chawkins</dc:creator>
      <dc:date>2017-11-15T16:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: CLI error connecting to SQL Server</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/413769#M11179</link>
      <description>&lt;P&gt;What SAS product are you using to connect to SQL Server? Is it SAS/ACCESS to ODBC or some other product? I'm curious because we use&amp;nbsp;&lt;SPAN&gt;SAS/ACCESS to ODBC with the Microsoft ODBC drivers SAS SQL Server or&amp;nbsp;SQL Server Native Client 11.0 and have pretty much 100% reliability. If there are connection problems they are not intermittent type described.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2017 18:37:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/413769#M11179</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2017-11-15T18:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: CLI error connecting to SQL Server</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/413773#M11180</link>
      <description>&lt;P&gt;It's SAS/ACCESS to Microsoft SQL Server on Linux through the packaged Data Direct Driver (7.1.5). It wouldn't surprise me if it has something to do with the SSL library included, but we've yet to walk it down. I'm meeting with one of our server admins this afternoon, so hopefully we can narrow down the possibilities.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2017 18:55:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/413773#M11180</guid>
      <dc:creator>chawkins</dc:creator>
      <dc:date>2017-11-15T18:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: CLI error connecting to SQL Server</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/414356#M11234</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/40772"&gt;@chawkins&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can I see the log?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2017 13:04:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/414356#M11234</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2017-11-17T13:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: CLI error connecting to SQL Server</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/414482#M11249</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt;&amp;nbsp;I've attached the workspace server log, but let me tell you what we found first, as it might be more useful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm swimming in waters that are a bit above my head, but here are two things we discovered:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Despite this being our odbc stanza, with cryptoprotocolversion set to start at TLS 1.2:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Description=Test Server for SSL issue&lt;BR /&gt;Driver=/usr/local/sas/SASHome/AccessClients/9.4/SQLServer/lib/S0sqls27.so&lt;BR /&gt;Server=rocky1.tnc.org,1633&lt;BR /&gt;Database=test&lt;BR /&gt;Schema=dbo&lt;BR /&gt;Trusted_Connection=Yes&lt;BR /&gt;AuthenticationMethod=10&lt;BR /&gt;EnableBulkLoad=1&lt;BR /&gt;BulkLoadBatchSize=3000&lt;BR /&gt;EnableQuotedIdentifiers=1&lt;BR /&gt;EncryptionMethod=1&lt;BR /&gt;ValidateServerCertificate=0&lt;BR /&gt;CryptoProtocolVersion=TLSv1.2,TLSv1.1,TLSv1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The driver is reaching out using TLS 1.0. I don't know if that's because 7.1.5 doesn't support 1.1 or 1.2 or because there's a configuration problem somewhere.&lt;BR /&gt;&lt;BR /&gt;2) There are cyphers missing on the driver side that exist on the SQL Server side, specifically the elliptical curve cyphers. When we removed these cyphers from the windows side the problem disappeared I ran a loop that ran the libname statement 10,000 times and we got no SSL handshake errors.&lt;BR /&gt;&lt;BR /&gt;Our server admins don't want to continue to have those cyphers disabled, because those are the stronger cyphers. And what they'd really like is to disable TLS 1.0 all together and have 1.1 be the lowest standard, but obviously that would be a problem if the packaged driver we have can't handle 1.1. I tried isolating the cryptoprotocol version to 1.2 and 1.1 and we get errors across the board.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any advice?&lt;BR /&gt;&lt;BR /&gt;Chris&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2017 17:35:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/414482#M11249</guid>
      <dc:creator>chawkins</dc:creator>
      <dc:date>2017-11-17T17:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: CLI error connecting to SQL Server</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/414487#M11250</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/40772"&gt;@chawkins&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the log but I do not see any output from App.tk.eam.ssl. Anyway, when the SSL handshake is performed, a lack of entropy might exist, causing the handshake to be delayed. That delay, in turn, causes that error. Please try setting this in the odbc.ini:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;SeedBeforeConnect=1&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Also, based on our previous experience, you can try to add these settings:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ConnectionRetryCount=2
ConnectionRetryDelay=2
QueryTimeout=-1&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 17 Nov 2017 18:00:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/414487#M11250</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2017-11-17T18:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: CLI error connecting to SQL Server</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/414536#M11254</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt;&amp;nbsp;- it's very possible that I turned on the loggers but didn't actually tell it to send the output anywhere because I update those .xml files once every never and I know next to nothing about the syntax.&lt;BR /&gt;&lt;BR /&gt;The SeedBeforeConnect option isn't a factor with our issue. Nor is the QueryTimeout because you never get far enough to submit a query. But that ConnectionRetryCount =2 does solve the immediate problem, so thank you very much. I've run my libname loop 100,000 times without a SSL Handshake error.&lt;BR /&gt;&lt;BR /&gt;Am I correct that the 7.1.5 driver for SQL Server doesn't support higher than TLS 1.0? And if so, do we know yet when a Data Direct driver that does will be packaged as the standard with SAS?&lt;BR /&gt;&lt;BR /&gt;Chris&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2017 21:01:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/414536#M11254</guid>
      <dc:creator>chawkins</dc:creator>
      <dc:date>2017-11-17T21:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: CLI error connecting to SQL Server</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/414579#M11257</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/40772"&gt;@chawkins&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are welcome! I'm glad that the problem has been resolved.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;Am I correct that the 7.1.5 driver for SQL Server doesn't support higher than TLS 1.0?&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;ODBC driver supports that out from the box, but not SQL. I suggest opening a track with our SAS/ACCESS team to see if there is a version of SQL driver that supports newer versions of TLS.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Nov 2017 02:58:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/414579#M11257</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2017-11-18T02:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: CLI error connecting to SQL Server</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/416392#M11332</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41748"&gt;@alexal&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you! Changing these settings in our odbc.ini file seems to have solved this for us, too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 13:57:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/CLI-error-connecting-to-SQL-Server/m-p/416392#M11332</guid>
      <dc:creator>jltz83</dc:creator>
      <dc:date>2017-11-27T13:57:18Z</dc:date>
    </item>
  </channel>
</rss>

