用的阿里云服务器
上传图片后服务器收到七牛的回调,但是我回应失败,以下是错误信息,求解释
{
ver: 7.3.2,
ResponseInfo: 1483873258011146,
status: 579,
reqId: GCYAACvVXwGU1JcU,
xlog: RA: 115.231.97.46: 80;body;s.ph;s.put.tw;s.put.tr;s.put.tw;s.put.tr: 2;s.ph;PFDS: 2;PFDS: 3;rs28_13.sel/notfound;rdb.g/nosuchkey;DBD/404;v4.get/Documentnotfound;rs28_13.ups;qtbl.ups: 2;mc.s;RS: 2;rs.put: 8;rs-upload.putFile: 12;QINIUPROXY: 10181/503;UP.CB: 10182;up: /uploadcallbackfailed;UP: 10196/579;UP: 10205/579;NUPROXY: 10311/579,
xvia: ,
host: upload.qiniu.com,
path: /,
ip: /121.15.220.3: 80,
port: 80,
duration: 10382.000000s,
time: 1483874170,
sent: 0,
error: {
"callback_url": "http://112.74.60.97:8103/callback/setUsrPicCallBack",
"callback_bodyType": "application/x-www-form-urlencoded",
"callback_body": "filename=IMG_20170101_033955.jpg\u0026usr_id=20170108102433872411\u0026img_url=75322308-47f7-4de4-8f4d-b85400c077e3.jpg",
"token": "",
"err_code": 503,
"error": "Service Unavailable",
"hash": "Fu6DgqmLaY1uTDJc2wZN7Wx0Eqii",
"key": "75322308-47f7-4de4-8f4d-b85400c077e3.jpg"
}
},
{
"error": "{\"callback_url\":\"http:\/\/112.74.60.97:8103\/callback\/setUsrPicCallBack\",\"callback_bodyType\":\"application\/x-www-form-urlencoded\",\"callback_body\":\"filename=IMG_20170101_033955.jpg\\u0026usr_id=20170108102433872411\\u0026img_url=75322308-47f7-4de4-8f4d-b85400c077e3.jpg\",\"token\":\"\",\"err_code\":503,\"error\":\"Service Unavailable\",\"hash\":\"Fu6DgqmLaY1uTDJc2wZN7Wx0Eqii\",\"key\":\"75322308-47f7-4de4-8f4d-b85400c077e3.jpg\"}"
}
正确的回应格式是怎样的?
这个报错是你服务器响应503的报错,你那边测试下是否可以正常响应
curl -v http://112.74.60.97:8103/call... -D "name=123"