Парни, как исправить проблему с URL вебхука на телеграм тригере?

Describe the problem/error/question

пытался запустить телеграм тригер, пишет ошибку про вебхуки, как её иправить в душе не чаю

What is the error message (if any)?

Problem running workflow

Bad request - please check your parameters

Show Details

Telegram Trigger: Bad Request: bad webhook: An HTTPS URL must be provided for webhook

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:
1 Like

Hi @ZarzorpTheZorp Welcome!
I guess your n8n instance is missing webhook_url configuration, consider setting up webhook_url like ngrok or cloudflare and then restart your instance let us know.

окей, тогда подождите пару минут, установлю ngrok и попробую снова

1 Like

нет, не сработало, ngrok установлен из microsoft store, телеграм тригер не ратотает
Problem running workflow

Bad request - please check your parameters

Show Details

Telegram Trigger: Bad Request: bad webhook: An HTTPS URL must be provided for webhook

:frowning:

1 Like

@ZarzorpTheZorp installing Ngrok is not the case, you have to set it up for n8n, consider reading this:

You have to set it up as a webhook URL so that your local n8n instance is exposed to the internet.

оу…
ладно, похоже сегодня я тут надолго, ладно, сейчас прочитаю, посмотрим, спасибо про просвещаете

1 Like

Эта ошибка значит что Telegram требует HTTPS URL для вебхука, а у тебя скорее всего n8n запущен локально на http://localhost или без SSL. Тебе нужно либо использовать ngrok чтобы получить публичный HTTPS адрес (запусти ngrok http 5678 и потом в n8n поставь переменную WEBHOOK_URL на тот адрес что ngrok даст), либо настроить n8n за reverse proxy с SSL сертификатом. Если просто тестируешь локально то ngrok самый быстрый вариант.

Translated above text for english forum users

This error means Telegram requires an HTTPS URL for the webhook, and you’re likely running n8n locally on http://localhost or without SSL. You need to either use ngrok to get a public HTTPS address (run ngrok http 5678 and then set the WEBHOOK_URL variable in n8n to the address ngrok provides), or configure n8n behind a reverse proxy with an SSL certificate. If you’re just testing locally, ngrok is the fastest option.

Hope this helps!