Skip to main content

Support

Troubleshooting Guide

Common Issues and Solutions

Flow Not Executing

bash


# Check flow status
GET /flows
# Common causes:
1. Node configuration errors
2. Missing dependencies
3. Runtime errors in function nodes
4. Context storage issues
# Debug steps:
1. Check debug panel
2. Review log files
3. Verify node connections
4. Test individual nodes

Performance Issues

bash

# Memory issues
- Increase heap size: NODE_OPTIONS="--max-old-space-size=4096"
- Review memory usage in debug panel
- Check for memory leaks in function nodes
# CPU issues
- Review function node complexity
- Check for infinite loops
- Optimize message processing

Connection Problems

bash
# Database connection issues
1. Verify connection parameters
2. Check network connectivity
3. Review authentication credentials
4. Test connection manually
# MQTT connection issues
1. Check broker availability
2. Verify client credentials
3. Review firewall settings
4. Test with MQTT client

Log Analysis

Error Log Patterns

bash
# Common error patterns
grep "ERROR" /var/log/node-red/node-red.log
grep "WARN" /var/log/node-red/node-red.log
grep "timeout" /var/log/node-red/node-red.log
# Flow deployment errors
grep "Deploy failed" /var/log/node-red/node-red.log
# Node errors
grep "node error" /var/log/node-red/node-red.log

Performance Analysis

bash


# Response time analysis
awk '/response time/ {print $4}' /var/log/node-red/node-red.log | sort -n
# Memory usage tracking
grep "memory usage" /var/log/node-red/node-red.log

Support Channels

Community Support

  1. Node-RED Forum: Node-RED Forum

  2. Stack Overflow: Tag questions with 'node-red'

  3. GitHub Issues: https://github.com/node-red/node-red/issuesConnect your Github account

  4. Reddit: r/nodered community

Documentation Resources

  1. Official Documentation: Documentation : Node-RED

  2. Node Library: Library - Node-RED

  3. Getting Started Guide: Getting Started : Node-RED

  4. API Documentation: API Reference : Node-RED