因小程序包含虚拟支付问题,导制IOS端不能进行搜索,我司通过整改并申诉成功了,但是服务器端确不能访问获取用户openid的接口,一直返回超时。返加代码如下:
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.weixin.qq.com', port=443): Max retries exceeded with url: /sns/jscode2session?appid=******&secret=*******&js_code=********&grant_type=authorization_code (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7ff0bb088d68>: Failed to establish a new connection: [Errno 110] Connection timed out'))
但是在本地访问时又完成常。返回代码如下:
{'errcode': 40163, 'errmsg': 'code been used, rid: 6264b162-36261d8d-5602de6b'}
我想请问是我们服务器IP被封了吗?