From e07ebd18033a61c7578f9c168bf1d59827756ea6 Mon Sep 17 00:00:00 2001 From: Mykhailo Koziaryk Date: Tue, 24 Nov 2026 11:39:24 +0200 Subject: [PATCH] fix(juice-shop): proxy websocket upgrades through f5 nginx ingress The testground moved to the F5 NGINX Ingress Controller (f3898ed). Unlike ingress-nginx it forwards WebSocket upgrades only for services listed in nginx.org/websocket-services. Juice Shop's socket.io upgrade request reached the app without the Upgrade headers and got `400 {"code":3,"message":"Bad request"}`, so socket.io stayed on long-polling. The page never went idle, every browser step of a scan waited for its full timeout, and Juice Shop e2e scans took 15-18 min instead of ~3. List the release service in the simple-service ingress (0.5.1) and rebuild juice-shop on it (0.0.10). juice-shop was still on simple-service 0.4.0; 0.5.0 only adds an optional `global.repeaters` list and keeps the `repeaterIDs` path. --- charts/juice-shop/Chart.yaml | 4 ++-- simple-service/Chart.yaml | 2 +- simple-service/templates/ingress.yaml | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/charts/juice-shop/Chart.yaml b/charts/juice-shop/Chart.yaml index 7d650b1..27b656a 100644 --- a/charts/juice-shop/Chart.yaml +++ b/charts/juice-shop/Chart.yaml @@ -6,8 +6,8 @@ description: | type: application keywords: - juiceshop -version: 0.0.9 +version: 0.0.10 dependencies: - name: simple-service - version: 0.4.0 + version: 0.5.1 repository: "file://../../simple-service" diff --git a/simple-service/Chart.yaml b/simple-service/Chart.yaml index 0b5e87c..32cda37 100644 --- a/simple-service/Chart.yaml +++ b/simple-service/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: simple-service description: A simple service with customizable name and port type: application -version: 0.5.0 +version: 0.5.1 appVersion: "0.1.0" diff --git a/simple-service/templates/ingress.yaml b/simple-service/templates/ingress.yaml index fbabc9d..8e976e2 100644 --- a/simple-service/templates/ingress.yaml +++ b/simple-service/templates/ingress.yaml @@ -6,6 +6,8 @@ metadata: annotations: kubernetes.io/ingress.class: nginx nginx.org/ssl-redirect: "False" + # F5 NGINX Ingress Controller only proxies WebSocket upgrades for listed services + nginx.org/websocket-services: "{{ .Release.Name }}" {{ if eq .Values.ingress.cert "" }} cert-manager.io/cluster-issuer: letsencrypt-cf-prod {{ end }}