Ngrok node doesn't work : no return message

Hello
I try to use ngrok node.
But it doesn't work.
here is my code :slight_smile:
[{"id":"80ffda43.b67d08","type":"ngrok","z":"15f53d11.3e2703","port":"https://localhost:8081","creds":"f1427d00.42191","region":"us","subdomain":"","name":"","x":313.9125061035156,"y":356.5562210083008,"wires":[["c9d0a002.c1c4a"]]},{"id":"78b24a22.196dc4","type":"inject","z":"15f53d11.3e2703","name":"","topic":"","payload":"on","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":144.0187530517578,"y":357.0249938964844,"wires":[["80ffda43.b67d08"]]},{"id":"c9d0a002.c1c4a","type":"debug","z":"15f53d11.3e2703","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":438.5124816894531,"y":354.38123321533203,"wires":[]},{"id":"f1427d00.42191","type":"ngrokauth","z":"","authtoken":"6yYhu28UWjfEbuM8Lh9e3_5MTFUEJa7ji1eaLkwVasw"}]
Of course, the auth token is correct, I copied it from the ngrok site.
When I inject 'on' on this node, I get nothing back in the output of the ngrok node.
And I have no error.
so what? What can I do?

I could recommend:

1- Try to instantiate ngrok directly from your terminal (therefore not using Node-RED) to see if it works
2- ngrok will check the configuration file below to create the tunneling. Check if the file looks good:

~/.ngrok2/ngrok.yml

3- Try changing the config in your ngrok node by configuring only the port number instead of https://localhost:8081

Hello

Thé command work fine when they are launched in the terminal. But not when they are launched with the same syntax from the node exec.

Envoyé de mon iPhone

Now I found the reason of the different behavior.
In the command line, I was logged as admin
But node-red is running as root.
So, the auth mechanism was not correctly done.
Now, I do everything as root, and it works fine.