Skip to content
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

GitLab trigger creates webhook on launch even when not needed #10621

Open
lweinhard opened this issue Aug 30, 2024 · 1 comment
Open

GitLab trigger creates webhook on launch even when not needed #10621

lweinhard opened this issue Aug 30, 2024 · 1 comment
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@lweinhard
Copy link

Bug Description

I made a workflow that reacts to merge request changes for multiple projects and it turns out that we had to restart the machine n8n was hosted on. By doing so, we noticed that each time n8n restarted, it would create another webhook instead of using the existing one. This resulted in n8n creating multiple webhooks and therefore reacting to the same event multiple times.

Once n8n is botted and I'm enabling and disabling the workflow back and forth, the webhook gets correctly created and removed.

This behavior only happens on startup.

To Reproduce

  1. Shutdown n8n
  2. Launch n8n
  3. Monitor webhooks on a given project through Settings > Webhooks

Expected behavior

It should not create a new webhook and re-use existing ones.

Operating System

Linux 5.10.218-208.862.amzn2.x86_64

n8n Version

1.55.3

Node.js Version

Node v20.15.0

Database

SQLite (default)

Execution mode

main (default)

@Joffcom
Copy link
Member

Joffcom commented Aug 30, 2024

Hey @lweinhard,

We have created an internal ticket to look into this which we will be tracking as "GHC-196"

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review
Projects
None yet
Development

No branches or pull requests

2 participants