Skip to content

Provide logging and status checking on WorkerDispatcher._subprocess #1160

Open

Description

@olliesilvester

i04 was recently seeing a 504 gateway timeout when triggering BlueAPI from GDA. Following the stack of logs, it seems like BlueAPI was hanging after successfully receiving a POST request (for submitting a task).

The most likely cause of this hanging appears to be an issue with Blueapi's WorkerDispatcher._subprocess. However, there is currently no way to get information about its status. It would be useful to add a way to get the status of this subprocess (maybe a heartbeat?), as well as some logging

Acceptance Criteria

  • Logging statements added for this subprocess, as well as a way to get its status

Activity

  1. changed the title [-]Providing logging and status checking on WorkerDispatcher._subprocess[/-] [+]Provide logging and status checking on WorkerDispatcher._subprocess[/+] on Aug 11, 2025
  2. callumforrester commented on Aug 13, 2025

    @callumforrester
    Contributor

    I presume the 504 happened because the main process tried to contact the subprocess and found it was in a bad state, so do we just need to improve the error message when that happens?

  3. olliesilvester commented on Aug 13, 2025

    @olliesilvester
    ContributorAuthor

    It's hard to tell exactly what happened, but yes likely something like this. We only saw that BlueAPI got the request, but never completed it.

    Ideally the pod would automatically restart if it finds itself in this bad state

  4. added
    needs confirmation
    monitoring
    bug
    on Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugmonitoringneeds confirmation

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions