英文:
Strange behaviour in AppEngine Go app
问题
我有一个Go(Golang)应用程序,96天前部署在AppEngine上,此后没有进行任何更改。大约12小时前,我开始收到大量以下错误信息:
> JSON解码Google Play令牌声明失败(json:无法将布尔值解组为类型为字符串的Go值)。
是否有人遇到过类似的问题,或者有任何想法是什么导致了这个问题的变化?
英文:
I have a Go (Golang) app that was deployed on AppEngine 96 days ago, with no changes since then. About 12 hours ago I started getting a flood of the following errors:
> JSON failed to decode Google Play token claims (json: cannot unmarshal
> bool into Go value of type string).
Has anyone had a similar problem, or has an idea what could have changed to cause this?
答案1
得分: 1
问题似乎是Google将身份验证API的响应结构从字符串(一开始就很奇怪)更改为布尔值。
我的第一个假设是问题出在我这边,但这一次我可以说是Google的错。
英文:
The problem seems to be that Google changed the response structure of the authentication API from a string (which was strange in the first place) to a bool.
My first assumption is that there is something wrong on my side, but for once I can say it was Google's fault.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论