Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/amazon-web-services/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Amazon web services 使用sails.js将图像转换和更新到AWS s3时出错_Amazon Web Services_Amazon S3_Sails.js_Graphicsmagick_Aws Cli - Fatal编程技术网

Amazon web services 使用sails.js将图像转换和更新到AWS s3时出错

Amazon web services 使用sails.js将图像转换和更新到AWS s3时出错,amazon-web-services,amazon-s3,sails.js,graphicsmagick,aws-cli,Amazon Web Services,Amazon S3,Sails.js,Graphicsmagick,Aws Cli,我正在尝试使用sails.js将1000多张图像转换并上传到aws s3 我通过url使用aws cli获取图像,并在处理后使用graphicsmagick上传回bucket 过了一些时候,我得到了下面提到的错误 {"level":"error", "message":"Error uploading data: RequestTimeTooSkewed: The difference between the request time and the current time is too l

我正在尝试使用sails.js将1000多张图像转换并上传到aws s3

我通过url使用aws cli获取图像,并在处理后使用graphicsmagick上传回bucket

过了一些时候,我得到了下面提到的错误

{"level":"error",
"message":"Error uploading data:  RequestTimeTooSkewed: The difference between the request time and the current time is too large.
at Request.extractError (/home/images/api/node_modules/aws-sdk/lib/services/s3.js:327:35)
at Request.callListeners (/home/images/api/node_modules/aws-sdk/lib/sequential_executor.js:105:20)
at Request.emit (/home/images/api/node_modules/aws-sdk/lib/sequential_executor.js:77:10)
at Request.emit (/home/images/api/node_modules/aws-sdk/lib/request.js:595:14)
at Request.transition (/home/images/api/node_modules/aws-sdk/lib/request.js:21:10)
at AcceptorStateMachine.runTo (/home/images/api/node_modules/aws-sdk/lib/state_machine.js:14:12)
at /home/images/api/node_modules/aws-sdk/lib/state_machine.js:26:10
at Request.<anonymous> (/home/images/api/node_modules/aws-sdk/lib/request.js:37:9)
at Request.<anonymous> (/home/images/api/node_modules/aws-sdk/lib/request.js:597:12)
at Request.callListeners (/home/images/api/node_modules/aws-sdk/lib/sequential_executor.js:115:18)
at Request.emit (/home/images/api/node_modules/aws-sdk/lib/sequential_executor.js:77:10)
at Request.emit (/home/images/api/node_modules/aws-sdk/lib/request.js:595:14)
at Request.transition (/home/images/api/node_modules/aws-sdk/lib/request.js:21:10)
at AcceptorStateMachine.runTo (/home/images/api/node_modules/aws-sdk/lib/state_machine.js:14:12)
at /home/images/api/node_modules/aws-sdk/lib/state_machine.js:26:10
at Request.<anonymous> (/home/images/api/node_modules/aws-sdk/lib/request.js:37:9) { [RequestTimeTooSkewed: The difference between the request time and the current time is too large.]
message: 'The difference between the request time and the current time is too large.',
code: 'RequestTimeTooSkewed',
region: null,
time: Thu Nov 12 2015 16:05:21 GMT+0000 (UTC),
statusCode: 403,
retryable: false,
retryDelay: 30 }",
"timestamp":"2015-11-12T16:05:21.626Z"}
任何建议都是可以接受的

谢谢

$ free -m

             total       used       free     shared    buffers     cached
Mem:          3951        444       3507          5         20        290
-/+ buffers/cache:        132       3819
Swap:            0          0          0


$ free mem

             total       used       free     shared    buffers     cached
Mem:          3951        444       3507          5         20        290
-/+ buffers/cache:        132       3819
Swap:            0          0          0