sammachin / node-red-contrib-ngrok

ngrok node for node-red
MIT License
7 stars 10 forks source link

Agent not closing #46

Open grawsom opened 6 months ago

grawsom commented 6 months ago

@sammachin Using latest ver. on Win11 and Raspberry Pi 3+ (NR 3.0.2)

Running Ngrok free version If just taking the example (btw. should be updated), and opening/closing the tunnel, if you then do it on the next device you get an error. Worked fine on previous version. It seems like when doing "off", you only close the tunnel, and not the agent.

image

Connect error: failed to connect session: Your account is limited to 1 simultaneous ngrok agent sessions. You can run multiple tunnels on a single agent session using a configuration file. To learn more, see https://ngrok.com/docs/secure-tunnels/ngrok-agent/reference/config/ You can view your current agent sessions in the dashboard: https://dashboard.ngrok.com/tunnels/agents error_code: ERR_NGROK_108

vibraHome commented 3 months ago

Same here. Any news?

sammachin commented 3 months ago

@grawsom Sorry I missed the notification for this issue,

I can reproduce, taking a look at it now

sammachin commented 3 months ago

Seems to be a bug in the ngrok-javascript, waiting on a response on https://github.com/ngrok/ngrok-javascript/issues/148