heroku errors

324 views
Skip to first unread message

John Mark Johnson

unread,
Jul 1, 2021, 12:27:00 PM7/1/21
to PsiTurk
Hi there,

I keep getting Internal Server Error despite the experiment running outside of heroku.

Does anyone know what is wrong here?

Johns-MacBook-Pro-5:thesis_experiment JMJ$ heroku logs --tail
2021-07-01T16:14:24.546294+00:00 app[web.1]: rv = self.handle_user_exception(e)
2021-07-01T16:14:24.546294+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/flask/app.py", line 1821, in handle_user_exception
2021-07-01T16:14:24.546294+00:00 app[web.1]: reraise(exc_type, exc_value, tb)
2021-07-01T16:14:24.546295+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/flask/_compat.py", line 39, in reraise
2021-07-01T16:14:24.546296+00:00 app[web.1]: raise value
2021-07-01T16:14:24.546297+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/flask/app.py", line 1950, in full_dispatch_request
2021-07-01T16:14:24.546297+00:00 app[web.1]: rv = self.dispatch_request()
2021-07-01T16:14:24.546297+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/flask/app.py", line 1936, in dispatch_request
2021-07-01T16:14:24.546298+00:00 app[web.1]: return self.view_functions[rule.endpoint](**req.view_args)
2021-07-01T16:14:24.546298+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/psiturk/user_utils.py", line 23, in new_func
2021-07-01T16:14:24.546299+00:00 app[web.1]: resp = make_response(func(*args, **kwargs))
2021-07-01T16:14:24.546299+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/psiturk/experiment.py", line 236, in index
2021-07-01T16:14:24.546299+00:00 app[web.1]: return render_template('default.html')
2021-07-01T16:14:24.546300+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/flask/templating.py", line 138, in render_template
2021-07-01T16:14:24.546301+00:00 app[web.1]: ctx.app.jinja_env.get_or_select_template(template_name_or_list),
2021-07-01T16:14:24.546302+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/jinja2/environment.py", line 930, in get_or_select_template
2021-07-01T16:14:24.546302+00:00 app[web.1]: return self.get_template(template_name_or_list, parent, globals)
2021-07-01T16:14:24.546302+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/jinja2/environment.py", line 883, in get_template
2021-07-01T16:14:24.546303+00:00 app[web.1]: return self._load_template(name, self.make_globals(globals))
2021-07-01T16:14:24.546303+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/jinja2/environment.py", line 857, in _load_template
2021-07-01T16:14:24.546304+00:00 app[web.1]: template = self.loader.load(self, name, globals)
2021-07-01T16:14:24.546304+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/jinja2/loaders.py", line 115, in load
2021-07-01T16:14:24.546305+00:00 app[web.1]: source, filename, uptodate = self.get_source(environment, name)
2021-07-01T16:14:24.546305+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/flask/templating.py", line 60, in get_source
2021-07-01T16:14:24.546305+00:00 app[web.1]: return self._get_source_fast(environment, template)
2021-07-01T16:14:24.546306+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/flask/templating.py", line 89, in _get_source_fast
2021-07-01T16:14:24.546306+00:00 app[web.1]: raise TemplateNotFound(template)
2021-07-01T16:14:24.546307+00:00 app[web.1]: jinja2.exceptions.TemplateNotFound: default.html
2021-07-01T16:14:24.547474+00:00 app[web.1]: 10.99.228.79 - - [01/Jul/2021:16:14:24 +0000] "GET / HTTP/1.1" 500 290 "https://dashboard.heroku.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:89.0) Gecko/20100101 Firefox/89.0"
2021-07-01T16:14:24.547994+00:00 heroku[router]: at=info method=GET path="/" host=afternoon-reef-81000.herokuapp.com request_id=3e42c73b-0487-4d77-a110-1902c1616db1 fwd="76.85.97.222" dyno=web.1 connect=1ms service=7ms status=500 bytes=470 protocol=https
2021-07-01T16:14:53.213751+00:00 app[web.1]: [2021-07-01 16:14:53,212] ERROR in app: Exception on / [GET]
2021-07-01T16:14:53.213760+00:00 app[web.1]: Traceback (most recent call last):
2021-07-01T16:14:53.213761+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/flask/app.py", line 2447, in wsgi_app
2021-07-01T16:14:53.213762+00:00 app[web.1]: response = self.full_dispatch_request()
2021-07-01T16:14:53.213787+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/flask/app.py", line 1952, in full_dispatch_request
2021-07-01T16:14:53.213788+00:00 app[web.1]: rv = self.handle_user_exception(e)
2021-07-01T16:14:53.213788+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/flask/app.py", line 1821, in handle_user_exception
2021-07-01T16:14:53.213789+00:00 app[web.1]: reraise(exc_type, exc_value, tb)
2021-07-01T16:14:53.213789+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/flask/_compat.py", line 39, in reraise
2021-07-01T16:14:53.213790+00:00 app[web.1]: raise value
2021-07-01T16:14:53.213790+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/flask/app.py", line 1950, in full_dispatch_request
2021-07-01T16:14:53.213790+00:00 app[web.1]: rv = self.dispatch_request()
2021-07-01T16:14:53.213791+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/flask/app.py", line 1936, in dispatch_request
2021-07-01T16:14:53.213791+00:00 app[web.1]: return self.view_functions[rule.endpoint](**req.view_args)
2021-07-01T16:14:53.213791+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/psiturk/user_utils.py", line 23, in new_func
2021-07-01T16:14:53.213792+00:00 app[web.1]: resp = make_response(func(*args, **kwargs))
2021-07-01T16:14:53.213792+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/psiturk/experiment.py", line 236, in index
2021-07-01T16:14:53.213792+00:00 app[web.1]: return render_template('default.html')
2021-07-01T16:14:53.213793+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/flask/templating.py", line 138, in render_template
2021-07-01T16:14:53.213793+00:00 app[web.1]: ctx.app.jinja_env.get_or_select_template(template_name_or_list),
2021-07-01T16:14:53.213794+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/jinja2/environment.py", line 930, in get_or_select_template
2021-07-01T16:14:53.213794+00:00 app[web.1]: return self.get_template(template_name_or_list, parent, globals)
2021-07-01T16:14:53.213795+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/jinja2/environment.py", line 883, in get_template
2021-07-01T16:14:53.213795+00:00 app[web.1]: return self._load_template(name, self.make_globals(globals))
2021-07-01T16:14:53.213795+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/jinja2/environment.py", line 857, in _load_template
2021-07-01T16:14:53.213796+00:00 app[web.1]: template = self.loader.load(self, name, globals)
2021-07-01T16:14:53.213796+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/jinja2/loaders.py", line 115, in load
2021-07-01T16:14:53.213797+00:00 app[web.1]: source, filename, uptodate = self.get_source(environment, name)
2021-07-01T16:14:53.213797+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/flask/templating.py", line 60, in get_source
2021-07-01T16:14:53.213797+00:00 app[web.1]: return self._get_source_fast(environment, template)
2021-07-01T16:14:53.213798+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/flask/templating.py", line 89, in _get_source_fast
2021-07-01T16:14:53.213798+00:00 app[web.1]: raise TemplateNotFound(template)
2021-07-01T16:14:53.213798+00:00 app[web.1]: jinja2.exceptions.TemplateNotFound: default.html
2021-07-01T16:14:53.217494+00:00 app[web.1]: 10.99.228.79 - - [01/Jul/2021:16:14:53 +0000] "GET / HTTP/1.1" 500 290 "https://dashboard.heroku.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:89.0) Gecko/20100101 Firefox/89.0"
2021-07-01T16:14:53.218162+00:00 heroku[router]: at=info method=GET path="/" host=afternoon-reef-81000.herokuapp.com request_id=c384e917-92a1-465f-9e72-2d14e93c39af fwd="76.85.97.222" dyno=web.1 connect=1ms service=7ms status=500 bytes=470 protocol=https
2021-07-01T16:15:27.250165+00:00 app[web.1]: [2021-07-01 16:15:27,242] ERROR in app: Exception on / [GET]
2021-07-01T16:15:27.250209+00:00 app[web.1]: Traceback (most recent call last):
2021-07-01T16:15:27.250210+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/flask/app.py", line 2447, in wsgi_app
2021-07-01T16:15:27.250210+00:00 app[web.1]: response = self.full_dispatch_request()
2021-07-01T16:15:27.250211+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/flask/app.py", line 1952, in full_dispatch_request
2021-07-01T16:15:27.250211+00:00 app[web.1]: rv = self.handle_user_exception(e)
2021-07-01T16:15:27.250212+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/flask/app.py", line 1821, in handle_user_exception
2021-07-01T16:15:27.250212+00:00 app[web.1]: reraise(exc_type, exc_value, tb)
2021-07-01T16:15:27.250212+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/flask/_compat.py", line 39, in reraise
2021-07-01T16:15:27.250213+00:00 app[web.1]: raise value
2021-07-01T16:15:27.250213+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/flask/app.py", line 1950, in full_dispatch_request
2021-07-01T16:15:27.250214+00:00 app[web.1]: rv = self.dispatch_request()
2021-07-01T16:15:27.250214+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/flask/app.py", line 1936, in dispatch_request
2021-07-01T16:15:27.250215+00:00 app[web.1]: return self.view_functions[rule.endpoint](**req.view_args)
2021-07-01T16:15:27.250215+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/psiturk/user_utils.py", line 23, in new_func
2021-07-01T16:15:27.250216+00:00 app[web.1]: resp = make_response(func(*args, **kwargs))
2021-07-01T16:15:27.250216+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/psiturk/experiment.py", line 236, in index
2021-07-01T16:15:27.250216+00:00 app[web.1]: return render_template('default.html')
2021-07-01T16:15:27.250234+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/flask/templating.py", line 138, in render_template
2021-07-01T16:15:27.250235+00:00 app[web.1]: ctx.app.jinja_env.get_or_select_template(template_name_or_list),
2021-07-01T16:15:27.250235+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/jinja2/environment.py", line 930, in get_or_select_template
2021-07-01T16:15:27.250236+00:00 app[web.1]: return self.get_template(template_name_or_list, parent, globals)
2021-07-01T16:15:27.250236+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/jinja2/environment.py", line 883, in get_template
2021-07-01T16:15:27.250237+00:00 app[web.1]: return self._load_template(name, self.make_globals(globals))
2021-07-01T16:15:27.250237+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/jinja2/environment.py", line 857, in _load_template
2021-07-01T16:15:27.250237+00:00 app[web.1]: template = self.loader.load(self, name, globals)
2021-07-01T16:15:27.250238+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/jinja2/loaders.py", line 115, in load
2021-07-01T16:15:27.250238+00:00 app[web.1]: source, filename, uptodate = self.get_source(environment, name)
2021-07-01T16:15:27.250239+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/flask/templating.py", line 60, in get_source
2021-07-01T16:15:27.250239+00:00 app[web.1]: return self._get_source_fast(environment, template)
2021-07-01T16:15:27.250239+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/flask/templating.py", line 89, in _get_source_fast
2021-07-01T16:15:27.250240+00:00 app[web.1]: raise TemplateNotFound(template)
2021-07-01T16:15:27.250240+00:00 app[web.1]: jinja2.exceptions.TemplateNotFound: default.html
2021-07-01T16:15:27.251796+00:00 app[web.1]: 10.99.228.79 - - [01/Jul/2021:16:15:27 +0000] "GET / HTTP/1.1" 500 290 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:89.0) Gecko/20100101 Firefox/89.0"
2021-07-01T16:15:27.251972+00:00 heroku[router]: at=info method=GET path="/" host=afternoon-reef-81000.herokuapp.com request_id=681f044a-a2cd-439b-b347-99bfa3a39c73 fwd="76.85.97.222" dyno=web.1 connect=1ms service=13ms status=500 bytes=470 protocol=https

