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

Reporting script can die on the orchestrator #189

Open
cle-ros opened this issue Dec 26, 2019 · 1 comment
Open

Reporting script can die on the orchestrator #189

cle-ros opened this issue Dec 26, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@cle-ros
Copy link
Collaborator

cle-ros commented Dec 26, 2019

When running on a cluster, clicking both the "download" buttons on the report site can lead to a crash of parts of the webapp.

steps to reproduce:

  1. start flambe on cluster
  2. wait until reporting becomes available
  3. click on both "download" buttons
  4. click on console. There, you'll see Oops! Results not available
@cle-ros cle-ros added the bug Something isn't working label Dec 26, 2019
@yukw777
Copy link
Contributor

yukw777 commented Dec 26, 2019

As @iitzco-asapp mentioned, this is b/c the simple flask server cannot handle parallel requests. We can solve this issue by running the report site behind a wsgi server such as gunicorn. More information here: https://flask.palletsprojects.com/en/1.1.x/deploying/wsgi-standalone/. I do fear running the report site behind a wsgi server may be an overkill though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants