0
我無法將我的代碼上傳到我在Google App引擎上的應用程序中。我在Golang開發它。該代碼在本地系統上工作正常,但是當我試圖在谷歌應用程序引擎上傳它時,它會拋出以下錯誤。請幫助。無法將golang應用程序上傳到Google應用程序引擎中
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
您使用的是什麼版本的Go App Engine SDK?你可以通過運行'goapp version'找到。 – icza
我正在使用go版本go1.6(appengine-1.9.35)linux/amd64 –
您是否明確導入'golang.org/x/net/http2'軟件包?你的應用程序在你的Go工作區中('GOPATH' env變量)? 'http2'包是在你的'GOPATH'下載還是在你的應用旁邊下載的?最新版本是'go version go1.6.1(appengine-1.9.38)windows/amd64'。你遇到同樣的錯誤嗎? – icza