19:14:51.260 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Executing request POST /v3/certificates HTTP/1.1
19:14:51.260 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Proxy auth state: UNCHALLENGED
19:14:51.262 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> POST /v3/certificates HTTP/1.1
19:14:51.262 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Content-Type: application/json
19:14:51.262 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Accept: application/json; charset=UTF-8
19:14:51.262 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Content-Length: 39
19:14:51.263 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Host: api.mch.weixin.qq.com
19:14:51.263 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Connection: Keep-Alive
19:14:51.263 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> User-Agent: Apache-HttpClient/4.5.3 (Java/1.8.0_211)
19:14:51.263 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Accept-Encoding: gzip,deflate
19:14:51.263 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "POST /v3/certificates HTTP/1.1[\r][\n]"
19:14:51.263 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Content-Type: application/json[\r][\n]"
19:14:51.264 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Accept: application/json; charset=UTF-8[\r][\n]"
19:14:51.264 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Content-Length: 39[\r][\n]"
19:14:51.264 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Host: api.mch.weixin.qq.com[\r][\n]"
19:14:51.264 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Connection: Keep-Alive[\r][\n]"
19:14:51.264 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "User-Agent: Apache-HttpClient/4.5.3 (Java/1.8.0_211)[\r][\n]"
19:14:51.264 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Accept-Encoding: gzip,deflate[\r][\n]"
19:14:51.265 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "[\r][\n]"
19:14:51.265 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "operation_type=OPEN&sub_mchid=391082108"
19:14:51.281 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "HTTP/1.1 405 Method Not Allowed[\r][\n]"
19:14:51.281 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Server: nginx[\r][\n]"
19:14:51.281 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Date: Mon, 01 Feb 2021 11:14:51 GMT[\r][\n]"
19:14:51.281 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Content-Length: 0[\r][\n]"
19:14:51.282 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Connection: keep-alive[\r][\n]"
19:14:51.282 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Keep-Alive: timeout=8[\r][\n]"
19:14:51.282 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "[\r][\n]"
19:14:51.285 [main] DEBUG org.apache.http.headers - http-outgoing-0 << HTTP/1.1 405 Method Not Allowed
19:14:51.286 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Server: nginx
19:14:51.286 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Date: Mon, 01 Feb 2021 11:14:51 GMT
19:14:51.286 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Content-Length: 0
19:14:51.286 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Connection: keep-alive
19:14:51.286 [main] DEBUG org.apache.http.headers - http-outgoing-0 << Keep-Alive: timeout=8
19:14:51.292 [main] DEBUG org.apache.http.impl.execchain.MainClientExec - Connection can be kept alive for 8000 MILLISECONDS
19:14:51.293 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection [id: 0][route: {s}->https://api.mch.weixin.qq.com:443] can be kept alive for 8.0 seconds
19:14:51.293 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection released: [id: 0][route: {s}->https://api.mch.weixin.qq.com:443][total kept alive: 1; route allocated: 1 of 2; total allocated: 1 of 20]
响应状态为:HTTP/1.1 405 Method Not Allowed
响应内容长度为:0
响应内容为:
这个请检查下请求方式 是否正确