调用完结分账接口,服务端返回104 Connection reset by peer
调用分账没有问题
{
"headers": null,
"body": "",
"errCode": 104,
"errMsg": "Connection reset by peer",
"statusCode": -3,
"set_cookie_headers": null,
"cookies": null,
"connected": false,
"host": "api.mch.weixin.qq.com",
"port": 443,
"ssl": true,
"setting": {
"timeout": 15
},
"requestMethod": "POST",
"requestHeaders": {
"user-agent": "EasySwooleHttpClient/0.1",
"accept": "*/*",
"pragma": "no-cache",
"cache-control": "no-cache",
"content-length": "366",
"content-type": "application/xml"
},
"requestBody": "<xml><appid>wx0b0511bb</appid><transaction_id>42000022310075966752227</transaction_id><out_order_no>231007144230254196</out_order_no><description>分账已完成</description><sign_type>HMAC-SHA256</sign_type><nonce_str>hqE9Dm</nonce_str><mch_id>1603107822</mch_id><sign>6892FD4F1ECB5C15B2BC402F179DA9E43C66C2D422304EAA6D5054E1CAA5B260</sign></xml>\n",
"uploadFiles": null,
"downloadFile": null,
"downloadOffset": 0,
"client": {
"errCode": 104,
"errMsg": "Connection reset by peer",
"connected": false,
"host": "api.mch.weixin.qq.com",
"port": 443,
"ssl": true,
"setting": {
"timeout": 15
},
"requestMethod": "POST",
"requestHeaders": {
"user-agent": "EasySwooleHttpClient/0.1",
"accept": "*/*",
"pragma": "no-cache",
"cache-control": "no-cache",
"content-length": "366",
"content-type": "application/xml"
},
"requestBody": "<xml><appid>wx0b0f11bb</appid><transaction_id>420002023100752227</transaction_id><out_order_no>231007144230254196</out_order_no><description>分账已完成</description><sign_type>HMAC-SHA256</sign_type><nonce_str>hqE9Dm</nonce_str><mch_id>1603107822</mch_id><sign>6892FD4F1ECB5C15B2BC402F179DA9E43C66C2D422304EAA6D5054E1CAA5B260</sign></xml>\n",
"uploadFiles": null,
"downloadFile": null,
"downloadOffset": 0,
"statusCode": -3,
"headers": null,
"set_cookie_headers": null,
"cookies": null,
"body": ""
}
}
打印详细日志看看
"errCode": 104,
"errMsg": "Connection reset by peer",
"statusCode": -3,
"set_cookie_headers": null,
"cookies": null,
"connected": false,
"host": "api.mch.weixin.qq.com",
"port": 443,
"ssl": true,
确定商户没问题?还是使用错了?
打印你的请求参数看看
<xml><appid>wx0b0f11bb</appid><transaction_id>420002023100752227</transaction_id><out_order_no>231007144230254196</out_order_no><description>分账已完成</description><sign_type>HMAC-SHA256</sign_type><nonce_str>hqE9Dm</nonce_str><mch_id>1603107822</mch_id><sign>6892FD4F1ECB5C15B2BC402F179DA9E43C66C2D422304EAA6D5054E1CAA5B260</sign></xml>