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

Simulator upload timeout for https://api.biosimulations.org/images/refresh #624

Open
luciansmith opened this issue Apr 27, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@luciansmith
Copy link
Contributor

luciansmith commented Apr 27, 2023

What is the bug?

I got the following after passing all the tests for tellurium:

The validation/submission of your simulator failed.

@luciansmith luciansmith added the bug Something isn't working label Apr 27, 2023
@luciansmith luciansmith changed the title Simulator upload timeout Simulator upload timeout for https://api.biosimulations.org/images/refresh Apr 27, 2023
@luciansmith luciansmith transferred this issue from biosimulators/Biosimulators Apr 27, 2023
@luciansmith
Copy link
Contributor Author

This is being called from biosimulators_test_suite/exec_gh_action.py", line 535

        response = requests.post(self.config.runbiosimulations_api_endpoint + 'images/refresh',
                                 headers=auth_headers,
                                 json={
                                     'simulator': specifications['id'],
                                     'version': specifications['version'],
                                 })
        validate_biosimulations_api_response(response, 'A Singularity image could not be generated for the Docker image')

The problem seems to be (unless I'm wrong?) that the URL this generates doesn't exist. If I got to the URL, I get:

{"error":[{"status":"404","title":"Not Found","detail":"\"Cannot GET /images/refresh\""}]}

@luciansmith luciansmith transferred this issue from biosimulators/Biosimulators_test_suite May 1, 2023
@luciansmith
Copy link
Contributor Author

Put this back in Biosimulators. The issue is that the the connection goes stale almost immediately after being reset, so right now, someone has to reset things manually, then immediately run the PR.

To solve this, I can think of a few options; I don't know how tenable they are:

  • Just keep resetting things manually every time.
  • Figure out how to make a reset last longer.
  • Put in a reset in the workflow.

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

No branches or pull requests

1 participant