AWS Lambda - Buffered reader

后端 未结 3 916
野的像风
野的像风 2021-01-27 21:31

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         


        
3条回答
  •  情话喂你
    2021-01-27 21:42

    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.

提交回复
热议问题