Azure / azure-kusto-samples-dotnet

Azure Data Explorer (ADX) sample code
MIT License
54 stars 41 forks source link

Upgrading packages causing kusto ingestion issues #21

Closed vijilvpillai closed 1 year ago

vijilvpillai commented 2 years ago

After upgrading the packages Microsoft.Azure.Kusto.Data and Microsoft.Azure.Kusto.Ingest from 10.0.3 to 10.1 version. Facing a strange issue in my azure function ` net6.0

v4` Error is as below Kusto client failed to send a request to the service: 'An unknown, invalid, or unsupported option or level was specified in a getsockopt or setsockopt call.'. Error details: DataSource='[https://ingest-kustourl/v1/rest/mgmt'], DatabaseName='NetDefaultDB', The url is masked with some dummy value. I am using managed Identity for ingestion.
vijilvpillai commented 2 years ago

Packages I am using

`

  <PackageReference Include="Azure.Security.KeyVault.Secrets" Version="4.3.0" />
  <PackageReference Include="Azure.Storage.Blobs" Version="12.13.0" />
  <PackageReference Include="AzureFunctions.Extensions.DependencyInjection" Version="1.1.3" />
  <PackageReference Include="Microsoft.ApplicationInsights" Version="2.21.0" />
  <PackageReference Include="Microsoft.ApplicationInsights.WorkerService" Version="2.21.0" />
  <PackageReference Include="Microsoft.AspNetCore.DataProtection" Version="6.0.7" />
  <PackageReference Include="Microsoft.AspNetCore.DataProtection.Abstractions" Version="6.0.7" />
  <PackageReference Include="Microsoft.Azure.Functions.Extensions" Version="1.1.0" />
  <PackageReference Include="Microsoft.Azure.Kusto.Data" Version="10.1.0" />
  <PackageReference Include="Microsoft.Azure.Kusto.Ingest" Version="10.1.0" />
  <PackageReference Include="Microsoft.Azure.Management.Fluent" Version="1.38.1" />
  <PackageReference Include="Microsoft.Azure.Management.ResourceGraph" Version="2.1.0" />
  <PackageReference Include="Microsoft.Azure.Management.ResourceManager.Fluent" Version="1.38.1" />
  <PackageReference Include="Microsoft.Azure.Services.AppAuthentication" Version="1.6.2" />
  <PackageReference Include="Microsoft.Azure.WebJobs.Extensions.DurableTask" Version="2.7.2" />
  <PackageReference Include="Microsoft.Data.SqlClient" Version="5.0.0" />
  <PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.7" />
  <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.7" />
  <PackageReference Include="Microsoft.Identity.Web.MicrosoftGraphBeta" Version="1.25.1" />
  <PackageReference Include="Microsoft.NET.Sdk.Functions" Version="4.1.1" />
  <PackageReference Include="Newtonsoft.Json" Version="13.0.1" />`