Git Product home page Git Product logo

Comments (4)

annatisch avatar annatisch commented on June 12, 2024

Good catch - I will take a look! Thanks for the report :)

from azure-uamqp-python.

annatisch avatar annatisch commented on June 12, 2024

Hi @zach-b - I've just run some tests against a ServiceBus queue and I'm not seeing this error.
What kind of SB entity are you receiving from? What is the message ttl for this entity configured to?

It's likely that we're raising a ValueError instead of just returning None when the header doesn't have the ttl value set - though I'm unsure why SB wouldn't be setting this value on the header.

from azure-uamqp-python.

zach-b avatar zach-b commented on June 12, 2024

Hi annatisch, I checked the ttl and turns out I left it to the default when creating a queue through the REST interface, which is actually huge (see https://docs.microsoft.com/en-us/rest/api/servicebus/queues/createorupdate): a bit more than 10675199 days.
Setting it to a more reasonable value made the bug go away.

It seems that the bug occurs when the ttl is too high

from azure-uamqp-python.

annatisch avatar annatisch commented on June 12, 2024

Fix published in v0.1.1 :)

from azure-uamqp-python.

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.