<?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>Question Re: Does CONNECTION_AUTHENTICATION block in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/does-connection-authentication-block/qaa-p/13849719#M4880562</link>
    <description>&lt;P&gt;The output of sa_conn_info and sa_locks should help you to determine if locks or blocking are problematic.  This error occurs very early in the connection attempt and before that statement is executed - there is certainly something that is preventing the connection from completing in a way that the client does not timeout the attempt but it is unlikely blocking.&lt;/P&gt;</description>
    <pubDate>Thu, 10 Jan 2019 09:52:59 GMT</pubDate>
    <dc:creator>chris_keating</dc:creator>
    <dc:date>2019-01-10T09:52:59Z</dc:date>
    <item>
      <title>Does CONNECTION_AUTHENTICATION block</title>
      <link>https://community.sap.com/t5/technology-q-a/does-connection-authentication-block/qaq-p/13849718</link>
      <description>&lt;P&gt;I am using php (7.1 with php-7.1.0_sqlanywhere_nts.dll) to connect to a SQL Anywhere database running 17.08.4148 that requires authentication.
It mostly works correct, but at times i get Message: sasql_connect(): SQLAnywhere: -832 Connection error: Timeout occurred while waiting for connection response&lt;/P&gt;
&lt;P&gt;The connectionstring is DSN=Something and the ODBC is set up with SQL Anywhere 17 driver&lt;/P&gt;
&lt;P&gt;When I look at the last statement for all open connections when this happens I see lots of connections from this computer as 
set temporary option "CONNECTION_AUTHENTICATION" = 'Company=XXX;Application=YYY;Signature=ZZZ'&lt;/P&gt;
&lt;P&gt;This continues until the "blocked" connections times out. Then everything is working again.
Restarting IIS so the connection dies also fixes the problem.&lt;/P&gt;
&lt;P&gt;Question is are the statements blocking or are the last statement not reported correct?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 05:33:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/does-connection-authentication-block/qaq-p/13849718</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-01-08T05:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Does CONNECTION_AUTHENTICATION block</title>
      <link>https://community.sap.com/t5/technology-q-a/does-connection-authentication-block/qaa-p/13849719#M4880562</link>
      <description>&lt;P&gt;The output of sa_conn_info and sa_locks should help you to determine if locks or blocking are problematic.  This error occurs very early in the connection attempt and before that statement is executed - there is certainly something that is preventing the connection from completing in a way that the client does not timeout the attempt but it is unlikely blocking.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 09:52:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/does-connection-authentication-block/qaa-p/13849719#M4880562</guid>
      <dc:creator>chris_keating</dc:creator>
      <dc:date>2019-01-10T09:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: Does CONNECTION_AUTHENTICATION block</title>
      <link>https://community.sap.com/t5/technology-q-a/does-connection-authentication-block/qaa-p/13849720#M4880563</link>
      <description>&lt;P&gt;Do you use a user-defined login procedure?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 10:14:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/does-connection-authentication-block/qaa-p/13849720#M4880563</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2019-01-10T10:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Does CONNECTION_AUTHENTICATION block</title>
      <link>https://community.sap.com/t5/technology-q-a/does-connection-authentication-block/qaa-p/13849721#M4880564</link>
      <description>&lt;P&gt;I list the connections from this server doing this when it stops:
select nodeaddr, b.lastreqtime, LastStatement from sa_conn_info() b
join sa_conn_activity() c on b.number = c.number
where nodeAddr = 'X.X.X.X' AND reqtype&amp;lt;&amp;gt; 'CONNECT_POOL_CACHE'&lt;/P&gt;
&lt;P&gt;Last statement is then the set temporary option.&lt;/P&gt;
&lt;P&gt;What should i look at in sa_locks?&lt;/P&gt;
&lt;P&gt;When is LastStatement filled? Could it be that its the next statement that is blocking but it is not put in LastStatement yet?&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2019 09:17:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/does-connection-authentication-block/qaa-p/13849721#M4880564</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-01-11T09:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: Does CONNECTION_AUTHENTICATION block</title>
      <link>https://community.sap.com/t5/technology-q-a/does-connection-authentication-block/qaa-p/13849722#M4880565</link>
      <description>&lt;P&gt;No, its just normal dba connecting and no user defined code should run before i run the query&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2019 09:18:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/does-connection-authentication-block/qaa-p/13849722#M4880565</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-01-11T09:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Does CONNECTION_AUTHENTICATION block</title>
      <link>https://community.sap.com/t5/technology-q-a/does-connection-authentication-block/qaa-p/13849723#M4880566</link>
      <description>&lt;P&gt;A non-zero BlockedOn column of the sa_conn_info will be the connection id that is blocking. If you are not not see long lasting non-zero BlockOn for a specific connection, it suggests that there is no blocking occurring.  Otherwise, you can then investigate sa_locks to determine the nature of the locks that are causing the blocking.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2019 09:49:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/does-connection-authentication-block/qaa-p/13849723#M4880566</guid>
      <dc:creator>chris_keating</dc:creator>
      <dc:date>2019-01-11T09:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Does CONNECTION_AUTHENTICATION block</title>
      <link>https://community.sap.com/t5/technology-q-a/does-connection-authentication-block/qaa-p/13849724#M4880567</link>
      <description>&lt;P&gt;Perhaps getting communication debug information might help.  &lt;/P&gt;
&lt;P&gt;Add LOG=&amp;lt;filespec&amp;gt; to the connection string on the client and start the engine with -z -o &amp;lt;filespec&amp;gt; -or- execute sa_server_option('DebuggingInformation','yes') on a running server.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2019 10:26:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/does-connection-authentication-block/qaa-p/13849724#M4880567</guid>
      <dc:creator>chris_keating</dc:creator>
      <dc:date>2019-01-11T10:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: Does CONNECTION_AUTHENTICATION block</title>
      <link>https://community.sap.com/t5/technology-q-a/does-connection-authentication-block/qaa-p/13849725#M4880568</link>
      <description>&lt;P&gt;Just to clarify: I was relating to the &lt;A href="http://dcx.sap.com/index.html#sqla170/en/html/3bcbde926c5f1014a802e3b03215f7b8.html"&gt;login_procedure option&lt;/A&gt;, so in case that option is set, &lt;EM&gt;any&lt;/EM&gt; starting connection would be affected by that procedure...&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2019 10:51:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/does-connection-authentication-block/qaa-p/13849725#M4880568</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2019-01-11T10:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Does CONNECTION_AUTHENTICATION block</title>
      <link>https://community.sap.com/t5/technology-q-a/does-connection-authentication-block/qaa-p/13849726#M4880569</link>
      <description>&lt;P&gt;&amp;gt; Could it be that its the next statement that is blocking but it is not put in LastStatement yet?&lt;/P&gt;
&lt;P&gt;No, I have never seen that. Sometimes LastStatement is empty, but not wrong.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2019 11:59:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/does-connection-authentication-block/qaa-p/13849726#M4880569</guid>
      <dc:creator>Breck_Carter</dc:creator>
      <dc:date>2019-01-11T11:59:32Z</dc:date>
    </item>
  </channel>
</rss>

