GithubHelp home page GithubHelp logo

Comments (7)

tameraw avatar tameraw commented on June 9, 2024

@walkerlin-msft - We had not enabled X509 with FileUpload yet. It is in our backlog to enable it. We also welcome contributions to our repo if this interests you. You can find our contribution guideline here: https://github.com/Azure/azure-iot-sdk-csharp/blob/master/CONTRIBUTING.md

from azure-iot-sdk-csharp.

walkerlin-msft avatar walkerlin-msft commented on June 9, 2024

Got it and will keep tracking the updates.
Thanks a lot.

from azure-iot-sdk-csharp.

asergaz avatar asergaz commented on June 9, 2024

Hello @walkerlin-msft have a look at the commit Issue #60: enabling X509 support with FileUpload and test it. The changes will be added to the master branch soon. Thanks :)!

All Best.

from azure-iot-sdk-csharp.

walkerlin-msft avatar walkerlin-msft commented on June 9, 2024

Hi @sergaz-msft thanks for your updates. I've tested it successfully in my codes. I'm look forward to see the release update in the master branch.
Thanks a lot.

from azure-iot-sdk-csharp.

adamkjonesmesh avatar adamkjonesmesh commented on June 9, 2024

I am trying to upload a file to IoT hub using x.509 certs but am receiving an exception every time. The exception is "Object reference not set to the instance of an object". The inner exception is below:

StackTrace [string]:" at Microsoft.Azure.Devices.Client.IotHubConnectionString.Microsoft.Azure.Devices.Client.IAuthorizationProvider.GetPasswordAsync()\r\n at Microsoft.Azure.Devices.Client.Transport.HttpClientHelper.ExecuteAsync(HttpMethod httpMethod, Uri requestUri, Func3 modifyRequestMessageAsync, Func2 isSuccessful, Func3 processResponseMessageAsync, IDictionary2 errorMappingOverrides, CancellationToken cancellationToken)\r\n at Microsoft.Azure.Devices.Client.Transport.HttpClientHelper.PostAsync[T1,T2](Uri requestUri, T1 entity, IDictionary2 errorMappingOverrides, IDictionary2 customHeaders, CancellationToken cancellationToken)\r\n at Microsoft.Azure.Devices.Client.Transport.HttpTransportHandler.UploadToBlobAsync(String blobName, Stream source)"

I am using Microsoft.Azure.Devices.Client 1.7.2. Is file uploading using x.509 still not supported?

from azure-iot-sdk-csharp.

CIPop avatar CIPop commented on June 9, 2024

@adamkjonesmesh please open a separate GH issue.

from azure-iot-sdk-csharp.

adamkjonesmesh avatar adamkjonesmesh commented on June 9, 2024

Will do.

from azure-iot-sdk-csharp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.