Skip to content
This repository has been archived by the owner on Jul 9, 2020. It is now read-only.

获取用户真实qq号 返回404 #103

Open
ydcun opened this issue Sep 16, 2017 · 2 comments
Open

获取用户真实qq号 返回404 #103

ydcun opened this issue Sep 16, 2017 · 2 comments

Comments

@ydcun
Copy link

ydcun commented Sep 16, 2017

Exception in thread "main" net.dongliu.requests.exception.RequestException: 请求失败,Http返回码[404]
at com.scienjus.smartqq.client.SmartQQClient.getResponseJson(SmartQQClient.java:666)
at com.scienjus.smartqq.client.SmartQQClient.getJsonObjectResult(SmartQQClient.java:641)
at com.scienjus.smartqq.client.SmartQQClient.getQQById(SmartQQClient.java:461)
at com.scienjus.smartqq.client.SmartQQClient.getQQById(SmartQQClient.java:481)

@CyrilFeng
Copy link
Contributor

smartqq腾讯已经不维护了 getQQby*** 方法已经不可用了 你可以试试另一种稳定的方式 https://github.com/shiyafeng/foolqq

@wsilly
Copy link

wsilly commented Mar 22, 2018

这是什么错误呢?

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants