<?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: Data Gateway - Connector error gRPC server failed to initialize after 3 attempts (DirectAccess-5000) in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Data-Gateway-Connector-error-gRPC-server-failed-to-initialize/m-p/2546829#M15465</link>
    <description>&lt;P&gt;Hi Piotr&lt;BR /&gt;&lt;BR /&gt;Port&amp;nbsp;&lt;SPAN&gt;49152 is the port that&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mc-variable CommonComponents.DirectAccessGatewayShort variable"&gt;Direct Access Gateway&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;uses for inter-process communication. It is a default port.&amp;nbsp;&lt;BR /&gt;If the file connector is listening on that port, it isn't the default configuration. In (much) older versions, default ports may have differed, but in your case, most likely the File port value was set manually, as the communication port has been the same.&lt;BR /&gt;&lt;BR /&gt;The File Ports as listed on our Help:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;3045 (File Connector REST API)&lt;/LI&gt;
&lt;LI&gt;50300 (File Connector gRPC)&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Gateways/direct-access-gateway-setting-up.htm" target="_blank"&gt;https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Gateways/direct-access-gateway-setting-up.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As for the errors, set a unique value for the file connector&amp;nbsp; and the ODBC connector&lt;BR /&gt;5000 Errors are in the same category as 500 HTML errors, an unexpected condition, and not very well defined.&lt;BR /&gt;&lt;BR /&gt;For reference of our internal ports, here's the correct page:&lt;BR /&gt;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Gateways/direct-access-gateway-setting-up.htm" target="_blank"&gt;https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Gateways/direct-access-gateway-setting-up.htm&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Apr 2026 13:22:32 GMT</pubDate>
    <dc:creator>JanJorissen</dc:creator>
    <dc:date>2026-04-14T13:22:32Z</dc:date>
    <item>
      <title>Data Gateway - Connector error gRPC server failed to initialize after 3 attempts (DirectAccess-5000)</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Data-Gateway-Connector-error-gRPC-server-failed-to-initialize/m-p/2514828#M14813</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After the upgrade from Data Gateway 1.7.0 to 1.7.3 file connector or ODBC connector are not working any longer.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Connector process started but gRPC server failed to initialize after 3 attempts (DirectAccess-5000)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Environment:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Windows Server 2022 Standard&lt;/LI&gt;&lt;LI&gt;Microsoft .Net Runtime 8.0.11&lt;/LI&gt;&lt;LI&gt;Microsoft ASP.NET Core 8.0.11&lt;/LI&gt;&lt;LI&gt;Microsoft Visual C++ 2015-2022 Redistributable&lt;/LI&gt;&lt;LI&gt;Data Gateway 1.7.3&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Data Gateway status is Connected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For instance: using ODBC connector I can test connection and status is successful. I can then connect to SQL server find data base and table. I can even see the sample data and generate script. Everything seems to work unless I run the script. Then I get an errors:&lt;/P&gt;&lt;P&gt;&lt;U&gt;File connector&lt;/U&gt;&lt;BR /&gt;&lt;EM&gt;(Connector error: Unknown reason:. Connector process started but gRPC server failed to initialize after 3 attempts (DirectAccess-5000)&lt;/EM&gt;&lt;BR /&gt;&lt;U&gt;ODBC connector&lt;/U&gt;&lt;BR /&gt;&lt;EM&gt;Connector error: Unknown reason:. Connector process started but gRPC server failed to initialize after 3 attempts (DirectAccess-1500)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;In logs I can see:&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;[DEBUG] DAG - RequestId=NA ClientSessionId= ReloadId=NA AppId=NA Message=Testing connection to connector on port 49152, attempt 1 of 3. ODBC process (12408)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 8] [WARN ] DAG - RequestId=NA ClientSessionId= ReloadId=NA AppId=NA Message=ODBC connector process (12408) with worker process (22624) is not listening on Data Port: 49152 or Management Port: 49153, attempt 1 of 3&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 8] [DEBUG] DAG - RequestId=NA ClientSessionId= ReloadId=NA AppId=NA Message=Testing connection to connector on port 49152, attempt 2 of 3. ODBC process (12408)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 8] [WARN ] DAG - RequestId=NA ClientSessionId= ReloadId=NA AppId=NA Message=ODBC connector process (12408) with worker process (22624) is not listening on Data Port: 49152 or Management Port: 49153, attempt 2 of 3&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 8] [DEBUG] DAG - RequestId=NA ClientSessionId= ReloadId=NA AppId=NA Message=Testing connection to connector on port 49152, attempt 3 of 3. ODBC process (12408)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 8] [WARN ] DAG - RequestId=NA ClientSessionId= ReloadId=NA AppId=NA Message=ODBC connector process (12408) with worker process (22624) is not listening on Data Port: 49152 or Management Port: 49153, attempt 3 of 3&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 8] [WARN ] DAG - RequestId=NA ClientSessionId= ReloadId=NA AppId=NA Message=ODBC connector process (12408) with worker process (22624) failed readiness check, going to kill it...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;[ 8] [INFO ] DAG - RequestId=NA ClientSessionId= ReloadId=NA AppId=NA Message=An old instance of ODBC (12408 started 5 seconds ago) is running, going to kill it...&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Is it something related with the port?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why File connector and ODBC connector are listening on port 49152? I could not find this port in documentation...&lt;/P&gt;&lt;P&gt;Any ideas?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Piotr&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Apr 2025 12:39:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Data-Gateway-Connector-error-gRPC-server-failed-to-initialize/m-p/2514828#M14813</guid>
      <dc:creator>piotrek_w</dc:creator>
      <dc:date>2025-04-18T12:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: Data Gateway - Connector error gRPC server failed to initialize after 3 attempts (DirectAccess-5000)</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Data-Gateway-Connector-error-gRPC-server-failed-to-initialize/m-p/2546829#M15465</link>
      <description>&lt;P&gt;Hi Piotr&lt;BR /&gt;&lt;BR /&gt;Port&amp;nbsp;&lt;SPAN&gt;49152 is the port that&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mc-variable CommonComponents.DirectAccessGatewayShort variable"&gt;Direct Access Gateway&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;uses for inter-process communication. It is a default port.&amp;nbsp;&lt;BR /&gt;If the file connector is listening on that port, it isn't the default configuration. In (much) older versions, default ports may have differed, but in your case, most likely the File port value was set manually, as the communication port has been the same.&lt;BR /&gt;&lt;BR /&gt;The File Ports as listed on our Help:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;3045 (File Connector REST API)&lt;/LI&gt;
&lt;LI&gt;50300 (File Connector gRPC)&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Gateways/direct-access-gateway-setting-up.htm" target="_blank"&gt;https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Gateways/direct-access-gateway-setting-up.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As for the errors, set a unique value for the file connector&amp;nbsp; and the ODBC connector&lt;BR /&gt;5000 Errors are in the same category as 500 HTML errors, an unexpected condition, and not very well defined.&lt;BR /&gt;&lt;BR /&gt;For reference of our internal ports, here's the correct page:&lt;BR /&gt;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Gateways/direct-access-gateway-setting-up.htm" target="_blank"&gt;https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Gateways/direct-access-gateway-setting-up.htm&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2026 13:22:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Data-Gateway-Connector-error-gRPC-server-failed-to-initialize/m-p/2546829#M15465</guid>
      <dc:creator>JanJorissen</dc:creator>
      <dc:date>2026-04-14T13:22:32Z</dc:date>
    </item>
  </channel>
</rss>

