diff --git a/compose/monitoring/docker-compose.example.yml b/compose/monitoring/docker-compose.example.yml index 1f4b5b1..8e524ce 100644 --- a/compose/monitoring/docker-compose.example.yml +++ b/compose/monitoring/docker-compose.example.yml @@ -127,7 +127,7 @@ services: # with panel credentials when 150 readable lines do the job. game-exporter: networks: [monitoring] # NOT the default network: see the note at the end - image: python:3.14.8-alpine + image: python:3.15.1-alpine restart: unless-stopped command: ["python", "-I", "/app/game_exporter.py"] user: "65534:65534" # nobody: the script needs no rights at all diff --git a/compose/monitoring/game-exporter/game_exporter.py b/compose/monitoring/game-exporter/game_exporter.py index d084a6a..e4a7077 100644 --- a/compose/monitoring/game-exporter/game_exporter.py +++ b/compose/monitoring/game-exporter/game_exporter.py @@ -55,7 +55,8 @@ def _amp_call(method, payload): _amp_session = login.get("sessionID") if not _amp_session: raise RuntimeError("AMP login failed") - res = _req(f"{AMP_URL}/API/{method}", {"SESSIONID": _amp_session, **payload}) + # session goes in the Authorization header; SESSIONID in the body is deprecated (AMP 2.8 logs a warning per call) + res = _req(f"{AMP_URL}/API/{method}", payload, {"Authorization": f"Bearer {_amp_session}"}) if isinstance(res, dict) and res.get("Title") == "Unauthorized Access" and attempt == 1: _amp_session = None # session expired -> log in again once continue diff --git a/compose/wud/docker-compose.example.yml b/compose/wud/docker-compose.example.yml index ce35dcf..e88dd25 100644 --- a/compose/wud/docker-compose.example.yml +++ b/compose/wud/docker-compose.example.yml @@ -28,7 +28,7 @@ services: - wud-internal wud: - image: getwud/wud:9.4.1 + image: getwud/wud:9.5.0 container_name: wud restart: unless-stopped depends_on: