There was a problem setting up the instance connection The connection has been closed because the server is taking too long to respond

0 votes

Hi Guys,

I have launched one EC2 instance and logged in successfully through AWS web browser. But after some time it gave me the below error. 

How can I solve this error?

Jun 5 in AWS by akhtar
• 14,610 points
83 views

1 answer to this question.

0 votes
Hi@akhta

if AWS finds your CLI in static mode for sometime then instance user will automatically logged out from your EC2 instance. There are nothing wrong with your EC2 instance. Try to login, it will work.
answered Jun 5 by MD
• 32,770 points

Related Questions In AWS

+1 vote
2 answers

Is there a API to get AWS Marketplace Products

AWS Marketplace Entitlement Service API Reference The AWS ...READ MORE

answered Aug 1, 2018 in AWS by findingbugs
• 4,790 points
180 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

There was a problem setting up the instance connection Log in failed

Hi@akhtar, According to my knowledge Amazon Linux 2 AMI ...READ MORE

answered Jun 1 in AWS by MD
• 32,770 points
102 views
0 votes
1 answer

Server unexpectedly closed the connection.

Hi@akhtar, There are many reason to cause this scenario. ...READ MORE

answered Apr 2 in AWS by MD
• 32,770 points
108 views