HydraIssues

Hydrabody should start Sunshine immediately on startup if not already running
open bug Project: hydrabody Reporter: 20 May 2026 23:29

Description

When hydrabody starts (e.g. after a Windows task scheduler restart during an auto-update), it waits for the full health check cycle (~3 minutes) before detecting that Sunshine is missing and launching it. During this window, pairing requests from iPad heads time out because port 47984 is not open.

Root cause confirmed via issue #305 log: hydrabody v2.0.49 started at 00:49:11, Sunshine was not running, health check did not trigger a restart until 00:52:12 (~3 minutes later). iPad pairing attempts at ~15:50 local time timed out during this window.

Fix: on hydrabody startup, check immediately whether Sunshine is running (port 47990 responding). If not, launch it right away rather than waiting for the first health check failure.