Issue with puppeteer cluster scripts in AWS EC2 Instance

257 Views Asked by At

I'm facing issue in page loading when running through puppeteer(puppeteer-cluster) scripts in AWS EC2 Instance. But the same is working when I m opening manually in EC2. Also, puppeteer scripts working perfectly in local machines both Headless true/false. Is there any memory issue? Please help

Note: Able to login into the application and navigating to pages. But the issue is only at specific page/content loading. Even kept explicit wait of 3 mins and took a screenshot(seeing blank/white page) after a timeout.

1

There are 1 best solutions below

1
On

Found the solution, actually application requires proxy in the EC2 machine. By setting up it works fine now.