From fcc99ef7061f34b3a99765548ac464c479c8f94a Mon Sep 17 00:00:00 2001 From: Thonyk Date: Fri, 24 Oct 2025 11:08:07 +0200 Subject: [PATCH 1/2] Fix: correct request host parsing for redis limiter --- app/app.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/app.py b/app/app.py index 21b9adab92..671ce44258 100644 --- a/app/app.py +++ b/app/app.py @@ -674,7 +674,9 @@ async def logging_middleware( ) raise HTTPException(status_code=400, detail="No client information") - ip_address = request.client.host + ip_address = str( + request.client.host, + ) # host can be an Object of type IPv4Address or IPv6Address and would be refused by redis port = request.client.port client_address = f"{ip_address}:{port}" From cd55bdf95016ac63cbe6a40aead10b6b193a3bef Mon Sep 17 00:00:00 2001 From: Thonyk Date: Fri, 24 Oct 2025 11:08:35 +0200 Subject: [PATCH 2/2] Bump Hyperion to 5.2.3 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 8d4080c544..a0beb7bba8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ authors = [{ name = "AEECL ECLAIR" }] # Hyperion follows Semantic Versioning # https://semver.org/ -version = "5.2.2" +version = "5.2.3" minimal-titan-version-code = 179 requires-python = ">= 3.11, < 3.13"