Coder Social home page Coder Social logo

Comments (8)

csuermann avatar csuermann commented on May 29, 2024

Hi @taberner,

I assume before the "connection quota exhausted" message appears, the device state toggles between "online" and "offline" a few times? If that's the case, there might be another zombie-connection trying to connect to the MQTT backend with the same credentials, which causes the first connection to be dropped. Try restarting your Node-RED instance or even your entire system.

Hope that helps!
Cornelius

from node-red-contrib-virtual-smart-home.

taberner avatar taberner commented on May 29, 2024

from node-red-contrib-virtual-smart-home.

csuermann avatar csuermann commented on May 29, 2024

Hi Tim,

Thanks for providing these information!

How much time passes between the disconnects? Do the disconnects happen relatively randomly or in a periodic fashion?

Just to eliminate another potential root-cause: The vsh-connection parameters are only used by your one and only Node-RED installation, correct? E.g. you have not backed it up and running elsewhere?

For further debugging you could try to study the MQTT logs which get dumped to stdout if you set this environment variable before starting Node-RED:

export DEBUG='mqttjs*'

from node-red-contrib-virtual-smart-home.

taberner avatar taberner commented on May 29, 2024

from node-red-contrib-virtual-smart-home.

taberner avatar taberner commented on May 29, 2024

from node-red-contrib-virtual-smart-home.

csuermann avatar csuermann commented on May 29, 2024

Hi Tim,

Yes, I believe clean is the default. Why do you think this might be related to the connection drops?

It looks like your connection does not drop due to a conflicting connection but rather because of general connectivity issues. If this happens too often you run into this quota message. Maybe the MQTT logs will point us into the right direction.

from node-red-contrib-virtual-smart-home.

csuermann avatar csuermann commented on May 29, 2024

Hi @taberner,

Have you been able to analyse this further?

Best Regard
C.

from node-red-contrib-virtual-smart-home.

taberner avatar taberner commented on May 29, 2024

from node-red-contrib-virtual-smart-home.

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.