Skip to content

Instantly share code, notes, and snippets.

@cyberrob-zz
Created January 26, 2018 02:52
Show Gist options
  • Save cyberrob-zz/5f17d15a41c5ae0b0ff2a1178ee0def2 to your computer and use it in GitHub Desktop.
Save cyberrob-zz/5f17d15a41c5ae0b0ff2a1178ee0def2 to your computer and use it in GitHub Desktop.
http 403 when create user with wechat
01-26 10:50:56.852 24877-27789/com.noodoe.sunray.china.alpha D/OkHttp: --> POST https://sunray-dev.noodoe.com.cn/createCustomTokenByWechat http/1.1
01-26 10:50:56.852 24877-27789/com.noodoe.sunray.china.alpha D/OkHttp: Content-Type: application/json; charset=UTF-8
01-26 10:50:56.852 24877-27789/com.noodoe.sunray.china.alpha D/OkHttp: Content-Length: 185
01-26 10:50:56.852 24877-27789/com.noodoe.sunray.china.alpha D/OkHttp: {"access_token":"6_PfrkEOHe8Oh53hliQajHFGjb5NbFVLSyuj_VdQnxvjYObEqN_2RAX_1czh4bAMDxWQrPXV9Hhs86oq63RzTjxGIJyFqpr3_jn8cSv_O6LU4","isLegacy":true,"open_id":"oqxhe0qrSb-W1BWE6yiA_gryEJtk"}
01-26 10:50:56.852 24877-27789/com.noodoe.sunray.china.alpha D/OkHttp: --> END POST (185-byte body)
01-26 10:51:00.839 24877-27789/com.noodoe.sunray.china.alpha D/OkHttp: <-- 403 Forbidden https://sunray-dev.noodoe.com.cn/createCustomTokenByWechat (3986ms)
01-26 10:51:00.839 24877-27789/com.noodoe.sunray.china.alpha D/OkHttp: server: Cowboy
01-26 10:51:00.839 24877-27789/com.noodoe.sunray.china.alpha D/OkHttp: connection: close
01-26 10:51:00.839 24877-27789/com.noodoe.sunray.china.alpha D/OkHttp: x-powered-by: Express
01-26 10:51:00.839 24877-27789/com.noodoe.sunray.china.alpha D/OkHttp: content-type: application/json; charset=utf-8
01-26 10:51:00.839 24877-27789/com.noodoe.sunray.china.alpha D/OkHttp: content-length: 61
01-26 10:51:00.839 24877-27789/com.noodoe.sunray.china.alpha D/OkHttp: etag: W/"3d-yGOK9Ril1pnEDAVnM7Lzwg"
01-26 10:51:00.839 24877-27789/com.noodoe.sunray.china.alpha D/OkHttp: date: Fri, 26 Jan 2018 02:51:00 GMT
01-26 10:51:00.839 24877-27789/com.noodoe.sunray.china.alpha D/OkHttp: via: 1.1 vegur
01-26 10:51:00.845 24877-27789/com.noodoe.sunray.china.alpha D/OkHttp: {"error":"Authentication error: Cannot verify access token."}
01-26 10:51:00.845 24877-27789/com.noodoe.sunray.china.alpha D/OkHttp: <-- END HTTP (61-byte body)
01-26 10:51:34.930 24877-28072/com.noodoe.sunray.china.alpha I/System.out: Close in OkHttp
01-26 10:51:34.932 24877-28072/com.noodoe.sunray.china.alpha I/System.out: Close in OkHttp
01-26 10:51:35.682 24877-25003/com.noodoe.sunray.china.alpha I/System.out: [OkHttp] sendRequest>>
01-26 10:51:35.684 24877-25003/com.noodoe.sunray.china.alpha I/System.out: [OkHttp] sendRequest<<
01-26 10:51:35.936 24877-28072/com.noodoe.sunray.china.alpha I/System.out: Close in OkHttp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment