(python-venv) jchigu@SEBS:~$ curl 172.17.0.3:9000 --request POST -o testresult504dnavisualisation.json --data '{"bucket": {
"input": "504.dna-visualisation-0-input-626b04ac-f27a-48",
"output": "504.dna-visualisation-0-output-d65a6e48-fbaf-4e"
},
"object": {
"key": "bacillus_subtilis.fasta"
}
}' --header 'Content-Type: application/json'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3048 100 2823 100 225 3498 278 --:--:-- --:--:-- --:--:-- 3922
(python-venv) jchigu@SEBS:~$ firefox ./testresult504dnavisualisation.json
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
Error: 500 Internal Server Error
Error: 500 Internal Server Error
Sorry, the requested URL 'http://172.17.0.3:9000/'
caused an error:
Internal Server Error
Exception:
S3Error('S3 operation failed; code: InvalidAccessKeyId, message: The Access Key Id you provided does not exist in our records., resource: /504.dna-visualisation-0-input-626b04ac-f27a-48, request_id: 1745EBAA84C46841, host_id: f437d121-bb9f-4085-8be4-7cbab12cacf2, bucket_name: 504.dna-visualisation-0-input-626b04ac-f27a-48')
Traceback:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/bottle.py", line 868, in _handle
return route.call(**args)
File "/usr/local/lib/python3.7/site-packages/bottle.py", line 1748, in wrapper
rv = callback(*a, **ka)
File "/sebs/server.py", line 17, in flush_log
ret = function.handler(request.json)
File "/function/function/function.py", line 72, in handler
client.download(input_bucket, key, download_path)
File "/function/function/storage.py", line 37, in download
self.client.fget_object(bucket, file, filepath)
File "/usr/local/lib/python3.7/site-packages/minio/api.py", line 1037, in fget_object
version_id=version_id,
File "/usr/local/lib/python3.7/site-packages/minio/api.py", line 1864, in stat_object
query_params=query_params,
File "/usr/local/lib/python3.7/site-packages/minio/api.py", line 394, in _execute
region = self._get_region(bucket_name, None)
File "/usr/local/lib/python3.7/site-packages/minio/api.py", line 465, in _get_region
query_params={"location": ""},
File "/usr/local/lib/python3.7/site-packages/minio/api.py", line 380, in _url_open
raise response_error
minio.error.S3Error: S3 operation failed; code: InvalidAccessKeyId, message: The Access Key Id you provided does not exist in our records., resource: /504.dna-visualisation-0-input-626b04ac-f27a-48, request_id: 1745EBAA84C46841, host_id: f437d121-bb9f-4085-8be4-7cbab12cacf2, bucket_name: 504.dna-visualisation-0-input-626b04ac-f27a-48
(python-venv) jchigu@SEBS:~$ curl 172.17.0.3:9000 --request POST -o testresult504dnavisualisation.json --data '{"bucket": {
"input": "504.dna-visualisation-0-input-626b04ac-f27a-48", "output": "504.dna-visualisation-0-output-d65a6e48-fbaf-4e" }, "object": { "key": "bacillus_subtilis.fasta" } }' --header 'Content-Type: application/json' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 3048 100 2823 100 225 3498 278 --:--:-- --:--:-- --:--:-- 3922 (python-venv) jchigu@SEBS:~$ firefox ./testresult504dnavisualisation.json
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
Error: 500 Internal Server Error
Sorry, the requested URL 'http://172.17.0.3:9000/' caused an error:
Exception:
Traceback: