Skip to content

Commit

Permalink
Fix local deployment graylog provisioning
Browse files Browse the repository at this point in the history
  • Loading branch information
mrnicegyu11 committed Nov 27, 2024
1 parent 28660ac commit 65907fc
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions services/graylog/scripts/configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@
before=before_log(logger, logging.INFO),
)
def wait_graylog_is_online():
_r = requests.get(GRAYLOG_BASE_DOMAIN + "/api/system", auth=REQUESTS_AUTH)
_r = requests.get(
GRAYLOG_BASE_DOMAIN + "/api/system", auth=REQUESTS_AUTH, verify=False
)

if _r.status_code == 401:
raise TypeError(f"Graylog unauthorized HTTP response: {_r}")
Expand All @@ -58,7 +60,9 @@ def wait_graylog_is_online():


def validate_graylog_version_is_supported():
_r = requests.get(GRAYLOG_BASE_DOMAIN + "/api/system", auth=REQUESTS_AUTH)
_r = requests.get(
GRAYLOG_BASE_DOMAIN + "/api/system", auth=REQUESTS_AUTH, verify=False
)
_r.raise_for_status()

graylog_version = _r.json()["version"]
Expand Down

0 comments on commit 65907fc

Please sign in to comment.