(python-venv) jchigu@SEBS:~$ curl 172.17.0.3:9000 --request POST -o testresult311compression.json --data '{"bucket": {
"input": "311.compression-0-input-76fe5780-da10-41",
"output": "311.compression-0-output-d264c7d0-535c-4f"
},
"object": {
"key": "acmart-master"
}
}' --header 'Content-Type: application/json'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3002 100 2799 100 203 5378 390 --:--:-- --:--:-- --:--:-- 5921
(python-venv) jchigu@SEBS:~$ firefox ./testresult311compression.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: /311.compression-0-input-76fe5780-da10-41, request_id: 1745ED8539D58DC4, host_id: ac8298fc-e1b6-4474-96f9-436a607524c8, bucket_name: 311.compression-0-input-76fe5780-da10-41')
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: /311.compression-0-input-76fe5780-da10-41, request_id: 1745ED8539D58DC4, host_id: ac8298fc-e1b6-4474-96f9-436a607524c8, bucket_name: 311.compression-0-input-76fe5780-da10-41
(python-venv) jchigu@SEBS:~$ curl 172.17.0.3:9000 --request POST -o testresult311compression.json --data '{"bucket": {
"input": "311.compression-0-input-76fe5780-da10-41", "output": "311.compression-0-output-d264c7d0-535c-4f" }, "object": { "key": "acmart-master" } }' --header 'Content-Type: application/json' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 3002 100 2799 100 203 5378 390 --:--:-- --:--:-- --:--:-- 5921 (python-venv) jchigu@SEBS:~$ firefox ./testresult311compression.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: