You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix connection refused error when WAZUH_HOST includes protocol
Fixes #63 - Users following documentation that shows WAZUH_HOST=https://...
would get "connection refused" because the code was generating malformed
URLs like https://https://192.168.1.100:55000
Changes:
- Add normalize_host() to strip protocol prefix (https://, http://)
- Apply normalization to WAZUH_HOST and WAZUH_INDEXER_HOST
- Add defensive normalization in WazuhIndexerClient
- Handles both formats: hostname only OR with protocol
0 commit comments