Skip to content

Unvaiable Server : staging.cap-zen.net, cap-zen.net

0

My AWS server that currently hosts "staging.cap-zen.net" and "cap-zen.net" is completely down. I can no longer access the sites, and I can't connect to the server via SSH. Here is the message I receive when I try to connect via SSH: connecting ec2-user@staging.cap-zen.net... CONN ERROR: Timed out while waiting for handshake Additionally, when I try to access my websites, I get an alert that says "too many redirects," which is typically due to a server that is completely broken. Can you help me? Or at least move the server to another location while you investigate the issue? The server needs to be fixed urgently.

And when i a want to access at my website i have this error "ERR_INTERNET_DISCONNECTED"

asked 2 years ago239 views
4 Answers
2

Hello.

Is it possible to connect with Systems Manager Session Manager instead of SSH?
You can use Session Manager if you have SSM Agent installed on EC2 and the appropriate IAM role configured.
https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager.html

Also, how about temporarily starting another EC2 from a snapshot etc. and changing the IP address of the domain's A record to that of the new EC2 to avoid the problem?
https://docs.aws.amazon.com/prescriptive-guidance/latest/backup-recovery/restore.html

EXPERT
answered 2 years ago
EXPERT
reviewed 2 years ago
EXPERT
reviewed 2 years ago
  • Are HTTPS and SSH allowed in the security group's inbound rules? Also, try setting your network ACL to allow all communication with inbound and outbound rules. Once you have configured this, please check the logs of the web server in EC2 to see if any errors have occurred.

  • It seems that the security group has been set, so connect to EC2 using Session Manager, etc., and check the web server log and OS system log to see if any errors have occurred.

  • This may not be possible depending on the instance type you are using, but why not try connecting with the serial console? https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/connect-to-serial-console.html

0

Hello

The session manager works perfectly, but I need to fix this quickly because the website needs to be updated as soon as possible. Do you have any ideas?

Thx for your help !

Enter image description here

answered 2 years ago
0

Yes, i try this:

[cloudshell-user@ip-10-130-31-199 ~]$ aws ec2 authorize-security-group-ingress --group-id sg-08507c6752fb1d86a --protocol tcp --port 22 --cidr 0.0.0.0/0

An error occurred (InvalidPermission.Duplicate) when calling the AuthorizeSecurityGroupIngress operation: the specified rule "peer: 0.0.0.0/0, TCP, from port: 22, to port: 22, ALLOW" already exists

Same for the http

answered 2 years ago
0

I already do that, but i can't connect to EC2 Console ..

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.