alibaba / funcraft

(have) Fun with Serverless(API Gateway & Function Compute)
MIT License
941 stars 129 forks source link

Can't deploy function #86

Closed karudo closed 5 years ago

karudo commented 6 years ago

Trying to deploy function, but have error. What can be problem?

-> fun deploy using region: ap-southeast-1 using accountId: using accessKeyId: using timeout: 15

Waiting for service video-transcoding-wrapper to be deployed... FCAccessDeniedError: GET /services/video-transcoding-wrapper failed with 403. requestid: c39a5ca9-c896-ac44-fe6a-230ab01bfc87, message: The service or function doesn't belong to you.. at Client.request (/Users/*****/aliyun-nodejs/node_modules/@alicloud/fc2/lib/client.js:156:19) at process._tickCallback (internal/process/next_tick.js:68:7)

tanhe123 commented 6 years ago

Check your accountId. The accountId must match your ak.

sherryt400 commented 6 years ago

I follwed everything here (https://www.alibabacloud.com/help/doc-detail/52995.htm) with fcli i am getting this error

Error: {
  "HttpStatus": 403,
  "RequestId": "391285b8-5f63-52b4-1f18-bf1c939917fe",
  "ErrorCode": "AccessDenied",
  "ErrorMessage": "The service or function doesn't belong to you."
}

and for fun deploy i get this screenshot from 2018-11-21 11-50-19

sherryt400 commented 6 years ago

ok i have updated account ID now fcli is working fine, but still fun deploy is not working

tanhe123 commented 6 years ago

It seems that your network has some problems.

You can test it by ping ram.aliyuncs.com.

sherryt400 commented 6 years ago

thanks it works perfect. Is there any way to ignore files/dir (just like .gitignore) while deploying using fun deploy.

tanhe123 commented 6 years ago

@sherryt400 It will come soon.

Duplicated: https://github.com/aliyun/fun/issues/87.

tanhe123 commented 5 years ago

2.7.0 has been released.