I’m currently facing the issue of not knowing any alternative to tunneling to provide internet access to my local machine. I’m trying this because I want to use Telegram to create a chatbot that’s running with Ollama.
Everything works when I test it with 'npx start n8n --tunnel', and I’m able to receive messages from my Telegram bot and send a reply to the account that messaged the bot. However, when I set the workflow to active, it works once and then stops responding.
Is there an easy-to-understand way to connect to Telegram or an alternative to tunneling?
More Info: I don’t have much experience with terminal usage or Node.js (which, by the way, I used with npx to install n8n locally on my Mac M1). So, I’m very new to this and would really appreciate any help.
I also speak german if thats easier for people to communicate.
Once you have made the activated the workflow are you trying to also test it? I would avoid our tunnel if possible as we plan to remove it, Something like ngrok or Cloudflared would be a better option unless you already know how to do port forwarding and configure DNS for your own domain.
I’d recommend setting up a cloudflare tunnel instead.
You could either run cloudflared tunnel --url http://localhost:5678 to get a random tunnel domain, and then set it as your WEBHOOK_URL env variable for n8n.
Or, of you own a domain, and manage the DNS records for it on cloudflare, you can also create your own n8n subdomain, and use that for the tunnel instead.