Git Product home page Git Product logo

Comments (6)

brocaar avatar brocaar commented on August 16, 2024

What are the minimum steps to reproduce this issue? Could you further explain what this means?

But after 2-3 message transfers connection with NODE RED server was lost again.

What does "message transfers" mean in this case?

from chirpstack-gateway-os.

stathisioannides avatar stathisioannides commented on August 16, 2024

-We are using a ST Nucleo WL55JC1 as an End Node and ChirpStack Gateway OS on a Raspberry Pi.

-We built the "Echo flow" example from the chirpstack Node-RED documentation.

-The End Node sends a LORAWAN message / 10sec and gateway echoes back the message.

-After 3-4 transactions Node-RED gives the message "server connection has been lost".

We downgrade to version 4.0 and the problem disappears.

from chirpstack-gateway-os.

brocaar avatar brocaar commented on August 16, 2024

Thanks, I'm able to reproduce the issue. For some reason, NodeJS is throwing a "Bus error" and terminates.

12 Dec 12:23:22 - [info] Starting flows
12 Dec 12:23:22 - [info] Started flows
12 Dec 12:23:22 - [info] [mqtt-broker:localhost] Connected to broker: mqtt://localhost:1883
Bus error

I'll investigate this further.

from chirpstack-gateway-os.

brocaar avatar brocaar commented on August 16, 2024

Quick update, I've tried various things:

  • Updating Node-RED
  • Updating node-red-contrib-chirpstack package
  • Different ways of packaging the above packages
  • Installing these packages by hand on the Pi

But this doesn't solve the issue. I'm now trying to update NodeJS to a later version (16.18.1) in the hope that this will resolve the issue 🤞

There have been several reports by other uses (non ChirpStack related), in which case it was either resolved by deleting the node_packages directory and npm install ... everything again or updating NodeJS.

from chirpstack-gateway-os.

brocaar avatar brocaar commented on August 16, 2024

Only updating NodeJS did result in the same issue. It looks like the issue was caused by a Yocto recipes update (which I needed because of a newer Rust version). I reverted this update and backported the updated Rust recipes. I no longer see this strange "Bus error" appearing. Tomorrow I'll tidy up all the changes. I expect to release an update in the next couple of days. Thanks again for reporting.

from chirpstack-gateway-os.

brocaar avatar brocaar commented on August 16, 2024

@stathisioannides the above commit fixes this issue.

from chirpstack-gateway-os.

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.