Unable to create the application version in AWS Elastic Beanstalk - amazon-elastic-beanstalk

I am trying to deploy a node-based application in beanstalk (I have done so successfully before), but every time I try to upload the zip file I get an error simply saying "Unable to create the application version." I know this alone is not very helpful, but it's literally all AWS is giving me - would anyone know how to troubleshoot this further to find possible causes?

I was having a similar problem. It ended up being an issue with the latest version of Firefox (96.0.2 released on Jan. 20). Once I switched browsers to Chrome, I was able to upload new application versions fine.

Related

Deploying a .NET application to Google Cloud Platform worked on initial deploy, now getting 502 Error: Server Error

To give some background, I'm an (unpaid) intern, and I'm unrelated to dealing with this kind of stuff. My employers wanted to update some pictures, and they did locally but didn't know how to upload the new version to the server.
I used the publish settings that were saved in Visual Studio from when the previous intern deployed the server (he was specialized in web site stuff) and it worked on deploy ... then I refreshed the page and I'm getting 502 server error.
Steps I have taken:
Connect to the VM and restart it - didn't solve it. it's using Microsoft server 2016.
Open the VM trough RDP, check if there are errors. There were 3 services not running, and I start them manually. One still isn't running, Downloaded Maps Manager. Ok... I google it and it's not a necessary service so I disable it. Now there are no errors and all services are running but I still am getting this error.
I tried pinging the IP of the server, and the URL itself and it works.
I believe it might be something to do with the load balancer, but I had one HTML class and nothing dealing with actually publishing stuff. If you could point me in the right direction I would appreciate it. The only reason why I'm trying to fix this myself is that I didn't make some kind of backup, and I feel so stupid having taken the site down.
Edit: I've gone to "load balancing" and it says service unhealthy. I tried going to the IPs there and it brings me to the same 502 server error page. From what I've gathered this is a configuration error, it's impossible they messed something with the site itself, right? It did work that first time, and if I run it from Visual Studio it works on the local machine ...

Legacy GCE and GKE metadata requests from google_daemon/manage_addresses.py

I have an old Debian Compute Engine instance (created and running since December 2013) and got an email warning about the turndown of Legacy GCE and GKE metadata server endpoints (more details at https://cloud.google.com/compute/docs/migrating-to-v1-metadata-server).
I followed the directions for locating the process and found that the requests were coming from /usr/share/google/google_daemon/manage_addresses.py. The script seems to be the same as what's at https://github.com/gtt116/gce/blob/master/google_daemon/manage_addresses.py (also with what's in that directory).
I don't recall installing this, so I'm imaging it came with the provided Debian image I used in 2013.
Does anyone know what this manage_addresses.py script is, what it does, and what I should do with it now that the legacy metadata server endpoints are turning down? Is it safe to just stop running it? Or is there a new script I should replace it with? Or should I just try to update it myself to use the new endpoint?
I dug around and was able to trace /usr/share/google/google_daemon/manage_addresses.py as being installed by a package called google-compute-daemon. A search for that brought me to https://github.com/GoogleCloudPlatform/compute-image-packages#troubleshooting which explains that google-compute-daemon has been replaced with python-google-compute-engine. That led me to https://cloud.google.com/compute/docs/images/install-guest-environment . I followed the instructions there and manually installed the guest environment.
I noticed during installation that it said it was removing the google-compute-daemon package (and a packaged called google-startup-scripts), so this seems like the right thing. And I'm no longer seeing any requests to the legacy endpoints. So it seems like at some point the old guest environment failed to update.
TLDR; If you have this problem, follow the instructions at https://cloud.google.com/compute/docs/images/install-guest-environment#installing_guest_environment to manually update the guest environment.

getting GET http://localhost:3000/load net::ER_CONNECTION_REFUSED in google chrome console

Am running a node server with angular js to fetch a data from MySQL database table, its working absolutely fine in my local system
But I am accessing the same project via simplehttp server in other machine (ubuntu OS in chromium browser) like http://192.168.1.4/Desktop/Clients/my-folder/my-file am getting the following error in browser console
GET http://localhost:3000/load net::ER_CONNECTION_REFUSED
I just searched a lot in google but I did not found any answers still now, please help me to solve this issues

Geolocation not working on Chrome even from a host server

I was working on a html5 file which uses geolocation. It was working fine in Chrome version 38.0.2125.111m from both loading the file locally and from a host server. Now, Chrome does not work for geolocation from either resource. I understand the security issue when running the file locally, but it still happens from any website that is running geolocation. I get the error message of "geocode service failed". BUT runs fine from both resources using Firefox. I have a windows 7 x64 laptop. The code that I am using is right off of Google geolocation example...
I've also went to the chrome's privacy-security-location settings and checked to use allow all sites to check location and still the problem continues... Help!
I think I found a clue. I copied the geolocaton file to another website and ran fine using the same chrome version which makes me believe that it is the google api keys that was causing the problem. I deleted the keys for both local and web host and will see in a few days if indeed this was the case. If it is, then I suggest not to establish api keys during development until app is ready for production.

Trying to get a local MySQL database to work with GAE development server

Soo, I've decided to toy around a bit with GAE. Most of my previous experience with developing web-applications is with ASP.Net, so this java / eclipse-world is kinda unfamiliar to me.
I read around, and found out that I can configure my project to use a Google Cloud SQL instance when it's deployed at Google, while using a local MySQL database while running locally on my development server.
The problem I ran in to now is that I can simply not press "Ok" in the eclipse dialog for configuring my local MySQL database? Well - I can, but with no result. No error message, no window close, no nothing.
I'm not really sure what I am doing wrong, but was hoping some wiz in here who has more experience than me with GAE have had a similar problem and a solution?
I've attached a picture of my local MySQL configuration:
http://imgur.com/0tjK7Sf
Thanks in advance