Aias00 opened a new issue, #6734: URL: https://github.com/apache/shenyu/issues/6734
- severity: Medium - files: `shenyu-plugin/shenyu-plugin-httpclient/src/main/java/org/apache/shenyu/plugin/httpclient/WebClientPlugin.java:89`; `.../NettyHttpClientPlugin.java:89-120`; `.../DefaultRetryStrategy.java:105` - description: `WebClientPlugin` installs `.onRawStatus(httpStatus -> httpStatus >= 400, clientResponse -> Mono.empty())`, so 4xx/5xx produce a completed response with no exception. Failover (`RetryEnum.FAILOVER`) is driven by `onErrorResume`; a 502/503/504 from an unhealthy-but-connected upstream emits no error, so failover never invokes — the bad status is passed straight through. - impact: Operators relying on `retryStrategy=failover` get no failover for the most common unhealthy-upstream signal (5xx). - suggested_fix: Optionally map configurable status codes (502/503/504) to errors before the retry strategy. - confidence: Low-Medium - related_existing: none — #4280 is a specific HTTPS bug, not the 5xx-no-error gap. --- _Identified during the 2026-08-02 deep re-scan; full list in [`docs/scan2-2026-08-02/06-medium-tiers.md`](docs/scan2-2026-08-02/06-medium-tiers.md)._ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
