Aias00 opened a new issue, #6636:
URL: https://github.com/apache/shenyu/issues/6636

   - severity: High
   - files: 
`shenyu-plugin/shenyu-plugin-httpclient/src/main/java/org/apache/shenyu/plugin/httpclient/ExponentialRetryBackoffStrategy.java:65`
   - description: `initDefaultBackoff` builds `Retry.backoff(...).filter(t -> t 
instanceof IllegalStateException)`. The actual outbound failures — 
`ConnectTimeoutException`, `ReadTimeoutException`, `IOException`, 
`WebClientResponseException`, "Connection prematurely closed" — are not 
`IllegalStateException`, so `retryWhen` never retries them. Compare 
`FixedRetryStrategy` which has no filter (retries all).
   - impact: Operators configuring `retryBackoffSpec=exponential` get zero 
retries on transient connection/timeout failures — silent no-op.
   - suggested_fix: Broaden the filter to admit 
`IOException`/`TimeoutException`/`ConnectTimeoutException`/`ReadTimeoutException`,
 or drop the filter.
   - confidence: High
   - related_existing: none — #6583/PERF-32 is the outer `.timeout()` wrapping; 
this is the inner `.filter()` that suppresses all retries regardless.
   
   ---
   _Identified during the 2026-08-02 deep re-scan; full list in 
[`docs/scan2-2026-08-02/00-consolidated-critical-high.md`](docs/scan2-2026-08-02/00-consolidated-critical-high.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]

Reply via email to