John Mark Johnson

unread,
Jul 1, 2021, 1:27:21 PM7/1/21
to PsiTurk
2021-07-01T17:26:37.122985+00:00 app[web.1]: psiturk.psiturk_exceptions.PsiturkException: PsiturkException: Secure route specified, but at least one of `login_username`, `login_pw`, and `secret_key` not set in config! Set them and try again.
2021-07-01T17:26:37.321392+00:00 app[web.1]: Traceback (most recent call last):
2021-07-01T17:26:37.321412+00:00 app[web.1]: File "src/gevent/greenlet.py", line 906, in gevent._gevent_cgreenlet.Greenlet.run
2021-07-01T17:26:37.321413+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/arbiter.py", line 242, in handle_chld
2021-07-01T17:26:37.321414+00:00 app[web.1]: self.reap_workers()
2021-07-01T17:26:37.321435+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/arbiter.py", line 525, in reap_workers
2021-07-01T17:26:37.321436+00:00 app[web.1]: raise HaltServer(reason, self.WORKER_BOOT_ERROR)
2021-07-01T17:26:37.321493+00:00 app[web.1]: gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>
2021-07-01T17:26:37.321647+00:00 app[web.1]: 2021-07-01T17:26:37Z <Greenlet at 0x7f5bb3cd39d0: <bound method Arbiter.handle_chld of <gunicorn.arbiter.Arbiter object at 0x7f5bb45c4cd0>>(17, None)> failed with HaltServer
2021-07-01T17:26:37.321648+00:00 app[web.1]:
2021-07-01T17:26:37.344306+00:00 app[web.1]: Traceback (most recent call last):
2021-07-01T17:26:37.344373+00:00 app[web.1]: File "src/gevent/greenlet.py", line 906, in gevent._gevent_cgreenlet.Greenlet.run
2021-07-01T17:26:37.344442+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/arbiter.py", line 242, in handle_chld
2021-07-01T17:26:37.344444+00:00 app[web.1]: self.reap_workers()
2021-07-01T17:26:37.344492+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/arbiter.py", line 525, in reap_workers
2021-07-01T17:26:37.344494+00:00 app[web.1]: raise HaltServer(reason, self.WORKER_BOOT_ERROR)
2021-07-01T17:26:37.344581+00:00 app[web.1]: gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>
2021-07-01T17:26:37.344766+00:00 app[web.1]: 2021-07-01T17:26:37Z <Greenlet at 0x7f5bb3cd39d0: <bound method Arbiter.handle_chld of <gunicorn.arbiter.Arbiter object at 0x7f5bb45c4cd0>>(17, None)> failed with HaltServer
2021-07-01T17:26:37.344766+00:00 app[web.1]:
2021-07-01T17:26:37.371184+00:00 app[web.1]: Traceback (most recent call last):
2021-07-01T17:26:37.371273+00:00 app[web.1]: File "src/gevent/greenlet.py", line 906, in gevent._gevent_cgreenlet.Greenlet.run
2021-07-01T17:26:37.371318+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/arbiter.py", line 242, in handle_chld
2021-07-01T17:26:37.371319+00:00 app[web.1]: self.reap_workers()
2021-07-01T17:26:37.371355+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/arbiter.py", line 525, in reap_workers
2021-07-01T17:26:37.371356+00:00 app[web.1]: raise HaltServer(reason, self.WORKER_BOOT_ERROR)
2021-07-01T17:26:37.371406+00:00 app[web.1]: gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>
2021-07-01T17:26:37.371659+00:00 app[web.1]: 2021-07-01T17:26:37Z <Greenlet at 0x7f5bb3cd39d0: <bound method Arbiter.handle_chld of <gunicorn.arbiter.Arbiter object at 0x7f5bb45c4cd0>>(17, None)> failed with HaltServer
2021-07-01T17:26:37.371660+00:00 app[web.1]:
2021-07-01T17:26:37.492546+00:00 app[web.1]: [2021-07-01 17:26:37 +0000] [193] [ERROR] Exception in worker process
2021-07-01T17:26:37.492548+00:00 app[web.1]: Traceback (most recent call last):
2021-07-01T17:26:37.492549+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker
2021-07-01T17:26:37.492550+00:00 app[web.1]: worker.init_process()
2021-07-01T17:26:37.492550+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/workers/ggevent.py", line 162, in init_process
2021-07-01T17:26:37.492550+00:00 app[web.1]: super().init_process()
2021-07-01T17:26:37.492551+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/workers/base.py", line 119, in init_process
2021-07-01T17:26:37.492551+00:00 app[web.1]: self.load_wsgi()
2021-07-01T17:26:37.492552+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/workers/base.py", line 144, in load_wsgi
2021-07-01T17:26:37.492552+00:00 app[web.1]: self.wsgi = self.app.wsgi()
2021-07-01T17:26:37.492552+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/app/base.py", line 67, in wsgi
2021-07-01T17:26:37.492553+00:00 app[web.1]: self.callable = self.load()
2021-07-01T17:26:37.492553+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/psiturk/experiment_server.py", line 68, in load
2021-07-01T17:26:37.492554+00:00 app[web.1]: return util.import_app("psiturk.experiment:app")
2021-07-01T17:26:37.492554+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/util.py", line 358, in import_app
2021-07-01T17:26:37.492555+00:00 app[web.1]: mod = importlib.import_module(module)
2021-07-01T17:26:37.492555+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/importlib/__init__.py", line 127, in import_module
2021-07-01T17:26:37.492555+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
2021-07-01T17:26:37.492556+00:00 app[web.1]: File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
2021-07-01T17:26:37.492556+00:00 app[web.1]: File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
2021-07-01T17:26:37.492557+00:00 app[web.1]: File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
2021-07-01T17:26:37.492557+00:00 app[web.1]: File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
2021-07-01T17:26:37.492558+00:00 app[web.1]: File "<frozen importlib._bootstrap_external>", line 855, in exec_module
2021-07-01T17:26:37.492558+00:00 app[web.1]: File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
2021-07-01T17:26:37.492558+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/psiturk/experiment.py", line 78, in <module>
2021-07-01T17:26:37.492559+00:00 app[web.1]: from custom import custom_code
2021-07-01T17:26:37.492559+00:00 app[web.1]: File "/app/custom.py", line 21, in <module>
2021-07-01T17:26:37.492559+00:00 app[web.1]: myauth = PsiTurkAuthorization(config)
2021-07-01T17:26:37.492560+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/psiturk/user_utils.py", line 40, in __init__
2021-07-01T17:26:37.492561+00:00 app[web.1]: raise PsiturkException(message='Secure route specified, but at least one of `login_username`, `login_pw`, and `secret_key` not set in config! Set them and try again.')
2021-07-01T17:26:37.492567+00:00 app[web.1]: psiturk.psiturk_exceptions.PsiturkException: PsiturkException: Secure route specified, but at least one of `login_username`, `login_pw`, and `secret_key` not set in config! Set them and try again.
2021-07-01T17:26:37.599231+00:00 app[web.1]: Traceback (most recent call last):
2021-07-01T17:26:37.599390+00:00 app[web.1]: File "src/gevent/greenlet.py", line 906, in gevent._gevent_cgreenlet.Greenlet.run
2021-07-01T17:26:37.599392+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/arbiter.py", line 242, in handle_chld
2021-07-01T17:26:37.599393+00:00 app[web.1]: self.reap_workers()
2021-07-01T17:26:37.599396+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/arbiter.py", line 525, in reap_workers
2021-07-01T17:26:37.599397+00:00 app[web.1]: raise HaltServer(reason, self.WORKER_BOOT_ERROR)
2021-07-01T17:26:37.599453+00:00 app[web.1]: gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>
2021-07-01T17:26:37.599654+00:00 app[web.1]: 2021-07-01T17:26:37Z <Greenlet at 0x7f5bb3cd39d0: <bound method Arbiter.handle_chld of <gunicorn.arbiter.Arbiter object at 0x7f5bb45c4cd0>>(17, None)> failed with HaltServer
2021-07-01T17:26:37.599655+
00:00 app[web.1]:



