-
Notifications
You must be signed in to change notification settings - Fork 708
Closed
Labels
cherrypick/release-v1.5.1help wantedExtra attention is neededExtra attention is neededkind/bugSomething isn't workingSomething isn't working
Description
Description:
I'm trying to configure a redirect for 5xx status codes using a BackendTrafficPolicy with a ResponseOverride of type redirect:
apiVersion: gateway.envoyproxy.io/v1alpha1
kind: BackendTrafficPolicy
metadata:
name: response-override
namespace: envoy-gateway-system
spec:
targetRef:
group: gateway.networking.k8s.io
kind: Gateway
name: eg
responseOverride:
- match:
statusCodes:
- type: Range
range:
start: 500
end: 511
redirect:
hostname: custom-errors.example.com
statusCode: 302
scheme: https
However, after applying the BackendTrafficPolicy, the envoy-gateway pod crashes with the following error:
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
panic: runtime error: invalid memory address or nil pointer dereference
I'm wondering if there’s a misconfiguration in the Envoy Gateway resources, but I haven’t found any specific documentation or known issues related to this scenario.
Any guidance or insights would be appreciated.
Versions:
Server Version: v1.32.7-eks-ace6451
envoy gateway version docker.io/envoyproxy/gateway:v1.5.0
envoy proxy version docker.io/envoyproxy/envoy:distroless-v1.35.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
cherrypick/release-v1.5.1help wantedExtra attention is neededExtra attention is neededkind/bugSomething isn't workingSomething isn't working