AppEngine Go应用程序中的奇怪行为

huangapple go评论79阅读模式
英文:

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.

huangapple
  • 本文由 发表于 2014年4月2日 16:16:05
  • 转载请务必保留本文链接:https://go.coder-hub.com/22805374.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定