--
You received this message because you are subscribed to a topic in the Google Groups "PsiTurk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/psiturk/0Gkai8zZosc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to psiturk+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/psiturk/c3068e0b-e416-4cee-9603-9e841acc3af1n%40googlegroups.com.

Dave Eargle

unread,
Jul 1, 2021, 3:52:26 PM7/1/21
to John Mark Johnson, PsiTurk
psiturk.psiturk_exceptions.PsiturkException: PsiturkException: Secure route specified, but at least one of `login_username`, `login_pw`, and `secret_key` not set in config! Set them and try again.

You received this message because you are subscribed to the Google Groups "PsiTurk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to psiturk+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/psiturk/CABm_767H5tEbEUvEtEUT4DDQuHAMwyRuyTGxCwJGw0mva%2B6stg%40mail.gmail.com.

John Mark Johnson

unread,
Jul 1, 2021, 4:16:16 PM7/1/21
to Dave Eargle, PsiTurk
So I set those and then :

Git add * -f
Git commit -m “initial commit” 
Git push heroku master

??

Curiously, I ran a few participants through yesterday and a couple of them worked while another worker said the experiment jumped to the end. None of those had been assigned. 

John Mark Johnson

unread,
Jul 1, 2021, 5:43:19 PM7/1/21
to Dave Eargle, PsiTurk
Hi Dave,

