Hi all!
I was wondering if there is a way to increase the waiting time for bioblend when performing a get-request (in this case, specifically when using the get_folders() function from the bioblend.galaxy.folders; FoldersClient).
I have a library that is very large and wrote a wrapper to automatically add new files from our filesystem, for which I get gateway time-outs (504, I will paste errorlog below) when performing a get_folders() on that library. I want to eliminate the chance that I get the gateway time-outs, because bioblend doesnât have enough time to finish the request.
Thanks!!!
library.get_folders(â2a56795cad3c7db3â)
/opt/fs_galaxy/galaxy_app/venv/lib/python3.6/site-packages/urllib3/connectionpool.py:986: InsecureRequestWarning: Unverified HTTPS request is being made to host âgalaxy-prd.intra.localâ. Adding certificate verification is strongly advised. See: Advanced Usage - urllib3 2.0.0.dev0 documentation
InsecureRequestWarning,
Traceback (most recent call last):
File ââ, line 1, in
File â/opt/fs_galaxy/galaxy_app/venv/lib/python3.6/site-packages/bioblend/galaxy/libraries/init.pyâ, line 269, in get_folders
library_contents = self.show_library(library_id=library_id, contents=True)
File â/opt/fs_galaxy/galaxy_app/venv/lib/python3.6/site-packages/bioblend/galaxy/libraries/init.pyâ, line 324, in show_library
return self._get(id=library_id, contents=contents)
File â/opt/fs_galaxy/galaxy_app/venv/lib/python3.6/site-packages/bioblend/galaxy/client.pyâ, line 128, in _get
status_code=r.status_code)
bioblend.ConnectionError: GET: error 504: bâ\r\n504 Gateway Time-out\r\n\r\n504 Gateway Time-out
\r\n
nginx/1.14.1\r\n\r\n\r\nâ, 0 attempts left: