Code Monkey home page Code Monkey logo

Comments (4)

samng6 avatar samng6 commented on August 9, 2024 1

Thanks for your answer. Does it mean that the node session will be expired after 5 days of inactivity?

from chirpstack-application-server.

brocaar avatar brocaar commented on August 9, 2024

Hi @samng6 it is a bit hard to make any conclusions based on this information.

Note that there are two components:

  • LoRa Server: stores node-sessions in Redis (which will eventually expire)
  • LoRa App Server: stores node config in PostgreSQL (which will never expire)

LoRa App Server stores NwkSKey and AppSKey in PostgreSQL, but this does not mean the session is still active, as it might already be expired (in LoRa Server).

from chirpstack-application-server.

samng6 avatar samng6 commented on August 9, 2024

Just to be sure, does this mean that it is expected behavior for all ABP sessions to eventually expire? If this is the case, is only OTAA considered to be usable long-term?

from chirpstack-application-server.

brocaar avatar brocaar commented on August 9, 2024

Currently yes (note that the TTL is reset after each activity), see also: brocaar/chirpstack-network-server#100. I think there is room for improvement here, but currently this is still todo (the vars are defined here https://github.com/brocaar/loraserver/blob/master/internal/common/vars.go#L16).

from chirpstack-application-server.

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.