Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application error for the ML model i deployed from Heroku - at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" #35

Open
SubramanianRaghu opened this issue Oct 7, 2020 · 0 comments

Comments

@SubramanianRaghu
Copy link

I have deployed a ML model in Heroku. But i am getting application error (https://moviereviewpredictor-api.herokuapp.com/).

I am getting the below error "error code=H10 desc="App crashed" method=GET path="/favicon.ico" from the logs

Can any one suggest a solution please?

PFB logs

2020-10-07T12:26:44.965820+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/util.py", line 350, in import_app
2020-10-07T12:26:44.965820+00:00 app[web.1]: import(module)
2020-10-07T12:26:44.965821+00:00 app[web.1]: File "/app/app.py", line 6, in
2020-10-07T12:26:44.965821+00:00 app[web.1]: cv = pickle.load(open('cv-transform.pkl','rb'))
2020-10-07T12:26:44.965973+00:00 app[web.1]: _pickle.UnpicklingError: invalid load key, 'v'.
2020-10-07T12:26:44.966974+00:00 app[web.1]: [2020-10-07 12:26:44 +0000] [10] [INFO] Worker exiting (pid: 10)
2020-10-07T12:26:44.968097+00:00 app[web.1]: [2020-10-07 12:26:44 +0000] [11] [ERROR] Exception in worker process
2020-10-07T12:26:44.968097+00:00 app[web.1]: Traceback (most recent call last):
2020-10-07T12:26:44.968103+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker
2020-10-07T12:26:44.968104+00:00 app[web.1]: worker.init_process()
2020-10-07T12:26:44.968104+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/workers/base.py", line 129, in init_process
2020-10-07T12:26:44.968105+00:00 app[web.1]: self.load_wsgi()
2020-10-07T12:26:44.968105+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/workers/base.py", line 138, in load_wsgi
2020-10-07T12:26:44.968105+00:00 app[web.1]: self.wsgi = self.app.wsgi()
2020-10-07T12:26:44.968106+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/app/base.py", line 67, in wsgi
2020-10-07T12:26:44.968106+00:00 app[web.1]: self.callable = self.load()
2020-10-07T12:26:44.968106+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 52, in load
2020-10-07T12:26:44.968107+00:00 app[web.1]: return self.load_wsgiapp()
2020-10-07T12:26:44.968107+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 41, in load_wsgiapp
2020-10-07T12:26:44.968108+00:00 app[web.1]: return util.import_app(self.app_uri)
2020-10-07T12:26:44.968109+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/util.py", line 350, in import_app
2020-10-07T12:26:44.968109+00:00 app[web.1]: import(module)
2020-10-07T12:26:44.968109+00:00 app[web.1]: File "/app/app.py", line 6, in
2020-10-07T12:26:44.968110+00:00 app[web.1]: cv = pickle.load(open('cv-transform.pkl','rb'))
2020-10-07T12:26:44.968138+00:00 app[web.1]: _pickle.UnpicklingError: invalid load key, 'v'.
2020-10-07T12:26:44.969165+00:00 app[web.1]: [2020-10-07 12:26:44 +0000] [11] [INFO] Worker exiting (pid: 11)
2020-10-07T12:26:45.208555+00:00 app[web.1]: [2020-10-07 12:26:45 +0000] [4] [INFO] Shutting down: Master
2020-10-07T12:26:45.208697+00:00 app[web.1]: [2020-10-07 12:26:45 +0000] [4] [INFO] Reason: Worker failed to boot.
2020-10-07T12:26:45.307837+00:00 heroku[web.1]: Process exited with status 3
2020-10-07T12:26:45.354311+00:00 heroku[web.1]: State changed from up to crashed
2020-10-07T12:28:46.135580+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=moviereviewpredictor-api.herokuapp.com request_id=4256a79c-b3cc-4fb7-844c-13b3432a3ddd fwd="103.84.178.237" dyno= connect= service= status=503 bytes= protocol=https
2020-10-07T12:28:46.593413+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=moviereviewpredictor-api.herokuapp.com request_id=18450366-b781-48af-9ffe-6e8cc0db3660 fwd="103.84.178.237" dyno= connect= service= status=503 bytes= protocol=https
2020-10-07T12:35:58.007464+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=moviereviewpredictor-api.herokuapp.com request_id=4306d705-482d-4d82-b20a-6aa04571ca3c fwd="103.84.178.237" dyno= connect= service= status=503 bytes= protocol=https
2020-10-07T12:35:58.588196+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=moviereviewpredictor-api.herokuapp.com request_id=dfadc329-4443-4ad3-921f-1d81c8cb7580 fwd="103.84.178.237" dyno= connect= service= status=503 bytes= protocol=https

@SubramanianRaghu SubramanianRaghu changed the title Application error for the ML model i deployed from Heroku Application error for the ML model i deployed from Heroku - at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" Oct 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant