Django Webapp Heroku

Django, Flask, Bottle, WSGI, CGI…
Antworten
walk3r
User
Beiträge: 1
Registriert: Sonntag 19. April 2020, 08:39

Guten Tag,

ich versuche eine Webapp (Terminkalender) über Heroku zu veröffentlichen. Der Push mittels Heroku CLI funktioniert jedoch nicht, es wird folgender Fehler ausgegeben:

Code: Alles auswählen

Collecting https://github.com/django/django/zipball/f8c7c8f27b061b65d2dec98510bb9e76e1547791 (from -r /tmp/build_296ee4a8834fd53dc4a543625c4866d4/requirements.txt (line 11))
remote:          Downloading https://github.com/django/django/zipball/f8c7c8f27b061b65d2dec98510bb9e76e1547791
remote:        Obtaining django-rcal from git+git://github.com/eclips0r/django-rcal.git#egg=django-rcal (from -r /tmp/build_296ee4a8834fd53dc4a543625c4866d4/requirements.txt (line 12))
remote:          Cloning git://github.com/eclips0r/django-rcal.git to /app/.heroku/src/django-rcal
remote:        fatal: remote error:
remote:          Repository not found.
remote:        Command "git clone -q git://github.com/eclips0r/django-rcal.git /app/.heroku/src/django-rcal" failed with error code 128 in None


Die dazugehörige requirements.txt sieht wie folgt aus:

Code: Alles auswählen

gunicorn==0.17.2
gevent==0.13.8
pytz==2012j
vobject==0.9.2
psycopg2==2.4.6
gevent-psycopg2==0.0.3
python-dateutil==1.5
django-registration==0.8
South==0.7.6
# I need Django 1.6 :)
https://github.com/django/django/zipball/f8c7c8f27b061b65d2dec98510bb9e76e1547791
-e git://github.com/eclips0r/django-rcal.git#egg=django-rcal
-e git://github.com/eclips0r/django-rcal-registration.git#egg=django-rcal-registration
django-notification==1.0
raven==3.1.17
dj-database-url==0.2.1
six
opbeat

Heroku logs:

Code: Alles auswählen

2020-04-19T07:51:47.382855+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=GET path="/accounts/login/?next=/new/%3Fresource%3D1%26start%3D19%26day%3D10.11.2023" host=reservierungs-tool.admira-villach.at request_id=b7441d94-802e-428b-a13a-57e1720dce1b fwd="78.46.61.245" dyno=web.1 connect=1ms service=30001ms status=503 bytes=0 protocol=http
2020-04-19T07:51:48.030944+00:00 app[web.1]: 2020-04-19 07:51:48 [4] [CRITICAL] WORKER TIMEOUT (pid:10782)
2020-04-19T07:51:48.035014+00:00 app[web.1]: 2020-04-19 07:51:48 [4] [CRITICAL] WORKER TIMEOUT (pid:10782)
2020-04-19T07:51:48.037968+00:00 app[web.1]: 2020-04-19 07:51:48 [10796] [INFO] Booting worker with pid: 10796

Liegt der Fehler schon in der requirements.txt oder übersehe ich hier was?

Bin für jeden Tipp dankbar!
Lg walk3r
Benutzeravatar
noisefloor
User
Beiträge: 3856
Registriert: Mittwoch 17. Oktober 2007, 21:40
Wohnort: WW
Kontaktdaten:

Hallo,

der Fehler besagt, dass das Githib Repo nicht gefunden wird. Wenn du auf https://github.com/eclips0r schaust ist das auch logisch, weil da gar nichts drin ist.

Die Zeile "https://github.com/django/django/zipbal ... 76e1547791" installiert Django 1.4, nicht 1.6. Warum benutzt du eine Django Version, die schon lange EOL ist? Ziemlich fahrlässig für eine Applikation, die im Internet erreichbar ist.
Gleiches gilt für Gunicorn: 0.17.x ist von 2013 (!)

Gruß, noisefloor
Antworten