Yeah - that workflow run endpoint is fairly problematic since it requires to workflow to be completely scheduled. There is code in Galaxy and an API endpoint that will schedule the workflow in the background - but bioblend hasn't been updated to use this yet. I've created a bioblend issue to track progress on this - https://github.com/galaxyproject/bioblend/issues/153.
There are various examples inside the test code of who to use this API endpoint - basically I think you will want to POST to /api/workflows/<workflow_id>/invocations instead of /api/workflows. Hopefully I can find some time to update bioblend soon to do this.
-John
On Tue, Jul 21, 2015 at 4:01 PM, COUNTOURIS Hector hector.countouris@aphp.fr wrote:
Hello,
i'm actually having a message of "connection reset by peer" when i'm launching a long API request (upload files only links actually, run the workflow other them and retrieve the results into a specific folder).
The workflow is working fine when i proceed to an analysis file by file but when it comes to several file processing (like 10 or more), this exception appear.
I'm working with Bioblend on a local instance with a postgres SGBD. I've perfom the database performance enhancement you suggest for production mode. But right know i don't have any Apache or Nginx server. Is that mandatory ?
Thanks in advance for your help.
Best regards.
HC.
Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at: https://lists.galaxyproject.org/
To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/mailinglists/