开发者社区 > 云原生 > Serverless > 正文

函数计算FC这个问题怎么解决?

函数计算FC这个问题怎么解决?lQLPJxvLvCz0yH_NAqLNCM6wKnrGouL6C24FUCtZ-cMmAA_2254_674.png
f3929824bfa00acce97a260c38973c4e.png
FC Invoke Start RequestId: 32ff197c-37a3-4e2e-8f1f-c80ec97cea93Info: @serverless-cd/engine: 0.0.53, linux-x64, node-v14.19.2
plugin @serverless-cd/s-setup has been installed
plugin @serverless-cd/checkout has been installed
plugin @serverless-cd/s-deploy has been installed
start @serverless-cd/s-setup run
@serverless-devs/s3: 0.1.0, s-home: /root/.s, linux-x64, node-v16.16.0

Alias: default
Credential:
AccessKeyID: STS*DxX
AccessKeySecret: EqN**PZ5
__provider: Alibaba Cloud
SecurityToken: CAI**CAA
AccountID: 179**599

Run @serverless-cd/s-setup end
Start checkout plugin
Execute command: s init fc-stable-diffusion-plus --parameters '{"apiAuth":"","apiEnabled":false,"appName":"jiujiusdshiyan231123","enableCollect":true,"extraArgs":"","filemgrToken":"","functionName":"sd","name":"fc-stable-diffusion-plus-qa141d","nasEnabled":false,"parameters-enableCollect":true,"parameters-functionName":"sd","parameters-region":"cn-shenzhen","parameters-serviceName":"fc-stable-diffusion-plus","parameters-type":"动漫风格","region":"cn-shenzhen","roleArn":"acs:ram::1799955260577599:role/aliyunfcserverlessdevsrole","serviceName":"fc-stable-diffusion-plus","template":"fc-stable-diffusion-plus","type":"动漫风格","webuiAuth":"","webuiEnabled":true}' --project fc-stable-diffusion-plus -d /kaniko/tmp/workspace

🚀 More applications: https://registry.serverless-devs.com
Downloading[/simple/fc-stable-diffusion-plus/zipball/1.0.16]...
Download fc-stable-diffusion-plus successfully

🏄‍ Thanks for using Serverless-Devs
👉 You could [cd /kaniko/tmp/workspace] and enjoy your serverless journey!
🧭️ If you need help for this example, you can use [s -h] after you enter folder.
💞 Document ❤ Star: https://github.com/Serverless-Devs/Serverless-Devs
🚀 More applications: https://registry.serverless-devs.com

End checkout plugin
start @serverless-cd/s-deploy run
Execute command: s deploy --use-local --assume-yes --skip-push -t s.yaml

[2023-11-23 03:18:04] [INFO] [S-CORE] - It is detected that your project has the following projects < stable-diffusion,filemgr > to be execute
[2023-11-23 03:18:04] [INFO] [S-CORE] - Start executing project stable-diffusion
Generated auto custom domain...
Get token....
Deploy helper function...
✖ Generated custom domain (0.85s)
✖ Generated domain (0.99s)

Error Message:
{"code":101,"message":"POST /services/serverless-devs-check/functions failed with 403. requestid: 1-655ec46d-e9ba7df40eaba31305299eb2, message: Current user is in debt..","stack":"FCAccessDeniedError: POST /services/serverless-devs-check/functions failed with 403. requestid: 1-655ec46d-e9ba7df40eaba31305299eb2, message: Current user is in debt..\n at Ml.request (/root/.s/components/devsapp.cn/devsapp/domain/dist/index.js:204:3385)\n at processTicksAndRejections (node:internal/process/task_queues:96:5)\n at async Function.makeFunction (/root/.s/components/devsapp.cn/devsapp/domain/dist/index.js:211:26471)\n at async Function.deploy (/root/.s/components/devsapp.cn/devsapp/domain/dist/index.js:211:25285)\n at async Object.task (/root/.s/components/devsapp.cn/devsapp/domain/dist/index.js:211:28290)","prefix":"Project stable-diffusion failed to execute:"}

Env: @serverless-devs/s3: 0.1.0, linux-x64 node-v16.16.0
Logs: /root/.s/logs/1123031803
Get Help: DingTalk: 33947367
Feedback: https://github.com/Serverless-Devs/Serverless-Devs/issues

Error
at Deploy. (/tmp/cache/plugins/@serverless-cd/s-deploy/node_modules/@serverless-cd/s-deploy/lib/deploy.js:56:23)
at Generator.throw ()
at rejected (/tmp/cache/plugins/@serverless-cd/s-deploy/node_modules/@serverless-cd/s-deploy/lib/deploy.js:6:65)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
Cleaning up task

FC Invoke End RequestId: 32ff197c-37a3-4e2e-8f1f-c80ec97cea932023-11-23 03:18:05 ERROR 32ff197c-37a3-4e2e-8f1f-c80ec97cea93 - Error

展开
收起
三分钟热度的鱼 2023-11-30 18:42:19 52 0
3 条回答
写回答
取消 提交回答
  • 同样遇到这个错误,无论yaml怎么写,他都只认nodejs 14,太辣戒了

    2024-01-27 16:37:35
    赞同 展开评论 打赏
  • 面对过去,不要迷离;面对未来,不必彷徨;活在今天,你只要把自己完全展示给别人看。

    如果在部署函数计算(Function Compute)时遇到失败的情况,您可以采取以下步骤来解决问题:

    1. 查看错误信息:在函数计算控制台或部署命令行工具中查看详细的错误信息。这些错误信息通常会指示出导致部署失败的具体原因。

    2. 检查函数配置:确保您的函数配置正确。检查函数代码、运行环境和触发器等配置项是否符合预期,并与实际需求相匹配。

    3. 检查依赖项:函数计算部署过程中可能涉及依赖项的下载、安装或构建。确保您的代码中所需的依赖项已正确列出,并且函数计算能够访问和安装这些依赖项。

    4. 检查权限设置:函数计算需要适当的权限来访问其他云服务或资源。确保您的函数角色(RAM 角色)具有足够的权限来执行函数代码所需的操作。

    2023-11-30 20:38:52
    赞同 展开评论 打赏
  • 欠费了,部署失败了。此回答整理自钉群“【答疑群】函数计算 AIGC 场景技术交流”

    2023-11-30 18:52:28
    赞同 展开评论 打赏
问答分类:
问答地址:

快速交付实现商业价值。

热门讨论

热门文章

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载