node-red / node-red/node-red-nodes

node-red-node-xmpp crash

Open
#876 17 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.1k
Forks
612
Avg merge
13h 57m
Merged PRs (30d)
3

Description

Which node are you reporting an issue on?

node-red-node-xmpp

What are the steps to reproduce?
  • configure everything
  • connect to a MUC room with xmpp in and xmpp out
  • shut down XMPP server
What happens?
  • node-red service crashes entirely, or
  • node-red service becomes unresponsive
What do you expect to happen?
  • have the XMPP clients try to reconnect every 10 seconds or so, and...
  • ...most importantly: dont let node-red crash!
Please tell us about your environment:
  • Node-RED version: latest (2.1.5)
  • Node.js version: 16.13.2
  • Platform/OS: Ubuntu Server 20.04
  • Browser: Firefox
  • XMPP plugin: latest

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with node-red-node-xmpp using an XMPP-in and XMPP-out connection to a MUC room, then shut down the XMPP server. Inspect the node implementation and its disconnect handling; done means Node-RED remains responsive and the XMPP clients retry the connection approximately every 10 seconds.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
backend, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.