Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-2662

Latest MongoDB Driver nuget package does not work on Azure Server 2019 Classic Cloud Service VM because only TLS 2.0 is enabled on these VMs

    • Type: Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Priority: Icon: Blocker - P1 Blocker - P1
    • None
    • Affects Version/s: 2.8.1
    • Component/s: Connectivity
    • Labels:
      None

      We have been unable to upgrade our Azure classic cloud services to Windows Server 2019 for a few months now.

      The matter is confusing because the same nuget package works fine on a regular Windows Server 2019 VM.

      Turns out that the OS Image of Windows Server 2019 used for Azure classic cloud services specifically turns OFF TLS 1.0 and 1.1, and only has 2.0 enabled.

      Once, we turned on support for the previous versions, we were able to get Mongo connectivity back and everything works.

      Now, we have a startup script which enables the older TLS versions on Windows Server 2019.

      Please support TLS 2.0 for customers so we can use it.

      This is .NET 4.8 on C# on Azure which is a Classic ASP.NET Web Api application.

        1. error-log-part.png
          error-log-part.png
          590 kB
        2. From Azure Support.png
          From Azure Support.png
          18 kB
        3. workaround-1.png
          workaround-1.png
          161 kB

            Assignee:
            vincent.kam@mongodb.com Vincent Kam (Inactive)
            Reporter:
            vdevappa@locusrobotics.com Vijay Devappa
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: