我无法将我的代码上传到我在 Google App Engine 上的应用程序。我是用 Golang 开发的。该代码在本地系统上运行良好,但当我尝试将其上传到谷歌应用引擎时,它抛出以下错误。请帮忙。
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
最佳答案
我遇到了同样的问题。更新到最新的 SDK(现在是 1.9.40)解决了这个问题。
关于google-app-engine - 无法将 golang 应用上传到谷歌应用引擎,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38388130/