biosimulators / Biosimulators

Registry of containerized biosimulation tools that support a standard command-line interface
https://biosimulators.org
MIT License
13 stars 0 forks source link

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

Open luciansmith opened 1 year ago

luciansmith commented 1 year ago

What is the bug?

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

The validation/submission of your simulator failed.

luciansmith commented 1 year ago

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 commented 1 year ago

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: