NYUCCL / psiTurk

An open platform for science on Amazon Mechanical Turk.
https://psiturk.org
MIT License
277 stars 140 forks source link

Setting enable_dashboard = true prevents the experiment from running #506

Closed flxsosa closed 3 years ago

flxsosa commented 3 years ago

When setting enable_dashboard = true in the config.txt on Psiturk v3.2.0, the experiment doesn't run locally or remotely on Heroku. Locally, after running debug, the experiment page persistently loads and never returns anything. Remotely, after running debug, Heroku returns an application error stating the worker timed out.

Commenting out enable_dashboard = true to ;enable_dashboard = true fixes the problem.

deargle commented 3 years ago

Check your logs (heroku logs, server.log) to see what's being thrown.

On Wed, May 19, 2021, 8:58 AM Felix Sosa @.***> wrote:

When setting enable_dashboard = true in the config.txt on Psiturk v3.2.0, the experiment doesn't run locally or remotely on Heroku. Locally, after running debug, the experiment page persistently loads and never returns anything. Remotely, after running debug, Heroku returns an application error stating the worker timed out.

Commenting out enable_dashboard = true to ;enable_dashboard = true fixes the problem.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/NYUCCL/psiTurk/issues/506, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAI6Y7PK3AFATRX7QSV2NWDTOPGX5ANCNFSM45E3RLTQ .

flxsosa commented 3 years ago

Thanks for mentioning that. It turns out that I'm missing the secret_key variable as well. But the documentation doesn't mention this nor what value it should be set at. Do you know how this should be set?

flxsosa commented 3 years ago

I answered my own question -- you can set the secret_key to any value you find satisfactory.

It would be good if the documentation could be updated to note that you need to set secret_key as well as login_pw and login_username in order for the dashboard to work. Currently it only says you need login_pw and login_username.

deargle commented 3 years ago

True true. Want to PR?

On Wed, May 19, 2021, 10:47 AM Felix Sosa @.***> wrote:

I answered my own question -- you can set the secret_key to any value you find satisfactory.

It would be good if the documentation could be updated to note that you need to set secret_key as well as login_pw and login_username in order for the dashboard to work. Currently it only says you need login_pw and login_username.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/NYUCCL/psiTurk/issues/506#issuecomment-844282657, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAI6Y7KKPG3YGJIAH4IRLT3TOPTSVANCNFSM45E3RLTQ .

flxsosa commented 3 years ago

Happy to do so. Just made a PR!