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.
/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
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
bioblend.ConnectionError: GET: error 504: b’\r\n504 Gateway Time-out\r\n\r\n
504 Gateway Time-out\r\n
nginx/1.14.1\r\n\r\n\r\n’, 0 attempts left: