I am using Java on AWS Lambda to get the URL source code of the site. I have the following code:
URL yahoo = new URL(url); URLConnection yc = yahoo.openConnectio
I would guess it is related to this bug https://bugs.openjdk.java.net/browse/JDK-8149169
Try the same URL (that causes timeout of the Lambda function) from your local system and see if you can find the root cause.