小程序根据code获取sessionkey偶尔报错
发布于 6 年前 作者 lei15 12928 次浏览 来自 问答

掉这个接口偶尔报错 无解!!!

java后台请求https://api.weixin.qq.com/sns/jscode2session

2018-01-31 19:07:09.755 [http-nio-8060-exec-6] ERROR c.j.i.b.oauth.OAuthManager - post请求异常,api.weixin.qq.com:443 failed to respond

post url:https://api.weixin.qq.com/sns/jscode2session

2018-01-31 19:07:09.755 [http-nio-8060-exec-6] ERROR c.j.i.b.oauth.OAuthManager - post请求异常,api.weixin.qq.com:443 failed to respond

post url:https://api.weixin.qq.com/sns/jscode2session

org.apache.http.NoHttpResponseException: api.weixin.qq.com:443 failed to respond

      at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:143)

      at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)

      at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261)

回到顶部