Amazon EC2 error - received failure with description Failure [duplicate] - amazon-web-services

This question already has answers here:
Received failure with description 'Failure' in while uploading to SFTP server with FileZilla
(2 answers)
Closed 5 years ago.
I am unable to upload any files from FileZilla to my Amazon EC2 instance (running a m4.large instance). Its throwing the error " received failure with description 'Failure' ". Also noticed that my webapps which used to run on this instance are not working anymore.
I have enough disk space on this server; anyone can throw some light on why this is happening ?

I haven't experienced such error with any of my instances; however, I found this post that may help shed some light.
Also, have you tried uploading it with SCP? Try that and see if you receive the same error; I'm curious to know if this is related to SFTP and FileZilla.
scp local_file user#remote_host:remote_file
If you're using an SSH key to authenticate on the instance, you'll need to use the -i argument along with the key name.
scp -i pem_file_name local_file user#remote_host:remote_file
Hope this helps!

Related

Getting ec2 instance ID suddenly stopped working

I've been getting an amazon instance ID from within the instance itself for over a year now by hitting this local web address http://169.254.169.254/latest/meta-data/instance-id. This is the appropriate method according to the AWS documentation. For some reason though, just this week that same call started throwing an error.
I tried pinging the 169.254.169.254 address from the command line and that fails, so it seems like something pretty basic has changed with the EC2 instances. I don't see any changes to the documentation on AWS. One thing I do notice is that I used to see the instance name in the upper right hand corner when loading up the instance and logging in remotely. That information doesn't appear anymore.
Here is the code I've been using to get the ID:
retID = New StreamReader(HttpWebRequest.Create("http://169.254.169.254/latest/meta-data/instance-id").GetResponse().GetResponseStream()).ReadToEnd()
Here is the full error stack:
at System.Net.HttpWebRequest.GetResponse()
at RunControllerInterface.NewRunControlCommunicate.getInstanceIDFromAmazon()
The error message itself says: Unable to connect to the remote server
Any help would be appreciated.
So I think I have at least a partial answer to this problem. When making this image, I was using a t3a.medium instance. As long as I use that same type of instance I am able to pull down the instance name.

How can i get SSH connection without password(root)?

have a nice day!
How can i get SSH connection without password(root)?
i tried to using 'ssh-keygen'! but it dosen't work!
I registered hostname each servers.
and i copied a point of departure's 'id_dsa.pub' to destination's 'authorized_keys', but i received "Permission denied (publickey)" message
what was worse is that, i copied a point of departure's 'id_dsa.pub' to point of departure's 'authorized_keys" but it dosen't work....
I wonder that is it a AWS EC2 Policy? or just i stupid.
plz help me

E/DefaultBootstrapChannel: Failed to receive operation servers list {}

I have deployed kaa on AWS but whenever i try run sample project the it is showing error:
E/DefaultBootstrapChannel: Failed to receive operation servers list {}
org.apache.http.conn.HttpHostConnectException: Connection to http://ec2-old IP address.compute-1.amazonaws.com:9889 refused
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:248)
Please help me change IP address in kaa aws
Looks like i have figured out the solution.
Use below commond line
sudo /usr/lib/kaa-sandbox/bin/change_kaa_host.sh your-IP

bamboo server on ec2 instance, how to secure the instance

I loaded Bamboo server onto and AWS Ec2 instance but it is not secure. When I try to link Bamboo to Bitbucket I get a Failed to load data from Bitbucket. [403 Forbidden].
So after reading this post on correcting “XSRF Check failed” errors, I still get the 403 error, not sure what I am doing wrong, has anyone else gone through this problem?
what was done to finally fix it?
Thanks

AWS Elastic Beanstalk GUI: Query failed to deserialize response

after running AWS Elastic Beanstalk application for few weeks suddenly I can't open my application. Page simply displays an error which doesn't provide much information how to fix it.
Error
A problem occurred while loading your page: AWS Query failed to deserialize response
(and there is no more information, Googling also haven't found any answer)
So before updating my subscription and starting paying to Amazon not insignificant amount of money for being able to contact their technical support I thought I will ask here first if someone here encountered this issue.
Thanks for any suggestions.
After receiving this generic error, I was able to dig into the actual error message by using the EB CLI. In my case the CLI threw "ZIP does not support timestamps before 1980".