Skip to content

Conversation

@oleksandr-nc
Copy link
Contributor

Always resolve the shared key before anything starts

We currently export HP_SHARED_KEY only while generating /haproxy.cfg.
On a restart where /haproxy.cfg already exists and the user supplied only HP_SHARED_KEY_FILE, the Python agent could start without HP_SHARED_KEY in its env - leading to plugin 400s errors.

Fix: always resolve/export HP_SHARED_KEY from env or file at the top of start.sh, once, for the whole process.

Signed-off-by: Oleksander Piskun <oleksandr2088@icloud.com>
@oleksandr-nc oleksandr-nc merged commit d008b10 into main Oct 20, 2025
3 checks passed
@oleksandr-nc oleksandr-nc deleted the fix/shared-key-in-file branch October 20, 2025 12:16
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.

2 participants