I tried what you suggested above and got the following:

2021-07-01T21:35:55.157669+00:00 app[web.1]: gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>
2021-07-01T21:35:55.157868+00:00 app[web.1]: 2021-07-01T21:35:55Z <Greenlet at 0x7f9349c8e9d0: <bound method Arbiter.handle_chld of <gunicorn.arbiter.Arbiter object at 0x7f9349cb1b80>>(17, None)> failed with HaltServer
2021-07-01T21:35:55.157869+00:00 app[web.1]:
2021-07-01T21:35:55.162469+00:00 app[web.1]: [2021-07-01 21:35:55 +0000] [206] [ERROR] Exception in worker process
2021-07-01T21:35:55.162471+00:00 app[web.1]: Traceback (most recent call last):
2021-07-01T21:35:55.162472+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker
2021-07-01T21:35:55.162473+00:00 app[web.1]: worker.init_process()
2021-07-01T21:35:55.162473+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/workers/ggevent.py", line 162, in init_process
2021-07-01T21:35:55.162473+00:00 app[web.1]: super().init_process()
2021-07-01T21:35:55.162491+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/workers/base.py", line 119, in init_process
2021-07-01T21:35:55.162491+00:00 app[web.1]: self.load_wsgi()
2021-07-01T21:35:55.162491+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/workers/base.py", line 144, in load_wsgi
2021-07-01T21:35:55.162492+00:00 app[web.1]: self.wsgi = self.app.wsgi()
2021-07-01T21:35:55.162492+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/app/base.py", line 67, in wsgi
2021-07-01T21:35:55.162493+00:00 app[web.1]: self.callable = self.load()
2021-07-01T21:35:55.162493+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/psiturk/experiment_server.py", line 68, in load
2021-07-01T21:35:55.162494+00:00 app[web.1]: return util.import_app("psiturk.experiment:app")
2021-07-01T21:35:55.162494+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/util.py", line 358, in import_app
2021-07-01T21:35:55.162495+00:00 app[web.1]: mod = importlib.import_module(module)
2021-07-01T21:35:55.162495+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/importlib/__init__.py", line 127, in import_module
2021-07-01T21:35:55.162496+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
2021-07-01T21:35:55.162496+00:00 app[web.1]: File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
2021-07-01T21:35:55.162496+00:00 app[web.1]: File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
2021-07-01T21:35:55.162497+00:00 app[web.1]: File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
2021-07-01T21:35:55.162497+00:00 app[web.1]: File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
2021-07-01T21:35:55.162497+00:00 app[web.1]: File "<frozen importlib._bootstrap_external>", line 855, in exec_module
2021-07-01T21:35:55.162498+00:00 app[web.1]: File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
2021-07-01T21:35:55.162498+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/psiturk/experiment.py", line 125, in <module>
2021-07-01T21:35:55.162499+00:00 app[web.1]: if CONFIG.getboolean('Server Parameters', 'enable_dashboard'):
2021-07-01T21:35:55.162499+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/configparser.py", line 828, in getboolean
2021-07-01T21:35:55.162500+00:00 app[web.1]: return self._get_conv(section, option, self._convert_to_boolean,
2021-07-01T21:35:55.162500+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/configparser.py", line 808, in _get_conv
2021-07-01T21:35:55.162500+00:00 app[web.1]: return self._get(section, conv, option, raw=raw, vars=vars,
2021-07-01T21:35:55.162501+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/configparser.py", line 803, in _get
2021-07-01T21:35:55.162501+00:00 app[web.1]: return conv(self.get(section, option, **kwargs))
2021-07-01T21:35:55.162502+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/configparser.py", line 1163, in _convert_to_boolean
2021-07-01T21:35:55.162502+00:00 app[web.1]: raise ValueError('Not a boolean: %s' % value)
2021-07-01T21:35:55.162502+00:00 app[web.1]: ValueError: Not a boolean:
2021-07-01T21:35:55.294823+00:00 app[web.1]: Traceback (most recent call last):
2021-07-01T21:35:55.294939+00:00 app[web.1]: File "src/gevent/greenlet.py", line 906, in gevent._gevent_cgreenlet.Greenlet.run
2021-07-01T21:35:55.294973+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/arbiter.py", line 242, in handle_chld
2021-07-01T21:35:55.294973+00:00 app[web.1]: self.reap_workers()
2021-07-01T21:35:55.295002+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/arbiter.py", line 525, in reap_workers
2021-07-01T21:35:55.295003+00:00 app[web.1]: raise HaltServer(reason, self.WORKER_BOOT_ERROR)
2021-07-01T21:35:55.295076+00:00 app[web.1]: gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>
2021-07-01T21:35:55.295243+00:00 app[web.1]: 2021-07-01T21:35:55Z <Greenlet at 0x7f9349c8e9d0: <bound method Arbiter.handle_chld of <gunicorn.arbiter.Arbiter object at 0x7f9349cb1b80>>(17, None)> failed with HaltServer
2021-07-01T21:35:55.295244+00:00 app[web.1]:
2021-07-01T21:35:55.333751+00:00 app[web.1]: [2021-07-01 21:35:55 +0000] [210] [ERROR] Exception in worker process
2021-07-01T21:35:55.333754+00:00 app[web.1]: Traceback (most recent call last):
2021-07-01T21:35:55.333755+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker
2021-07-01T21:35:55.333759+00:00 app[web.1]: worker.init_process()
2021-07-01T21:35:55.333760+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/workers/ggevent.py", line 162, in init_process
2021-07-01T21:35:55.333761+00:00 app[web.1]: super().init_process()
2021-07-01T21:35:55.333761+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/workers/base.py", line 119, in init_process
2021-07-01T21:35:55.333761+00:00 app[web.1]: self.load_wsgi()
2021-07-01T21:35:55.333762+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/workers/base.py", line 144, in load_wsgi
2021-07-01T21:35:55.333762+00:00 app[web.1]: self.wsgi = self.app.wsgi()
2021-07-01T21:35:55.333763+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/app/base.py", line 67, in wsgi
2021-07-01T21:35:55.333763+00:00 app[web.1]: self.callable = self.load()
2021-07-01T21:35:55.333764+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/psiturk/experiment_server.py", line 68, in load
2021-07-01T21:35:55.333764+00:00 app[web.1]: return util.import_app("psiturk.experiment:app")
2021-07-01T21:35:55.333765+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/util.py", line 358, in import_app
2021-07-01T21:35:55.333765+00:00 app[web.1]: mod = importlib.import_module(module)
2021-07-01T21:35:55.333765+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/importlib/__init__.py", line 127, in import_module
2021-07-01T21:35:55.333766+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
2021-07-01T21:35:55.333766+00:00 app[web.1]: File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
2021-07-01T21:35:55.333767+00:00 app[web.1]: File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
2021-07-01T21:35:55.333767+00:00 app[web.1]: File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
2021-07-01T21:35:55.333767+00:00 app[web.1]: File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
2021-07-01T21:35:55.333768+00:00 app[web.1]: File "<frozen importlib._bootstrap_external>", line 855, in exec_module
2021-07-01T21:35:55.333768+00:00 app[web.1]: File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
2021-07-01T21:35:55.333769+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/psiturk/experiment.py", line 125, in <module>
2021-07-01T21:35:55.333769+00:00 app[web.1]: if CONFIG.getboolean('Server Parameters', 'enable_dashboard'):
2021-07-01T21:35:55.333770+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/configparser.py", line 828, in getboolean
2021-07-01T21:35:55.333770+00:00 app[web.1]: return self._get_conv(section, option, self._convert_to_boolean,
2021-07-01T21:35:55.333771+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/configparser.py", line 808, in _get_conv
2021-07-01T21:35:55.333771+00:00 app[web.1]: return self._get(section, conv, option, raw=raw, vars=vars,
2021-07-01T21:35:55.333771+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/configparser.py", line 803, in _get
2021-07-01T21:35:55.333772+00:00 app[web.1]: return conv(self.get(section, option, **kwargs))
2021-07-01T21:35:55.333772+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/configparser.py", line 1163, in _convert_to_boolean
2021-07-01T21:35:55.333773+00:00 app[web.1]: raise ValueError('Not a boolean: %s' % value)
2021-07-01T21:35:55.333773+00:00 app[web.1]: ValueError: Not a boolean:
2021-07-01T21:35:55.346581+00:00 app[web.1]: Traceback (most recent call last):
2021-07-01T21:35:55.346619+00:00 app[web.1]: File "src/gevent/greenlet.py", line 906, in gevent._gevent_cgreenlet.Greenlet.run
2021-07-01T21:35:55.349019+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/arbiter.py", line 242, in handle_chld
2021-07-01T21:35:55.349021+00:00 app[web.1]: self.reap_workers()
2021-07-01T21:35:55.349021+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/arbiter.py", line 525, in reap_workers
2021-07-01T21:35:55.349022+00:00 app[web.1]: raise HaltServer(reason, self.WORKER_BOOT_ERROR)
2021-07-01T21:35:55.349050+00:00 app[web.1]: gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>
2021-07-01T21:35:55.349221+00:00 app[web.1]: 2021-07-01T21:35:55Z <Greenlet at 0x7f9349c8e9d0: <bound method Arbiter.handle_chld of <gunicorn.arbiter.Arbiter object at 0x7f9349cb1b80>>(17, None)> failed with HaltServer
2021-07-01T21:35:55.349222+00:00 app[web.1]:
2021-07-01T21:35:55.449636+00:00 app[web.1]: Traceback (most recent call last):
2021-07-01T21:35:55.449676+00:00 app[web.1]: File "src/gevent/greenlet.py", line 906, in gevent._gevent_cgreenlet.Greenlet.run
2021-07-01T21:35:55.449681+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/arbiter.py", line 242, in handle_chld
2021-07-01T21:35:55.449682+00:00 app[web.1]: self.reap_workers()
2021-07-01T21:35:55.449713+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/arbiter.py", line 525, in reap_workers
2021-07-01T21:35:55.449714+00:00 app[web.1]: raise HaltServer(reason, self.WORKER_BOOT_ERROR)
2021-07-01T21:35:55.449760+00:00 app[web.1]: gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>
2021-07-01T21:35:55.449882+00:00 app[web.1]: 2021-07-01T21:35:55Z <Greenlet at 0x7f9349c8e9d0: <bound method Arbiter.handle_chld of <gunicorn.arbiter.Arbiter object at 0x7f9349cb1b80>>(17, None)> failed with HaltServer

John Mark Johnson

unread,
Jul 1, 2021, 6:06:26 PM7/1/21
to Dave Eargle, PsiTurk
I am totally lost at what is happening. I can't even get the experiment to pull up in debug mode.

Dave Eargle

unread,
Jul 1, 2021, 6:38:42 PM7/1/21
to John Mark Johnson, PsiTurk
The last message I sent was copied out of your error log. The message below is also copied from your error log -- it suggests there's something wrong with the way you're setting "enable_dashboard" in your config. Please read your error logs carefully to try to solve these on your own.

2021-07-01T21:35:55.162499+00:
00 app[web.1]: if CONFIG.getboolean('Server Parameters', 'enable_dashboard'):
2021-07-01T21:35:55.162499+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/configparser.py", line 828, in getboolean
2021-07-01T21:35:55.162500+00:00 app[web.1]: return self._get_conv(section, option, self._convert_to_boolean,
2021-07-01T21:35:55.162500+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/configparser.py", line 808, in _get_conv
2021-07-01T21:35:55.162500+00:00 app[web.1]: return self._get(section, conv, option, raw=raw, vars=vars,
2021-07-01T21:35:55.162501+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/configparser.py", line 803, in _get
2021-07-01T21:35:55.162501+00:00 app[web.1]: return conv(self.get(section, option, **kwargs))
2021-07-01T21:35:55.162502+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/configparser.py", line 1163, in _convert_to_boolean
2021-07-01T21:35:55.162502+00:00 app[web.1]: raise ValueError('Not a boolean: %s' % value)
2021-07-01T21:35:55.162502+00:00 app[web.1]: ValueError: Not a boolean:

John Mark Johnson

unread,
Jul 1, 2021, 6:51:36 PM7/1/21
to Dave Eargle, PsiTurk
I understand and I have been. But that error was occurring for a few days with the experiment at least still showing up in debug. Now, I am unable to see it in debug and when I try to look at the logs I am seeing this over and over again:

[2021-07-01 22:49:26 +0000] [2664] [ERROR] Exception in worker process
2021-07-01T22:49:26.777477+00:00 app[web.1]: Traceback (most recent call last):
2021-07-01T22:49:26.777478+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker
2021-07-01T22:49:26.777479+00:00 app[web.1]: worker.init_process()
2021-07-01T22:49:26.777479+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/workers/ggevent.py", line 162, in init_process
2021-07-01T22:49:26.777482+00:00 app[web.1]: super().init_process()
2021-07-01T22:49:26.777482+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/workers/base.py", line 119, in init_process
2021-07-01T22:49:26.777482+00:00 app[web.1]: self.load_wsgi()
2021-07-01T22:49:26.777483+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/workers/base.py", line 144, in load_wsgi
2021-07-01T22:49:26.777483+00:00 app[web.1]: self.wsgi = self.app.wsgi()
2021-07-01T22:49:26.777484+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/app/base.py", line 67, in wsgi
2021-07-01T22:49:26.777484+00:00 app[web.1]: self.callable = self.load()
2021-07-01T22:49:26.777485+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/psiturk/experiment_server.py", line 68, in load
2021-07-01T22:49:26.777485+00:00 app[web.1]: return util.import_app("psiturk.experiment:app")
2021-07-01T22:49:26.777486+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/util.py", line 358, in import_app
2021-07-01T22:49:26.777486+00:00 app[web.1]: mod = importlib.import_module(module)
2021-07-01T22:49:26.777486+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/importlib/__init__.py", line 127, in import_module
2021-07-01T22:49:26.777487+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
2021-07-01T22:49:26.777487+00:00 app[web.1]: File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
2021-07-01T22:49:26.777488+00:00 app[web.1]: File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
2021-07-01T22:49:26.777488+00:00 app[web.1]: File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
2021-07-01T22:49:26.777489+00:00 app[web.1]: File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
2021-07-01T22:49:26.777489+00:00 app[web.1]: File "<frozen importlib._bootstrap_external>", line 855, in exec_module
2021-07-01T22:49:26.777490+00:00 app[web.1]: File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
2021-07-01T22:49:26.777490+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/psiturk/experiment.py", line 125, in <module>
2021-07-01T22:49:26.777490+00:00 app[web.1]: if CONFIG.getboolean('Server Parameters', 'enable_dashboard'):
2021-07-01T22:49:26.777491+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/configparser.py", line 828, in getboolean
2021-07-01T22:49:26.777491+00:00 app[web.1]: return self._get_conv(section, option, self._convert_to_boolean,
2021-07-01T22:49:26.777491+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/configparser.py", line 808, in _get_conv
2021-07-01T22:49:26.777492+00:00 app[web.1]: return self._get(section, conv, option, raw=raw, vars=vars,
2021-07-01T22:49:26.777492+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/configparser.py", line 803, in _get
2021-07-01T22:49:26.777493+00:00 app[web.1]: return conv(self.get(section, option, **kwargs))
2021-07-01T22:49:26.777493+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/configparser.py", line 1163, in _convert_to_boolean
2021-07-01T22:49:26.777493+00:00 app[web.1]: raise ValueError('Not a boolean: %s' % value)
2021-07-01T22:49:26.777494+00:00 app[web.1]: ValueError: Not a boolean:
2021-07-01T22:49:26.990283+00:00 app[web.1]: Traceback (most recent call last):
2021-07-01T22:49:26.997314+00:00 app[web.1]: File "src/gevent/greenlet.py", line 906, in gevent._gevent_cgreenlet.Greenlet.run
2021-07-01T22:49:26.997326+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/arbiter.py", line 242, in handle_chld
2021-07-01T22:49:26.997327+00:00 app[web.1]: self.reap_workers()
2021-07-01T22:49:26.997327+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/arbiter.py", line 525, in reap_workers
2021-07-01T22:49:26.997328+00:00 app[web.1]: raise HaltServer(reason, self.WORKER_BOOT_ERROR)
2021-07-01T22:49:26.997367+00:00 app[web.1]: gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>
2021-07-01T22:49:26.997596+00:00 app[web.1]: 2021-07-01T22:49:26Z <Greenlet at 0x7f9349752040: <bound method Arbiter.handle_chld of <gunicorn.arbiter.Arbiter object at 0x7f9349cb1b80>>(17, None)> failed with HaltServer
2021-07-01T22:49:26.997597+00:00 app[web.1]:
2021-07-01T22:49:28.241663+00:00 app[web.1]: [2021-07-01 22:49:28 +0000] [4] [CRITICAL] WORKER TIMEOUT (pid:2648)
2021-07-01T22:49:29.371948+00:00 app[web.1]: [2021-07-01 22:49:29 +0000] [2665] [ERROR] Exception in worker process
2021-07-01T22:49:29.371959+00:00 app[web.1]: Traceback (most recent call last):
2021-07-01T22:49:29.371961+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker
2021-07-01T22:49:29.371961+00:00 app[web.1]: worker.init_process()
2021-07-01T22:49:29.371962+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/workers/ggevent.py", line 162, in init_process
2021-07-01T22:49:29.371962+00:00 app[web.1]: super().init_process()
2021-07-01T22:49:29.371963+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/workers/base.py", line 119, in init_process
2021-07-01T22:49:29.371963+00:00 app[web.1]: self.load_wsgi()
2021-07-01T22:49:29.371963+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/workers/base.py", line 144, in load_wsgi
2021-07-01T22:49:29.371964+00:00 app[web.1]: self.wsgi = self.app.wsgi()
2021-07-01T22:49:29.371965+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/app/base.py", line 67, in wsgi
2021-07-01T22:49:29.371965+00:00 app[web.1]: self.callable = self.load()
2021-07-01T22:49:29.371965+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/psiturk/experiment_server.py", line 68, in load
2021-07-01T22:49:29.371966+00:00 app[web.1]: return util.import_app("psiturk.experiment:app")
2021-07-01T22:49:29.371966+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/util.py", line 358, in import_app
2021-07-01T22:49:29.371967+00:00 app[web.1]: mod = importlib.import_module(module)
2021-07-01T22:49:29.371967+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/importlib/__init__.py", line 127, in import_module
2021-07-01T22:49:29.371968+00:00 app[web.1]: return _bootstrap._gcd_import(name[level:], package, level)
2021-07-01T22:49:29.371968+00:00 app[web.1]: File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
2021-07-01T22:49:29.371968+00:00 app[web.1]: File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
2021-07-01T22:49:29.371969+00:00 app[web.1]: File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
2021-07-01T22:49:29.371969+00:00 app[web.1]: File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
2021-07-01T22:49:29.371970+00:00 app[web.1]: File "<frozen importlib._bootstrap_external>", line 855, in exec_module
2021-07-01T22:49:29.371970+00:00 app[web.1]: File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
2021-07-01T22:49:29.371970+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/psiturk/experiment.py", line 125, in <module>
2021-07-01T22:49:29.371971+00:00 app[web.1]: if CONFIG.getboolean('Server Parameters', 'enable_dashboard'):
2021-07-01T22:49:29.371972+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/configparser.py", line 828, in getboolean
2021-07-01T22:49:29.371972+00:00 app[web.1]: return self._get_conv(section, option, self._convert_to_boolean,
2021-07-01T22:49:29.371972+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/configparser.py", line 808, in _get_conv
2021-07-01T22:49:29.371973+00:00 app[web.1]: return self._get(section, conv, option, raw=raw, vars=vars,
2021-07-01T22:49:29.371973+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/configparser.py", line 803, in _get
2021-07-01T22:49:29.371974+00:00 app[web.1]: return conv(self.get(section, option, **kwargs))
2021-07-01T22:49:29.371974+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/configparser.py", line 1163, in _convert_to_boolean
2021-07-01T22:49:29.371975+00:00 app[web.1]: raise ValueError('Not a boolean: %s' % value)
2021-07-01T22:49:29.371975+00:00 app[web.1]: ValueError: Not a boolean:
2021-07-01T22:49:29.500272+00:00 app[web.1]: Traceback (most recent call last):
2021-07-01T22:49:29.500281+00:00 app[web.1]: File "src/gevent/greenlet.py", line 906, in gevent._gevent_cgreenlet.Greenlet.run
2021-07-01T22:49:29.500284+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/arbiter.py", line 242, in handle_chld
2021-07-01T22:49:29.500285+00:00 app[web.1]: self.reap_workers()
2021-07-01T22:49:29.500320+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.9/site-packages/gunicorn/arbiter.py", line 525, in reap_workers
2021-07-01T22:49:29.500322+00:00 app[web.1]: raise HaltServer(reason, self.WORKER_BOOT_ERROR)
2021-07-01T22:49:29.500348+00:00 app[web.1]: gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>
2021-07-01T22:49:29.500516+00:00 app[web.1]: 2021-07-01T22:49:29Z <Greenlet at 0x7f9349752040: <bound method Arbiter.handle_chld of <gunicorn.arbiter.Arbiter object at 0x7f9349cb1b80>>(17, None)> failed with HaltServer


I don't know why the experiment has suddenly quit working all together.
Reply all
Reply to author
Forward
0 new messages