Skip to content

fix(omlx_app): health checks and local URLs honor bind host#878

Open
DKev wants to merge 1 commit intojundot:mainfrom
DKev:main
Open

fix(omlx_app): health checks and local URLs honor bind host#878
DKev wants to merge 1 commit intojundot:mainfrom
DKev:main

Conversation

@DKev
Copy link
Copy Markdown

@DKev DKev commented Apr 21, 2026

Problem: With a custom bind address (only listening on a non-loopback IP), the app always hit http://127.0.0.1:{port}, so health never succeeded and startup looked hung; port/TCP checks could also misbehave.
Change: Read server.host from {base_path}/settings.json and use it to build local health/base URLs; treat "" / 0.0.0.0 / :: as loopback for local probes; bracket IPv6 in URLs; align admin dashboard/stats/API key update URLs and TCP probe targets.
Tests: Added coverage for URL resolution and custom-bind health/API URLs in tests/test_omlx_app.py.

@DKev
Copy link
Copy Markdown
Author

DKev commented Apr 26, 2026

Fixes #963

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant