Commit 8461ad2
authored
fix: cache TES SSL certificate failures (#1720)
- 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 f6a76b6 commit 8461ad2
File tree
1 file changed
+3
-2
lines changed- src/main/java/com/aws/greengrass/tes
1 file changed
+3
-2
lines changedLines 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