<?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>article Qlik MongoDB Connector: socket error or timeout upon loading a large dataset in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-MongoDB-Connector-socket-error-or-timeout-upon-loading-a/ta-p/1869577</link>
    <description>&lt;P&gt;When loading a large dataset via Qlik MongoDB connector, the following error occurs, and the data load fails:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Error: ERROR [HY000] [Qlik][MongoDBODBC] (110) Error from MongoDB Client: Failed to send "find" command with database "database_name": Failed to read 4 bytes: socket error or timeout (Error Code: 4)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Reducing the data volume eliminates the issue, which may be an alternate workaround.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;Environment&lt;/H4&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Qlik ODBC connector package using MongoDB connector&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Resolution&lt;/H3&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Specify the Socket Timeout value in the Advanced section of the connector&amp;nbsp; configuration:&lt;/P&gt;
&lt;P&gt;Name: SocketTimeoutMS&lt;/P&gt;
&lt;P&gt;Value:&amp;nbsp;&lt;SPAN&gt;1200000 (in milliseconds/20 minutes)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ayaka_Hanazono_0-1639381940745.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/68446i1F859125E25319E3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ayaka_Hanazono_0-1639381940745.png" alt="Ayaka_Hanazono_0-1639381940745.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;The image is retrieved from Qlik Cloud.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Cause&lt;/H3&gt;
&lt;P&gt;The default value of SocketTimeout for the connector is -1.&lt;/P&gt;
&lt;P&gt;However, if the connector doesn't set a specific timeout value, the mongo-c-driver library the Simba MongoDB&lt;BR /&gt;ODBC Connector uses as a third-party dependency would determine a behavior.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 May 2022 17:34:28 GMT</pubDate>
    <dc:creator>Ayaka_Hanazono</dc:creator>
    <dc:date>2022-05-10T17:34:28Z</dc:date>
    <item>
      <title>Qlik MongoDB Connector: socket error or timeout upon loading a large dataset</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-MongoDB-Connector-socket-error-or-timeout-upon-loading-a/ta-p/1869577</link>
      <description>&lt;P&gt;When loading a large dataset via Qlik MongoDB connector, the following error occurs, and the data load fails:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Error: ERROR [HY000] [Qlik][MongoDBODBC] (110) Error from MongoDB Client: Failed to send "find" command with database "database_name": Failed to read 4 bytes: socket error or timeout (Error Code: 4)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Reducing the data volume eliminates the issue, which may be an alternate workaround.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;Environment&lt;/H4&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Qlik ODBC connector package using MongoDB connector&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Resolution&lt;/H3&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Specify the Socket Timeout value in the Advanced section of the connector&amp;nbsp; configuration:&lt;/P&gt;
&lt;P&gt;Name: SocketTimeoutMS&lt;/P&gt;
&lt;P&gt;Value:&amp;nbsp;&lt;SPAN&gt;1200000 (in milliseconds/20 minutes)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ayaka_Hanazono_0-1639381940745.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/68446i1F859125E25319E3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ayaka_Hanazono_0-1639381940745.png" alt="Ayaka_Hanazono_0-1639381940745.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;The image is retrieved from Qlik Cloud.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Cause&lt;/H3&gt;
&lt;P&gt;The default value of SocketTimeout for the connector is -1.&lt;/P&gt;
&lt;P&gt;However, if the connector doesn't set a specific timeout value, the mongo-c-driver library the Simba MongoDB&lt;BR /&gt;ODBC Connector uses as a third-party dependency would determine a behavior.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 17:34:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-MongoDB-Connector-socket-error-or-timeout-upon-loading-a/ta-p/1869577</guid>
      <dc:creator>Ayaka_Hanazono</dc:creator>
      <dc:date>2022-05-10T17:34:28Z</dc:date>
    </item>
  </channel>
</rss>

