Commit f35541b
committed
fix: Apply proper error caching for SSL certificate failures in TES
- SSL certificate errors (AWSIotException/TLSAuthException) now use UNKNOWN_ERROR_CACHE_IN_MIN (5 minutes) instead of immediate expiry
- Prevents excessive bandwidth usage from continuous retry loops when SSL handshake fails
- Maintains proper error caching behavior for connection failures
This resolves an issue where SSL certificate validation failures would bypass
the intended error caching mechanism, causing credential requests to retry
every ~2 seconds instead of respecting the configured 5-minute cache timeout.1 parent 11baf35 commit f35541b
1 file changed
Lines changed: 3 additions & 2 deletions
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
317 | | - | |
| 317 | + | |
318 | 318 | | |
319 | 319 | | |
320 | | - | |
| 320 | + | |
| 321 | + | |
321 | 322 | | |
322 | 323 | | |
323 | 324 | | |
| |||
0 commit comments