Giter VIP home page Giter VIP logo

Comments (6)

devlie avatar devlie commented on July 30, 2024

Hi @sourabhkrishna

  1. How short do you need the URL to be?
  2. Where is the restriction coming from? Is it from JSON parsing, or is it from the HTTP stack itself that it cannot download from any URL > x chars?

We're wondering if providing a shorter URL that HTTP 302 Redirect to the longer URL might solve your problem. Thanks.

from iot-hub-device-update.

sourabhkrishna avatar sourabhkrishna commented on July 30, 2024

@devlie ya currently this seems to be limitation from our legacy firmware end. They cant accept length of url more than 100 chars.

Will the HTTP 302 Redirect owned by the ADU Service ?

from iot-hub-device-update.

devlie avatar devlie commented on July 30, 2024

@sourabhkrishna we are still exploring our options right now. Note that HTTP 302 will still redirect to a long url through Location header. It sounds like that will not work for your scenario since your firmware just can't download from >100 chars url?

from iot-hub-device-update.

sourabhkrishna avatar sourabhkrishna commented on July 30, 2024

@devlie Yup. the 100 chars limitation is due to memory allocations.

from iot-hub-device-update.

sourabhkrishna avatar sourabhkrishna commented on July 30, 2024

How can we enable https for these fileurls?

from iot-hub-device-update.

eshashah-msft avatar eshashah-msft commented on July 30, 2024

Hi @sourabhkrishna, we are tracking this request in our backlog but do not have an ETA as we have other feature work that is prioritized higher

from iot-hub-device-update.

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.