-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
I've been a user of xenaPython for almost 2 years, and HTTP errors when communicating with Xena seem to have gotten worse… i.e., fewer and less frequent requests throw a gateway time-out. Ideally, these time-outs would never happen, because xena allows users to query large data sets frequently in a way that's portable and removes the need to store data somewhere.
Here’s most of a traceback, for example, while pulling this whole data set: https://xenabrowser.net/datapages/?dataset=TCGA-BRCA%2FXena_Matrices%2FTCGA-BRCA.htseq_fpkm-uq.tsv&host=https%3A%2F%2Fgdc.xenahubs.net&removeHub=https%3A%2F%2Fxena.treehouse.gi.ucsc.edu%3A443:
File "~/site-packages/xenaPython/xenaAPI.py", line 16, in Probes_values
values = xena.dataset_probe_values (hub, dataset, samples, probes)
File "~/site-packages/xenaPython/xenaQuery.py", line 242, in dataset_probe_values
return json.loads(post(host, dataset_probe_str % (quote(dataset), array_fmt(probes), array_fmt(samples))))
File "~/site-packages/xenaPython/xenaQuery.py", line 201, in post
response = urlopen(req)
File "~/urllib/request.py", line 223, in urlopen
return opener.open(url, data, timeout)
File "~/urllib/request.py", line 532, in open
response = meth(req, response)
File "~/urllib/request.py", line 642, in http_response
'http', request, response, code, msg, hdrs)
File "~/urllib/request.py", line 570, in error
return self._call_chain(*args)
File "~/urllib/request.py", line 504, in _call_chain
result = func(*args)
File "~/urllib/request.py", line 650, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 504: Gateway Time-out
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels