semaphore icon indicating copy to clipboard operation
semaphore copied to clipboard

Problem: Integration endpoint not triggering task template

Open spomata opened this issue 1 year ago • 3 comments

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

spomata avatar May 27 '24 16:05 spomata

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

it-jelletruyers avatar May 29 '24 14:05 it-jelletruyers

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

fiftin avatar May 30 '24 10:05 fiftin

@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.

spomata avatar May 30 '24 16:05 spomata