Skip to content

Intermittent errors with CWL Viewer #424

Closed
@kinow

Description

@kinow

Description

Last week @mr-c reported CWL Viewer was not working, showing an error message when trying to import a new workflow. We fixed it after cleaning the temporary directory and restarting some services in AWS.

Today I was reviewing the user guide (for common-workflow-language/user_guide#219) and in the chapter 22 there are links to some CWL Viewer workflows. Both were broken.

I opened view.commonwl.org, clicked "Explore" and then clicked on the first workflow I found. This was broken as well.

Expected Behavior

Either a more useful error message (e.g. no disk space, DB instance is busy, etc), or no error.

Actual Behavior

Intermittent errors in the CWL Viewer UI.

Possible Fix

  1. Review if we are not doing something inefficient in CWL Viewer regarding DB transactions (I noticed in the logs numerous transactions for each step or input, I think)
  2. Check if we can add a finally call that removes any unnecessary files from the temporary directories
  3. Add some indicator of what's wrong with the server (something like a Prometheus endpoint?)

Steps to Reproduce

  1. Open view.commonwl.org and click on Explore
  2. Choose a workflow
  3. You may have to wait a while, or import some Workflows… it's not clear what is causing this issue exactly

Context

Possibly related to the PostgreSQL migration? Not sure if it happened before, if we got new users, or some new workflow that triggered it. I'll work with the hypothesis, at first, that it is somehow related to either PostgreSQL or to the dependencies upgraded.

Your Environment

  • Version used: 1.4.5
  • Environment name and version (e.g. Chrome 39, Java 17): Firefox Ubuntu LTS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions