admin avatar

PicGo配置兼容亚马逊s3的digitalocean space出現Error Stack Begin的解決方法

🕚 by admin

PicGo配置兼容亚马逊s3的digitalocean space出現Error Stack Begin的解決方法

1
2
3
4
5
6
7
8
9
10
11
12
13
------Error Stack Begin------
InvalidBucketName: null
    at Request.extractError (/Users/user/Library/Application Support/picgo/node_modules/aws-sdk/lib/services/s3.js:699:35)
    at Request.callListeners (/Users/user/Library/Application Support/picgo/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
    at Request.emit (/Users/user/Library/Application Support/picgo/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
    at Request.emit (/Users/user/Library/Application Support/picgo/node_modules/aws-sdk/lib/request.js:688:14)
    at Request.transition (/Users/user/Library/Application Support/picgo/node_modules/aws-sdk/lib/request.js:22:10)
    at AcceptorStateMachine.runTo (/Users/user/Library/Application Support/picgo/node_modules/aws-sdk/lib/state_machine.js:14:12)
    at /Users/user/Library/Application Support/picgo/node_modules/aws-sdk/lib/state_machine.js:26:10
    at Request.<anonymous> (/Users/user/Library/Application Support/picgo/node_modules/aws-sdk/lib/request.js:38:9)
    at Request.<anonymous> (/Users/user/Library/Application Support/picgo/node_modules/aws-sdk/lib/request.js:690:12)
    at Request.callListeners (/Users/user/Library/Application Support/picgo/node_modules/aws-sdk/lib/sequential_executor.js:116:18)
-------Error Stack End------- 

首先确保你的s3密匙是正确的,如果确定密匙正确的话,那么出现上面的错误原因 如下

这个问题折腾了我好几天的时间,后来才行产生这个错误的原因就是

在填写s3密匙时出现了空格,郁闷啊,Linux系统对空格是有多严格的!就因为空格浪费了两天的时间

💘 相关文章

写一条评论