2020/03/10 10:00~10:30 期间第三方平台接口(获取/刷新授权公众号或小程序的接口调用凭据: /cgi-bin/component/api_authorizer_token) 大量 50002 错误,之后慢慢自行恢复正常(还是有少量的此类错误,但影响不大了)。
我们日志系统查询到的相关错误日志截图如下:(为什么频繁调用此接口?access token 2 小时有效,系统在使用 access token 会自动检查发现失效后自动刷新,刷新的时候报错所以后续新的请求一直再尝试刷新 )
具体错误日志示例如下:
@containerId: 8a1eb2d3f3ba
@containerName: weconnect-api--java
@formattedUrl: POST /cgi-bin/component/api_authorizer_token
@hostName: 192-168-11-68
@logstashTimestamp: 2020-03-10T04:16:25.636Z
@namespace: scrm
@podName: weconnect-api-7f858f8454-x8znp
@project: weconnect
@service: weconnect-api
@timestamp: 2020-03-10T04:16:25.002Z
body: {"component_appid":"wxed8ad9f7aa3a8a4a","authorizer_appid":"wx2d1e974db806d030","authorizer_refresh_token":"***"}Prettify
host: sh.api.weixin.qq.com
method: POST
others: {"requestHeaders":{"Content-Type":"application/json"},"responseBody":"{\"errcode\":50002,\"errmsg\":\"user limited hint: [I4.hEa0784a394]\"}","category":"wechat"}Prettify
remoteAddr: 140.207.119.12
responseBodySize: 64
responseStatus: 200
responseTime: 183
scheme: https
type: accessOut
url: /cgi-bin/component/api_authorizer_token?_accountId=55a60bda0cf2fc20bbf8feae&_reqId=8b063cdd-3904-4c20-b973-dce90b9ad11c&component_access_token=***
/cgi-bin/component/api_authorizer_token 50002
这个错误解决了吗
同一时间段,3月10日10点开始我们这边也产生了这样的问题。某一个公众号突然发生50002错误
你好,wx2d1e974db806d030确实是封号状态的。
@timestamp: 2020-03-10T02:26:37.680Z
body: {"component_appid":"wxed8ad9f7aa3a8a4a","authorizer_appid":"wx29acd5460d57ea6c","authorizer_refresh_token":"***"}
method: POST
others: {"responseBody":"{\"errcode\":50002,\"errmsg\":\"user limited hint: [5wiVGa01971507]\"}","requestHeaders":{"Content-Type":"application/json"},"category":"wechat"}
remoteAddr: 140.207.119.12
responseBodySize: 64
responseStatus: 200
responseTime: 162
scheme: https
url: /cgi-bin/component/api_authorizer_token?_accountId=56fa45c00cf272e7678e2d99&_reqId=8578e400a08cb8d903e0cb08507260ae1711dcfe&component_access_token=***
@containerId: f6e3f4b7e251
@containerName: weconnect-api--java
@formattedUrl: POST /cgi-bin/component/api_authorizer_token
@timestamp: 2020-03-10T02:26:24.377Z
body: {"component_appid":"wxed8ad9f7aa3a8a4a","authorizer_appid":"wx21bc38d73b93d14b","authorizer_refresh_token":"***"}
method: POST
others: {"requestHeaders":{"Content-Type":"application/json"},"responseBody":"{\"errcode\":50002,\"errmsg\":\"user limited hint: [jOGBfA0184d166]\"}","category":"wechat"}
remoteAddr: 140.207.119.12
responseBodySize: 64
responseStatus: 200
responseTime: 109
scheme: https
url: /cgi-bin/component/api_authorizer_token?_accountId=5d7f4ac83fd163da36d389fb&_reqId=af64bb7c-8930-4b57-b028-39bdb8fe5ec1&component_access_token=***
@timestamp: 2020-03-10T02:25:46.201Z
body: {"component_appid":"wx0a7b8255048099c6","authorizer_appid":"wx0abb94435a55f3f9","authorizer_refresh_token":"***"}
method: POST
others: {"category":"wechat","responseBody":"{\"errcode\":50002,\"errmsg\":\"user limited hint: [DVJZhA01464814]\"}","requestHeaders":{"Content-Type":"application/json"}}
remoteAddr: 140.207.119.12
responseBodySize: 64
responseStatus: 200
responseTime: 170
scheme: https
url: /cgi-bin/component/api_authorizer_token?_accountId=5e0406563fd163da368366eb&_reqId=a2ddd712-2b34-4195-99d1-372200f2135f&component_access_token=***
没有做 token 存储?token理论上 7200 秒才过期