Eb environment health issue

0

I am trying to create my first eb web app using django. While following the eb django guide, I run into some problems.

I get these two errors:

Environment health has transitioned from Pending to Degraded. 100.0 % of the requests are failing with HTTP 5xx. Initialization completed 60 seconds ago and took 3 minutes. Impaired services on all instances.

Following services are not running: web.

I tried following this guide for problem 1, but no success.

I made sure to point to my wsgi.py correctly, and I am using the default/automatically created service role.

Does anyone have any idea how to handle this?

alle-ab
gefragt vor einem Jahr731 Aufrufe
2 Antworten
1

These errors typically indicate a server problem with your application. In the context of Elastic Beanstalk, it is possible that your Django application was not properly deployed or that it is experiencing a post-deployment error. To troubleshoot We need to download logs and check them Look in var-XX/logs/log/eb-activity.log for deployment errors If the error is coming from your Django application itself, look in var-XX/app/support/logs/passenger.log and production.log.

profile picture
EXPERTE
beantwortet vor einem Jahr
  • Hello, sorry for responding so late. I managed to solve problem 1, however problem 2 still persists.

    My logs say that my application module can not be found. I am using the same folder structure as in the tutorial. My web.stdout.log is the one that says "No module named ****".

0

Enter image description here

This would be my structure, but the wsgi.py module can not be found

My nginx/error.log says "Connection refused while connecting to upstream.

My eb-engine.log seems fine except two warnings that say that processes httpd and xray are not registered

I should add too that I am currently using the eb console, not CLI. I am uploading a zipped ebdjango folder. The outmost one

Enter image description here

These are the contents of the zipped folder I am uploading

alle-ab
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen