Skip to content

Webhooks don't allow HTTPS scheme to be set in input field so axios defaults to 127.0.0.1:80 #12303

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
tikimo opened this issue May 27, 2025 · 1 comment

Comments

@tikimo
Copy link

tikimo commented May 27, 2025

Bug Description

Can not add webhooks with HTTPS (or any) protocol scheme, and since the URL is used as-is, axios will deafult to 127.0.0.1:80 – webhooks fail.

Image

Example:

Set webhook without scheme, e.g. webhook.site/f6d5c2f8-cb6f-4865-9ed7-a5e1b3bedd63

Image

docker logs twenty-crm_worker_1 produces the following:

[Nest] 34 - 05/27/2025, 7:14:53 AM ERROR [CallWebhookJob] Error calling webhook on targetUrl 'webhook.site/f6d5c2f8-cb6f-4865-9ed7-a5e1b3bedd63': Error: connect ECONNREFUSED 127.0.0.1:80

Expected behavior

Allow user to set the HTTPS scheme or auto-apply it so that axios would not default to 127.0.0.1:80 and would use the actual webhook URL

@tikimo
Copy link
Author

tikimo commented May 27, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🔖 Planned
Development

No branches or pull requests

1 participant