Hello, everyone.
I have hosted N8N on VPS.
I tried to integrate telegram bot on my workflow but it doesn’t work.
Also webhook doesn’t work.
How can I solve it?
I need your help.
Thank you
Hi, maybe you can share a workflow as it would’ve easier to tell something useful
Reg
J.
Hi, so you can’t trigger any webhook you created even from an outside tool?
Do you put them in active / or test mode?
I would recommend trying them with an external tool and make sure you use the right parameters
Also: an actual workflow instead of a screenshot would be.better
Reg
J.
I have tested with postman.
It doesn’t work.
Do you have experience in self-hosted N8N?
Did you solve this problem?
Can you share some sample?
Hi, yes but I never has such issues. There is no sample to share since it should work out of the box except when you have more specific configs
Do you use a reverse proxy?
Did you set webhook_url?
Is there a firewall?
Reg,
J.
I have deployed N8N via Docker.
“https://n8n.smartjewelerdev.com:5678/webhook-test/6f8d08fe-7374-4b70-8e44-48148cd5ab20/webhook”
This is webhook url. And I can not active it.
When I try to active workflow, there is error.
Mind sharing the error? The /webhook in the end doesn’t seem right
Well yes this says it all
Either you do a reverse proxy which uses the correct port or you use a tunnel service like ngrok with a tunnel
In each case you need to set webhook_url. Accordingly
Most likely telegram / webhook complains about it
You mean set port number as 80, 88 or 443 when host N8N?
Well the end result is that yes. Not sure wether or not forcing n8n directly to port 80 is the answer
It’s up to you decide the setup
Long story short, your server needs to be accessible via the internet (routable via public IP, DNS preferably ans using a reasonable port).
If it is not, you need to use other mechanisms in front to make it so
How you do this is up to you
It’s not an n8n issue. Also any remote service will have its own requirements. Webhooks can work on any port. It’s just telegram nagging
.regards
J
Sorry.
I am not sure what you mean…
You mean when set VPS again?
Or when hosting N8N on vps, set something?
How, you need to set the webhook_url to the right thing (after you have decided on how your system will be accessed via http/Https on the correct port) But most of all you need to decide on a way to put your system available behind the correct
How you do that is your choice
This is not a personal attack or anything but why don’t you use the n8n cloud offering or somebody hosting it for you (imho the error give it away like directly)? Hosting also costs money in the end.
The cloud instances are setup correctly so you wouldn’t have these issues
Reg
J .