我正在尝试第一次运行scrapoxy,但出现错误。我按照文档中的步骤进行操作,以复制AMI,并且还尝试在eu-west-1地区使用AMI,但出现相同的错误。
2020-10-09T04:47:45.764Z - debug: [Manager] checkInstances
2020-10-09T04:47:46.020Z - debug: [Manager] adjustInstances: required:1 / actual:0
2020-10-09T04:47:46.020Z - debug: [Manager] adjustInstances: add 1 instances
2020-10-09T04:47:46.021Z - debug: [ProviderAWSEC2] createInstances: count=1
2020-10-09T04:47:46.483Z - error: [Manager] Error: Cannot update or adjust instances: message=The requested configuration is currently not supported. Please check the documentation for supported configurations., stack=Unsupported: The requested configuration is currently not supported. Please check the documentation for supported configurations.
at Request.extractError (/usr/local/lib/node_modules/scrapoxy/node_modules/aws-sdk/lib/services/ec2.js:50:35)
at Request.callListeners (/usr/local/lib/node_modules/scrapoxy/node_modules/aws-sdk/lib/sequential_executor.js:105:20)
at Request.emit (/usr/local/lib/node_modules/scrapoxy/node_modules/aws-sdk/lib/sequential_executor.js:77:10)
at Request.emit (/usr/local/lib/node_modules/scrapoxy/node_modules/aws-sdk/lib/request.js:683:14)
at Request.transition (/usr/local/lib/node_modules/scrapoxy/node_modules/aws-sdk/lib/request.js:22:10)
at AcceptorStateMachine.runTo (/usr/local/lib/node_modules/scrapoxy/node_modules/aws-sdk/lib/state_machine.js:14:12)
at /usr/local/lib/node_modules/scrapoxy/node_modules/aws-sdk/lib/state_machine.js:26:10
at Request.<anonymous> (/usr/local/lib/node_modules/scrapoxy/node_modules/aws-sdk/lib/request.js:38:9)
at Request.<anonymous> (/usr/local/lib/node_modules/scrapoxy/node_modules/aws-sdk/lib/request.js:685:12)
at Request.callListeners (/usr/local/lib/node_modules/scrapoxy/node_modules/aws-sdk/lib/sequential_executor.js:115:18)
at Request.emit (/usr/local/lib/node_modules/scrapoxy/node_modules/aws-sdk/lib/sequential_executor.js:77:10)
at Request.emit (/usr/local/lib/node_modules/scrapoxy/node_modules/aws-sdk/lib/request.js:683:14)
at Request.transition (/usr/local/lib/node_modules/scrapoxy/node_modules/aws-sdk/lib/request.js:22:10)
at AcceptorStateMachine.runTo (/usr/local/lib/node_modules/scrapoxy/node_modules/aws-sdk/lib/state_machine.js:14:12)
at /usr/local/lib/node_modules/scrapoxy/node_modules/aws-sdk/lib/state_machine.js:26:10
at Request.<anonymous> (/usr/local/lib/node_modules/scrapoxy/node_modules/aws-sdk/lib/request.js:38:9), code=Unsupported, name=Unsupported, time=Fri Oct 09 2020 10:17:46 GMT+0530 (India Standard Time), requestId=56ce525e-eaa0-4690-923c-1f531651d49c, statusCode=400, retryable=false, retryDelay=33.88164667234908
答案 0 :(得分:0)
此错误可能是因为您复制的 AMI 在您要运行 Scrapoxy 的区域中没有兼容的机器类型。
请参阅doc,并验证您要运行 Scrapoxy 的区域是否有可用的机器类型。