<?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: Troubleshooting Connection Issues with Mongo DB using VNET Data Gateway in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Troubleshooting-Connection-Issues-with-Mongo-DB-using-VNET-Data/m-p/4923511#M14705</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/415601"&gt;@alfBI&lt;/a&gt;&amp;nbsp;have you checked your gateway server has network access to the Mongo DB port? Try running this over Powershell&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;!-- ScriptorStartFragment --&gt;Test-NetConnection &amp;lt;mongodb-dns-or-ip&amp;gt; -Port 27017&lt;!-- ScriptorEndFragment --&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Jan 2026 14:07:13 GMT</pubDate>
    <dc:creator>deborshi_nag</dc:creator>
    <dc:date>2026-01-22T14:07:13Z</dc:date>
    <item>
      <title>Troubleshooting Connection Issues with Mongo DB using VNET Data Gateway</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Troubleshooting-Connection-Issues-with-Mongo-DB-using-VNET-Data/m-p/4923311#M14700</link>
      <description>&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;Troubleshooting Connection Issues with Mongo DB using VNET Data Gateway&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Hi,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;We are trying to ingest data from a Mongo DB placed on an Azure Kubernetes container onto our Fabric Lakehouse. For that purpose we have created a VNET&amp;nbsp; Data Gateway following steps described on MS doc&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;A href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flearn.microsoft.com%2Fen-ie%2Fdata-integration%2Fvnet%2Fcreate-data-gateways%23step-1-register-microsoftpowerplatform-as-a-resource-provider&amp;amp;data=05%7C02%7CAlfons.Gonzalez%40f4e.europa.eu%7C7a44ac96a4974c39d31e08de58f67c6d%7C687a8c5c348a4796ab753246db849e8b%7C0%7C0%7C639046012924671883%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&amp;amp;sdata=Gu5xr7%2Fh0NqTZwyR%2Brg6conF47F67tGwDFbh1LZSUok%3D&amp;amp;reserved=0" target="_blank"&gt;Create virtual network (VNet) data gateways | Microsoft Learn&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Create virtual network (VNet) data gateways | Microsoft Learn&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;After that steps we have created the connection&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alfBI_0-1769075191719.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1322431i24FF4D89F33F75E3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alfBI_0-1769075191719.png" alt="alfBI_0-1769075191719.png" /&gt;&lt;/span&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;When we test connection following error does appear (IP adress has been masked)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alfBI_1-1769075208028.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1322432i0744B0E38658FA81/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alfBI_1-1769075208028.png" alt="alfBI_1-1769075208028.png" /&gt;&lt;/span&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;EndPoint: "XX.XXX.XX.XX:27017", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;"MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server. ---&amp;gt; System.IO.IOException: &lt;STRONG&gt;Authentication failed because the remote party has closed the transport stream&lt;/STRONG&gt;&lt;/EM&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the Mongo DB side following logs is shown&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ongodb-0 mongodb {"t":{"$date":"2026-01-22T09:10:36.211+00:00"},"s":"I", "c":"EXECUTOR", "id":22988,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;"ctx":"conn331060","msg":"Error receiving request from client. Ending connection from remote","attr":&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;{"error":{"code":141,"codeName":"SSLHandshakeFailed","errmsg":"&lt;STRONG&gt;SSL handshake received but server is started without SSL support"&lt;/STRONG&gt;},"remote":"XX.XXX.XX.XXX:19754","connectionId":331060}}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is clear that there is some issue related with the authentication/SSL but no idea hwo to handle that. Any idea about how to manage that issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2026 09:47:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Troubleshooting-Connection-Issues-with-Mongo-DB-using-VNET-Data/m-p/4923311#M14700</guid>
      <dc:creator>alfBI</dc:creator>
      <dc:date>2026-01-22T09:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: Troubleshooting Connection Issues with Mongo DB using VNET Data Gateway</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Troubleshooting-Connection-Issues-with-Mongo-DB-using-VNET-Data/m-p/4923511#M14705</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/415601"&gt;@alfBI&lt;/a&gt;&amp;nbsp;have you checked your gateway server has network access to the Mongo DB port? Try running this over Powershell&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;!-- ScriptorStartFragment --&gt;Test-NetConnection &amp;lt;mongodb-dns-or-ip&amp;gt; -Port 27017&lt;!-- ScriptorEndFragment --&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2026 14:07:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Troubleshooting-Connection-Issues-with-Mongo-DB-using-VNET-Data/m-p/4923511#M14705</guid>
      <dc:creator>deborshi_nag</dc:creator>
      <dc:date>2026-01-22T14:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Troubleshooting Connection Issues with Mongo DB using VNET Data Gateway</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Troubleshooting-Connection-Issues-with-Mongo-DB-using-VNET-Data/m-p/4923965#M14717</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/415601"&gt;@alfBI&lt;/a&gt;&amp;nbsp;, Thank you for reaching out to the Microsoft Community Forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From your errors, Fabric is able to reach your MongoDB (the connection arrives at MongoDB), but it is trying to open a TLS/SSL connection, while your MongoDB server is running without SSL enabled. MongoDB therefore closes the connection immediately during the handshake, before any authentication happens.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is not a firewall, DNS or credential problem. The failure happens at the transport layer, not at the login layer. Fabric’s VNET Data Gateway always uses secure (TLS) connections for MongoDB and does not support plain TCP connections. There is no setting in Fabric to disable SSL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You must either enable TLS on MongoDB or place MongoDB behind a TLS-terminating proxy. If MongoDB remains non-TLS, Fabric will never be able to connect.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jan 2026 05:16:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Troubleshooting-Connection-Issues-with-Mongo-DB-using-VNET-Data/m-p/4923965#M14717</guid>
      <dc:creator>v-hashadapu</dc:creator>
      <dc:date>2026-01-23T05:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Troubleshooting Connection Issues with Mongo DB using VNET Data Gateway</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Troubleshooting-Connection-Issues-with-Mongo-DB-using-VNET-Data/m-p/4924039#M14720</link>
      <description>&lt;P&gt;Good question, unfortunately it is not possible to execute this command from the Fabric VNet. Anyway we have checked that the problem comes from the fact that Mongo DB did not have TLS enabled (Fabric requires TLS 1.2)&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jan 2026 07:32:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Troubleshooting-Connection-Issues-with-Mongo-DB-using-VNET-Data/m-p/4924039#M14720</guid>
      <dc:creator>alfBI</dc:creator>
      <dc:date>2026-01-23T07:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Troubleshooting Connection Issues with Mongo DB using VNET Data Gateway</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Troubleshooting-Connection-Issues-with-Mongo-DB-using-VNET-Data/m-p/4927647#M14771</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/415601"&gt;@alfBI&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;SPAN data-teams="true"&gt;hope you are doing great. May we know if your issue is solved or if you are still experiencing difficulties. Please share the details as it will help the community, especially others with similar issues.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jan 2026 04:40:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Troubleshooting-Connection-Issues-with-Mongo-DB-using-VNET-Data/m-p/4927647#M14771</guid>
      <dc:creator>v-hashadapu</dc:creator>
      <dc:date>2026-01-27T04:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Troubleshooting Connection Issues with Mongo DB using VNET Data Gateway</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Troubleshooting-Connection-Issues-with-Mongo-DB-using-VNET-Data/m-p/4961461#M14877</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/415601"&gt;@alfBI&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;SPAN data-teams="true"&gt;Hope you're doing okay! May we know if it worked for you, or are you still experiencing difficulties? Let us know — your feedback can really help others in the same situation.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jan 2026 05:21:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Troubleshooting-Connection-Issues-with-Mongo-DB-using-VNET-Data/m-p/4961461#M14877</guid>
      <dc:creator>v-hashadapu</dc:creator>
      <dc:date>2026-01-30T05:21:42Z</dc:date>
    </item>
  </channel>
</rss>

