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

Problem: Integration endpoint not triggering task template #2062

Open
spomata opened this issue May 27, 2024 · 3 comments
Open

Problem: Integration endpoint not triggering task template #2062

spomata opened this issue May 27, 2024 · 3 comments
Assignees

Comments

@spomata
Copy link

spomata commented May 27, 2024

Issue

I have set up a dummy integration endpoint for testing purposes without any authentication, which is supposed to trigger a task template.

Whenever I send a GET/POST request to such endpoint I receive a 204 - no content response code.

The logs mention an integration being triggered, however no task is started.
Any hint on how to further debug?

Impact

Web-Backend (APIs)

Installation method

Docker

Database

MySQL

Browser

No response

Semaphore Version

v2.9.109-e32ce6b-1716748351

Ansible Version

No response

Logs & errors

time="2024-05-27T18:30:24+02:00" level=info msg="1 integrations found for alias j4rsup0xwdq0122g"

Manual installation - system information

No response

Configuration

No response

Additional information

No response

@fiftin fiftin self-assigned this May 27, 2024
@it-jelletruyers
Copy link

Any update on this? We need this to run Tasks from another system.

@fiftin
Copy link
Collaborator

fiftin commented May 30, 2024

Hi @it-jelletruyers , @spomata it is not a bug, but not good UX. Fix change changed soon.

Currently you need specify Matcher for each Integration.

image

@spomata
Copy link
Author

spomata commented May 30, 2024

@fiftin I see. Indeed adding a matcher does the trick.

However, why not change also return codes apart from UX? e.g. rather than always returning 204, sending back an error code when the matcher is not specified would probably help the user understand what is going on.

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

No branches or pull requests

3 participants