donglu1472 2019-07-22 05:23
浏览 57

Google App Engine错误:(gcloud.app.deploy)INVALID_ARGUMENT:组合版本和服务(模块)名称太长

I am working on one application whose UI part is written in React and redux, middle layer using golang and it is using Google Cloud Datastore as NoSQL service. I have to deploy this service using drone.io. When I try to deploy my service, I get below error:

ERROR: (gcloud.app.deploy) INVALID_ARGUMENT: Combined version and service (module) name is too long.  The combined length must be less than 48 characters.

My front end service name is too short(adlib-rules-mgr). Other details are as below-

descriptor:      [/drone/src/github.com/nytm/adtech-adlib-web/app.yaml]
source:          [/drone/src/github.com/nytm/adtech-adlib-web]
target project:  [nyt-adtech-dev]
target service:  [adlib-rules-mgr]
target version:  [5e4890f35a4f21a08853298d362f7f68b26a945e]
target url:      [https://adlib-rules-mgr-dot-nyt-adtech-dev.appspot.com]

Please help me to understand what I am doing wrong and how this issue can be fixed?

  • 写回答

1条回答 默认 最新

  • duanqian8867 2019-07-22 08:47
    关注

    The error message indicates that the Combined version and service name should be 48 characters maximum. Yours, "adlib-rules-mgr" and "5e4890f35a4f21a08853298d362f7f68b26a945e" add up to 55 characters and thus is rejected.

    It seems your drone.io setting uses the Github commit number as version name for your App Engine app. I'm not familiar with drone.io myself but you should set a shorter name for your version.

    评论

报告相同问题?

悬赏问题

  • ¥100 set_link_state
  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号
  • ¥15 基于单片机的靶位控制系统
  • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度