jitsi / ice4j

A Java implementation of the ICE protocol
Apache License 2.0
437 stars 232 forks source link

Add IMDSv2 support to AwsCandidateHarvester and replace URLConnection… #297

Closed dsmeytis closed 10 hours ago

dsmeytis commented 1 day ago

… with HttpRequest

bgrozev commented 1 day ago

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

dsmeytis commented 22 hours ago

@bgrozev added

bgrozev commented 10 hours ago

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.