Fixed the issue by adding following to my eclipse ini file:
-Djava.net.preferIPv4Stack=true
-Djavax.net.ssl.trustStore=plugins/org.eclipse.justj.openjdk.hotspot.jre.full.linux.x86_64_23.0.2.v20250131-0604/jre/lib/security/cacerts
Also please follow: See keystore used by SSLFactory? Exception: "sun....certpath.SunCertPathBuilderException: unable to find valid certification path to requested target" to add valid certificate to keytool in java cacerts.