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 23 hours ago

dsmeytis commented 2 days ago

… with HttpRequest

bgrozev commented 2 days ago

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

dsmeytis commented 1 day ago

@bgrozev added

bgrozev commented 23 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.