Skip to content

Problem: Runner does not return the response to the server #3897

@sickwell6988

Description

@sickwell6988

Issue

User has TLS enabled on both the SemaphoreUI server and runner
When executing a task template assigned to a runner, tasks hang indefinitely in the "Starting" state. The UI shows no error feedback, even when the task fails

Symptoms:
Task appears "started" in the UI execution popup
Runner logs confirm: "runner is connected" and "task is started and in queue"
No response received from runner - task hangs in "starting" state
UI does not display the runner failure, even when the task objectively fails (e.g., invalid playbook path)

Requirements
Fix task status "feedback" from runner to server (TLS context)
Verify webhooks work correctly with this TLS configuration

Impact

Docker, Ansible (task execution)

Installation method

Docker

Database

MySQL

Browser

No response

Semaphore Version

v2.17.26

Ansible Version

Logs & errors

The issue with parsing private key was resolved by re-creating the runner

[INFO][0041] Task removed from running list
[INFO][0041] Task enqueued
[INFO][0045] Task dequeued
[INFO][0045] Task started
[ERROR][0045] parsing private key: ssh: no key found
[INFO][0045] Task finished
[INFO][0046] Task removed from running list
[INFO][0046] Task enqueued
[INFO][0050] Task dequeued
[INFO][0050] Task started
[ERROR][0050] parsing private key: ssh: no key found
[INFO][0050] Task finished
[INFO][0051] Task removed from running list
[INFO][0051] Task enqueued
[INFO][0055] Task dequeued
[INFO][0055] Task started
[ERROR][0055] parsing private key: ssh: no key found
[INFO][0055] Task finished
[INFO][0056] Task removed from running list
[INFO][0056] Task enqueued
[INFO][0060] Task dequeued
[INFO][0060] Task started
[ERROR][0060] parsing private key: ssh: no key found
[INFO][0060] Task finished
[INFO][0061] Task removed from running list
[INFO][0061] Task enqueued
[INFO][0065] Task dequeued
[INFO][0065] Task started
[ERROR][0065] parsing private key: ssh: no key found
[INFO][0065] Task finished
[INFO][0066] Task removed from running list
[INFO][0066] Task enqueued
[INFO][0070] Task dequeued
[INFO][0070] Task started
[ERROR][0070] parsing private key: ssh: no key found
[INFO][0070] Task finished
[INFO][0071] Task removed from running list
[INFO][0071] Task enqueued
[INFO][0075] Task dequeued
[INFO][0075] Task started
[ERROR][0075] parsing private key: ssh: no key found
[INFO][0075] Task finished
[INFO][0076] Task removed from running list
[INFO][0076] Task enqueued
[INFO][0080] Task dequeued
[INFO][0080] Task started
[ERROR][0080] parsing private key: ssh: no key found
[INFO][0080] Task finished
[INFO][0081] Task removed from running list
[INFO][0081] Task enqueued

Manual installation - system information

No response

Configuration

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions