Android Market 503 响应需要多长时间才能重置?
许可文档说:
许可服务器应用一般请求限制来防范 过度使用资源可能导致拒绝服务。当 应用程序超出请求限制,许可服务器返回 503 响应,该响应作为 一般服务器错误。这意味着不会有任何许可证响应 在重置限制之前,用户可以使用该限制,这可能会影响 无限期用户。
这个“无限期”到底有多长?我怀疑这可能是我的一些用户遇到错误故障的原因,我需要知道我是否可以期望它很快开始工作,或者我是否必须找到其他方式为他们启用该应用程序。
The licensing docs say:
The licensing server applies general request limits to guard against
overuse of resources that could result in denial of service. When an
application exceeds the request limit, the licensing server returns a
503 response, which gets passed through to your application as a
general server error. This means that no license response will be
available to the user until the limit is reset, which can affect the
user for an indefinite period.
How long is this "indefinite period"? I suspect this may be the reason some of my users are getting false failures, and I need to know if I can expect it to start working anytime soon, or if I have to find some other way of enabling the app for them.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
配额尚未公布,并且可能会发生变化。
一般来说,准则是: 每次应用程序启动时检查许可状态的频率不要超过一次。 (一个常见的错误是每次活动启动时检查许可状态 - 这将导致每次旋转屏幕时进行许可检查。)
更一般地说,我们强烈鼓励人们使用 ServerManagedPolicy,它会将许可证响应缓存一段时间。这不仅可以防止服务器错误和大多数配额问题,还可以让您的用户在飞机上或在信号接收较弱的区域时感到满意。
The quotas aren't published, and are subject to change.
Generally speaking, the guidelines is: Do not check licensing status more frequently than once per application launch. (A common error is checking licensing status every time an activity starts -- which will cause a licensing check every time the screen is rotated.)
More generally, we strongly encourage people to use ServerManagedPolicy, which caches license responses for a period of time. Not only does this guard against server errors and most quota issues, it also keeps your users happy when they're on an airplane or in an area of weak cell reception.