Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add IMDSv2 support to AwsCandidateHarvester and replace URLConnection… #297

Merged
merged 2 commits into from
Dec 4, 2024

Conversation

dsmeytis
Copy link
Contributor

@dsmeytis dsmeytis commented Dec 3, 2024

… with HttpRequest

@bgrozev
Copy link
Member

bgrozev commented Dec 3, 2024

Can we set a short timeout so it doesn't hang for a long time when it runs outside AWS?

@dsmeytis
Copy link
Contributor Author

dsmeytis commented Dec 4, 2024

@bgrozev added

@bgrozev
Copy link
Member

bgrozev commented Dec 4, 2024

Thank you!

I just noticed that OCI also supports IMDSv2 and that address responds, so it ends up with RUNNING_ON_EC2=true. But that's unrelated to the PR.

@bgrozev bgrozev merged commit 7846e6c into jitsi:master Dec 4, 2024
5 checks passed
bgrozev added a commit to bgrozev/jitsi-videobridge that referenced this pull request Dec 5, 2024
  * fix: Fail early if IMDS returns an error. (jitsi/ice4j#298)
  * Add IMDSv2 support to AwsCandidateHarvester and replace URLConnectionn with HttpRequest (jitsi/ice4j#297)
  * Add Java 21 to GitHub testing matrix (jitsi/ice4j#296)
bgrozev added a commit to jitsi/jitsi-videobridge that referenced this pull request Dec 12, 2024
* fix: Fail early if IMDS returns an error. (jitsi/ice4j#298)
  * Add IMDSv2 support to AwsCandidateHarvester and replace URLConnectionn with HttpRequest (jitsi/ice4j#297)
  * Add Java 21 to GitHub testing matrix (jitsi/ice4j#296)
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