Hey @priyadarshinigp ! So sorry to hear about the intermittent issue you are seeing!
Are you still seeing this issue? Is there anything in the logs at /var/log/rstudio-connect.log when you experience this behavior? Does this happen when you navigate to your application? The Connect "dashboard" / UI? Both?
This is a strange one!! Can you say a bit more about how traffic reaches your EC2 instance? Is there a load balancer in play (ELB, ALB, NLB, etc.)? VPN?