Skip to content

Conversation

@jcabrero
Copy link
Member

@jcabrero jcabrero commented Feb 9, 2026

This morning we had an issue where multiple nodes were being rejected with 429 from AMD certificate download.

I've reimplemented the retry mechanism for attempting connections multiple times, and with a spread to handle this case where multiple nodes fail so that the retry happens at different timestamps.

@jcabrero jcabrero marked this pull request as ready for review February 9, 2026 15:06
use crate::verification::HtxVerifier;

const MAX_ATTEMPTS: u32 = 3;
const BACKOFF_TIME: std::time::Duration = std::time::Duration::from_secs(10);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AMD returns Retry-After in the 429 header. Can we use that instead of 10 seconds? See page 15.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants