Issue on my node red on raspberry

dear all,

since 2 days, I have an issue with my not red, all was working fine before but now I fixed to an issue and I need your help :stuck_out_tongue:
In copy the log and error I have:

To find more nodes and example flows - go to
Starting as a systemd service.
9 Oct 17:32:24 - [info]
Welcome to Node-RED
9 Oct 17:32:24 - [info] Node-RED version: v1.0.1
9 Oct 17:32:24 - [info] Node.js  version: v10.16.3
9 Oct 17:32:24 - [info] Linux 4.19.57-v7+ arm LE
9 Oct 17:32:27 - [info] Loading palette nodes
9 Oct 17:32:36 - [info] Dashboard version 2.16.2 started at /ui
9 Oct 17:32:37 - [info] Settings file  : /home/pi/.node-red/settings.js
9 Oct 17:32:37 - [info] Context store  : 'default' [module=memory]
9 Oct 17:32:37 - [info] User directory : /home/pi/.node-red
9 Oct 17:32:37 - [warn] Projects disabled : editorTheme.projects.enabled=false
9 Oct 17:32:37 - [info] Flows file     : /home/pi/.node-red/flows_raspberrypi.json
9 Oct 17:32:37 - [warn]
Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
9 Oct 17:32:37 - [info] Starting flows
9 Oct 17:32:37 - [info] [blynk-ws-client:temperature] LOG PINS []
9 Oct 17:32:37 - [info] [blynk-ws-client:temperature] Start connection: ws://
9 Oct 17:32:37 - [info] [blynk-ws-client:25b385e5.f5f19a] LOG PINS []
9 Oct 17:32:37 - [info] [blynk-ws-client:25b385e5.f5f19a] Start connection: ws://
9 Oct 17:32:37 - [info] Started flows
9 Oct 17:32:37 - [info] Server now running at
9 Oct 17:32:37 - [info] [blynk-ws-client:temperature] Client logged
9 Oct 17:32:37 - [info] [blynk-ws-client:25b385e5.f5f19a] Client logged
9 Oct 17:32:38 - [info] [ttn app:c3c68d.72b1597] Connected to TTN application esp32-ttgo
9 Oct 17:32:43 - [red] Uncaught Exception:
9 Oct 17:32:43 - Error: Connection refused: Not authorized
    at MqttClient._handleConnack (/home/pi/.node-red/node_modules/mqtt/lib/client.js:920:15)
    at MqttClient._handlePacket (/home/pi/.node-red/node_modules/mqtt/lib/client.js:350:12)
    at work (/home/pi/.node-red/node_modules/mqtt/lib/client.js:292:12)
    at Writable.writable._write (/home/pi/.node-red/node_modules/mqtt/lib/client.js:302:5)
    at doWrite (/home/pi/.node-red/node_modules/readable-stream/lib/_stream_writable.js:428:64)
    at writeOrBuffer (/home/pi/.node-red/node_modules/readable-stream/lib/_stream_writable.js:417:5)
    at Writable.write (/home/pi/.node-red/node_modules/readable-stream/lib/_stream_writable.js:334:11)
    at Socket.ondata (_stream_readable.js:709:20)
    at Socket.emit (events.js:198:13)
    at addChunk (_stream_readable.js:288:12)
    at readableAddChunk (_stream_readable.js:269:11)
    at Socket.Readable.push (_stream_readable.js:224:10)
    at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)
nodered.service: Main process exited, code=exited, status=1/FAILURE
nodered.service: Failed with result 'exit-code'.
nodered.service: Service RestartSec=100ms expired, scheduling restart.
nodered.service: Scheduled restart job, restart counter is at 1.
Stopped Node-RED graphical event wiring tool.
Started Node-RED graphical event wiring tool.

You can start node-RED with the —safe option which loads your flows but doesn’t start running them. This should allow you to fix the issue if you have misconfigured the node.

It’s a node that uses MQTT.

Connection refused: Not authorized

Is this the standard MQTT nodes or the TTN node?
If it is the TTN node You should open an issue on the nodes github page as the node should handle this.

Thank you very much for your answer, I will look how to start node red in safe node.
Yes it's TTN node

But please open an issue against the node so that the authors hopefully fix it

sorry i'm new and i'm discovering node red. Ok I will open an issue on node github. I need to find also where it is :slight_smile:

Find the node on

There should be a link on the right hand side to the nodes github page

When you are there there should be a tab labelled Issues where you can create a new one.

Cut and paste the log message that you pasted here along with an explanation of what you were doing

Many many thanks for your help :slight_smile: