I have a code fragment when I do HTTP request to aws labda .Everything works fine on local machine or somewhere else.When I want to run it on gitlab kubernetes runner it get stuck on that line of code till timeout.
URL obj = new URL("https://x-api.eu-central-1.amazonaws.com/my/endpoint");
HttpsURLConnection con = (HttpsURLConnection) obj.openConnection();
I don't get any errors.On aws part everything is working fine. It's pure http request so I don't think I need additional installations on runner part. Hope someone can help me.