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

+1 vote

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, 2020 in AWS by akhtar
• 38,260 points
1,515 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, 2020 by MD
• 95,460 points

Related Questions In AWS

0 votes
0 answers
0 votes
1 answer
0 votes
1 answer
+1 vote
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, 2020 in AWS by MD
• 95,460 points
2,556 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, 2020 in AWS by MD
• 95,460 points
2,311 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP