DaftAcademy / daftacademy-python_levelup-spring2020

20 stars 10 forks source link

Heroku application error #4

Closed kulakowski-lukasz closed 4 years ago

kulakowski-lukasz commented 4 years ago

Cześć!

Po diploju aplikacji na Heroku (build idzie bez problemu) i otworzeniu apki dostaję komunikat Application error, link: https://lk-djakdeploy.herokuapp.com/

Link do gita: https://github.com/kulakowski-lukasz/d_jak_deploy

Log z aplikacji 2020-04-02T17:21:34.000000+00:00 app[api]: Build succeeded 2020-04-02T17:21:36.512213+00:00 heroku[web.1]: State changed from starting to crashed 2020-04-02T17:21:36.402303+00:00 app[web.1]: Usage: uvicorn [OPTIONS] APP 2020-04-02T17:21:36.402315+00:00 app[web.1]: Try 'uvicorn --help' for help. 2020-04-02T17:21:36.402315+00:00 app[web.1]: 2020-04-02T17:21:36.402406+00:00 app[web.1]: Error: Invalid value for '--port': is not a valid integer 2020-04-02T17:21:44.180679+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=lk-djakdeploy.herokuapp.com request_id=9dfb6f68-3dad-416a-8c37-6e1471c2ed42 fwd="212.180.168.132" dyno= connect= service= status=503 bytes= protocol=https 2020-04-02T17:21:44.418969+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=lk-djakdeploy.herokuapp.com request_id=6568017c-b11f-40a1-a518-97f6965a472f fwd="212.180.168.132" dyno= connect= service= status=503 bytes= protocol=https 2020-04-02T17:23:14.876759+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=lk-djakdeploy.herokuapp.com request_id=fb8d333c-4b2f-4c63-a9f3-75dfbd6a3a65 fwd="212.180.168.132" dyno= connect= service= status=503 bytes= protocol=https 2020-04-02T17:23:14.743873+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=lk-djakdeploy.herokuapp.com request_id=811e7519-7c76-4c0b-bd24-0558f0cc75cd fwd="212.180.168.132" dyno= connect= service= status=503 bytes= protocol=https

kulakowski-lukasz commented 4 years ago

Dobra, znalazłem - w Procfile miałem spację przed numerem portu :)

mateusz94 commented 4 years ago

Cieszę się :)