登录成功后开始接收消息 过会控制台就显示 API异常,API返回码[100012]
yousida opened this issue · 3 comments
是smartqq本身的协议问题吗?
换了下其他版本 master分支没问题 client分支存在问题题目问题 java8分支的扫码后无反应...
这是什么错误呢?
DEBUG - 开始获取二维码
DEBUG - CookieSpec selected: default
Exception in thread "main" net.dongliu.requests.exception.RequestException: org.apache.http.client.ClientProtocolException
at net.dongliu.requests.Client.execute(Client.java:175)
at net.dongliu.requests.RequestBuilder.execute(RequestBuilder.java:36)
at net.dongliu.requests.RequestBuilder.file(RequestBuilder.java:66)
at com.scienjus.smartqq.client.SmartQQClient.getQRCode(SmartQQClient.java:128)
at com.scienjus.smartqq.client.SmartQQClient.login(SmartQQClient.java:103)
at com.scienjus.smartqq.client.SmartQQClient.(SmartQQClient.java:73)
at com.scienjus.smartqq.Application.main(Application.java:18)
Caused by: org.apache.http.client.ClientProtocolException
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:186)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
at net.dongliu.requests.Client.execute(Client.java:172)
... 6 more
Caused by: org.apache.http.HttpException: Unsupported cookie policy: default