'Loading available Gradle versions has encountered a problem

I am getting this error when I open eclipse applicationenter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source