AWS Lambda - Buffered reader

后端 未结 3 914
野的像风
野的像风 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:53

    The simple solution for making this work - is putting your Lambda out of the VPC it's in right now.

    Read my answer on this thread for detailed explanation on why this happens to you.

    AWS lambda invoke not calling another lambda function - Node.js

    (note: the answer is not related to NodeJS)

提交回复
热议问题