duanfu7840
2016-07-15 04:57
浏览 31
已采纳

无法将Golang应用程序上传到Google App Engine

I am unable to upload my code into my app on Google App engine. I developed it in Golang. The code is working fine on local system but when I am trying to upload it at google app engine, it is throwing following error. Kindly help.

9:44 PM Getting current resource limits.
09:44 PM Scanning files on local disk.
09:45 PM Cloning 205 application files.
09:45 PM Uploading 2 files and blobs.
09:45 PM Uploaded 2 files and blobs.
09:45 PM Compilation starting.
09:45 PM Compilation: 178 files left.
09:45 PM Error 422: --- begin server output ---
Compile failed:
2016/07/14 21:45:04 go-app-builder: build timing: 26×compile (6.651s total), 0×link (0 total)
2016/07/14 21:45:04 go-app-builder: failed running compile: exit status 1

golang.org/x/net/http2/server.go:156: undefined: isBadCipher
golang.org/x/net/http2/server.go:320: undefined: isBadCipher
golang.org/x/net/http2/transport.go:122: undefined: configureTransport
golang.org/x/net/http2/transport.go:407: undefined: transportExpectContinueTimeout
--- end server output ---
09:45 PM Rolling back the update.
Error 422: --- begin server output ---

--- end server output ---
error while running appcfg.py: exit status 1

图片转代码服务由CSDN问答提供 功能建议

我无法将代码上传到Google App引擎上的应用程序中。 我用Golang开发的。 该代码在本地系统上运行良好,但是当我尝试将其上传到Google App Engine时,会引发以下错误。

  9:44 PM获取当前资源限制。
09:44 PM扫描本地磁盘上的文件。
09:45 PM克隆205个应用程序文件。
09:  45 PM上传2个文件和Blob。
09:45 PM上传2个文件和Blob。
09:45 PM编译开始。
09:45 PM编译:还剩178个文件。
09:45 PM错误422:---开始 服务器输出--- 
编译失败:
2016 / 07/14 21:45:04 go-app-builder:构建时间:26×编译(总计6.651s),0×链接(总计0)
2016 / 07 /  14 21:45:04 go-app-builder:运行失败:退出状态1 
 
golang.org/x/net/http2/server.go:156:未定义:isBadCipher 
golang.org/x/net/  http2 / server.go:320:未定义:isBadCipher 
golang.org/x/net/http2/transport.go:122:未定义:configureTransport 
golang.org/x/net/http2/transport.go:407:未定义:  transportExpectContinueTimeout 
 ---最终服务器输出--- 
09:45 PM回滚更新。
错误422:---开始服务器输出--- 
 
 ---最终服务器输出--- 
error 在运行appcfg.py时:退出状态1 
 <  / code>  
 
  • 写回答
  • 好问题 提建议
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • dongshanxun6479 2016-07-24 20:53
    已采纳

    I ran into this same problem. Updating to the latest SDK (now 1.9.40) solved it.

    已采纳该答案
    评论
    解决 无用
    打赏 举报

相关推荐 更多相似问题