Title: Envoy returns 403 for failed gRPC ext_authz requests
Description:
The gRPC implementation for ext_authz returns 403(forbidden), when the request to the gRPC server is failed on connection error. It can be an temporary error. However, 403 doesn't recommend an automatic retry.
In order to have client retry, can we change it to 503?
https://httpstatuses.com/403
Config:
http_filters:
- name: envoy.ext_authz
config:
failure_mode_allow: false
grpc_service:
envoy_grpc:
cluster_name: token-grpc
timeout: 10.0s
Call Stack:
The FORBIDDEN is hard coded at: https://github.com/envoyproxy/envoy/blob/master/source/extensions/filters/common/ext_authz/ext_authz_grpc_impl.cc#L77
Title: Envoy returns 403 for failed gRPC ext_authz requests
Description:
The gRPC implementation for ext_authz returns 403(forbidden), when the request to the gRPC server is failed on connection error. It can be an temporary error. However, 403 doesn't recommend an automatic retry.
In order to have client retry, can we change it to 503?
https://httpstatuses.com/403
Config:
Call Stack:
The FORBIDDEN is hard coded at: https://github.com/envoyproxy/envoy/blob/master/source/extensions/filters/common/ext_authz/ext_authz_grpc_impl.cc#L77