Comments (5)
CC: @esmet @tyxia @ggreenway @wbpcode
from envoy.
@htuch
any help please. thanks
from envoy.
When ExtAuthz service returns 5XX response, next lua filter cannot access the headers set by ExtAuthz service.
Is the request rejected at this point? If so, the filter after ext_authz won't run.
from envoy.
Hello @htuch
I have failure_mode_allow: true which allows ExtAuthz filter to pass the request to next Lua filter for 5XX but I want to identify (read status code) the cause of ExtAuthz failure in next Lua filter which I am unable to do as all the headers seems to be removed by ExtAuthz filter when it returns 5XX.
Mainly I want to identify 2 failures, 500 and 503. our ExtAuthz server returns 500 if there is any failure in processing the request. Also, sometime Envoy doesn't able to reach ExtAuthz server and fails with 503 (reported here with logs #32058).
I want to retry for 503 case (connection issue) in the next Lua filter but don't want to retry for 500 case (processing error by ExtAuthz server).
How can i identify the status code of ExtAuthz filter in the next Lua filter or any other way I can achieve the same?
from envoy.
Reading
, this just takes thefailure_mdoe_allowed
logic and doesn't apply any headers (as done above in
), which makes sense given 5xx semantics.
One option might be to enhance failure_mode_allow_header_add
to support status propagation.
from envoy.
Related Issues (20)
- cluster_header router & golang cluster_specifier plugin ignore headers added by envoy's http filters HOT 5
- Newer release available `com_github_gabime_spdlog`: v1.14.1 (current: v1.13.0)
- OpenTelemetry access logs: Missing span ID breaks trace-context correlation HOT 3
- [RFC] Move to month-based (semantic) versioning HOT 7
- IpVersionsClientTypeDeferredProcessing/RateLimitQuotaIntegrationTest.MultiRequestWithTokenBucketThrottling/IPv4_GoogleGrpc_WithDeferredProcessing is flakey HOT 1
- IpVersionsClientTypeDeferredProcessing/ExtProcIntegrationTest.SkipHeaderSendTrailerInBufferedMode/IPv4_EnvoyGrpc_NoDeferredProcessing is flakey HOT 1
- Create a benchmark for the admin clusters endpoint HOT 2
- Query - Regarding custom TLS handshaker to load the certs from the cache. HOT 3
- Support fail_traffic_on_panic for locality_weighted_lb_config HOT 2
- Add Meta-Data to Build for more accurate Container SBOM generation HOT 3
- Add custom Envoy cluster-specific Prometheus label HOT 5
- x25519kyber768 support HOT 2
- [oauth2] Refresh flow breaks when id token not returned during refresh HOT 6
- Change the upstream port for the HTTP dynamic forward proxy HOT 3
- Newer release available `aspect_bazel_lib`: v2.7.2 (current: v2.7.1) HOT 1
- allow fixed heap resource monitor's max_heap_size_bytes to be configurable via runtime HOT 3
- `DirectResponseIntegrationTest.DirectResponseBodySizeLarge/IPv6` is flakey in TSAN test
- aws: assert in debug for async credential providers HOT 2
- Fix CVE-2024-33599 HOT 3
- OpenTelemetry metrics sink and access logger - Ability to configure OpenTelemetry Resource via Resource Detectors HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from envoy.