有赞新零售社区

发帖
消息推送»消息订阅长时间处于推送中状态

消息订阅长时间处于推送中状态

大星星 07-05 622 浏览 4 评论 | 只看楼主 [打印]
消息订阅长时间处于推送中状态
之前是一天偶尔一次出现推送失败。今天全部都是推送中,有的是过了一两个小时,推送成功,
点了重新推送也没有用。找不到问题。特来寻求帮助

本帖最后由 大星星 于 2024-7-4 17:59 编辑
用手机打开
收藏 ··· 回复
    您好,消息推送的超时时间默认是是 5s。这依赖开发者自身的程序执行时间。需要开发者调整自身接受消息推送的模式,优化处理时间。一般会建议接受到消息推送后马上返回成功,异步去执行逻辑来处理
    推送中排查指南:https://doc.youzanyun.com/resource/doc/3929/3929

    大星星 青铜   07-05 | 只看该作者
    E20240704145237071100023  这个下午2点52的订单。之前一直推送中。刚刚推送成功。


    2024-07-04 14:52:50500HTTP请求status异常或返回值不包含success
    <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>系统发生错误</title> <meta name="r
    2024-07-04 17:49:52500HTTP请求status异常或返回值不包含success
    <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>系统发生错误</title> <meta name="r
    2024-07-04 21:32:49200
    {"code":0,"msg":"success"}
    {"msg":"%7B%22delivery_order%22%3A%5B%5D%2C%22order_promotion%22%3A%7B%22item%22%3A%5B%5D%2C%22adjust_fee%22%3A%220.00%22%2C%22order%22%3A%5B%5D%7D%2C%22qr_info%22%3A%7B%22qr_id%22%3A17240889%2C%22qr_pay_id%22%3A76637353%2C%22qr_name%22%3A%22%E5%BE%AE%E4%BF%A1%E5%B0%8F%E7%A8%8B%E5%BA%8F%E4%BA%8C%E7%BB%B4%E7%A0%81%22%7D%2C%22refund_order%22%3A%5B%5D%2C%22full_order_info%22%3A%7B%22address_info%22%3A%7B%22self_fetch_info%22%3A%22%22%2C%22delivery_address%22%3A%22%22%2C%22delivery_postal_code%22%3A%22%22%2C%22receiver_name%22%3A%22%22%2C%22delivery_province%22%3A%22%22%2C%22delivery_city%22%3A%22%22%2C%22address_extra%22%3A%22%7B%7D%22%2C%22delivery_district%22%3A%22%22%2C%22receiver_tel%22%3A%22%22%7D%2C%22remark_info%22%3A%7B%22buyer_message%22%3A%22%22%7D%2C%22pay_info%22%3A%7B%22outer_transactions%22%3A%5B%224200002296202407046429362161%22%5D%2C%22post_fee%22%3A%220.00%22%2C%22total_fee%22%3A%221988.00%22%2C%22payment%22%3A%221988.00%22%2C%22transaction%22%3A%5B%222407041452382621940369%22%5D%7D%2C%22buyer_info%22%3A%7B%22outer_user_id%22%3A%22%22%2C%22yz_open_id%22%3A%22vAMRIgYH1258434786184142848%22%2C%22fans_type%22%3A0%2C%22buyer_id%22%3A20784023239%2C%22fans_nickname%22%3A%22%22%2C%22fans_id%22%3A0%7D%2C%22orders%22%3A%5B%7B%22is_cross_border%22%3A%22%22%2C%22outer_item_id%22%3A%22%22%2C%22discount_price%22%3A%221988.00%22%2C%22item_type%22%3A206%2C%22num%22%3A1%2C%22oid%22%3A%223017884852096073790%22%2C%22title%22%3A%22%E5%B0%8F%E7%A8%8B%E5%BA%8F%E4%B9%B0%E5%8D%95%22%2C%22fenxiao_payment%22%3A%220.00%22%2C%22item_message%22%3A%22%22%2C%22item_no%22%3A%22%22%2C%22buyer_messages%22%3A%22%22%2C%22cross_border_trade_mode%22%3A%22%22%2C%22is_present%22%3Afalse%2C%22sub_order_no%22%3A%22%22%2C%22price%22%3A%221988.00%22%2C%22fenxiao_price%22%3A%220.00%22%2C%22total_fee%22%3A%221988.00%22%2C%22alias%22%3A%22%22%2C%22payment%22%3A%221988.00%22%2C%22item_barcode%22%3A%22%22%2C%22outer_sku_id%22%3A%22%22%2C%22goods_url%22%3A%22https%3A%2F%2Fh5.youzan.com%2Fv2%2Fshowcase%2Fgoods%3Falias%3Dnull%22%2C%22customs_code%22%3A%22%22%2C%22item_id%22%3A2147483647%2C%22sku_properties_name%22%3A%22%22%2C%22sku_id%22%3A0%2C%22pic_path%22%3A%22https%3A%2F%2Fimg01.yzcdn.cn%2Fpublic_files%2F2016%2F12%2F29%2F33e6c838cefa614c5121c63c80f860e9.png%22%2C%22sku_no%22%3A%22%22%2C%22points_price%22%3A%220%22%2C%22sku_barcode%22%3A%22%22%7D%5D%2C%22source_info%22%3A%7B%22is_offline_order%22%3Atrue%2C%22book_key%22%3A%22%22%2C%22source%22%3A%7B%22platform%22%3A%22other%22%2C%22wx_entrance%22%3A%22direct_buy%22%7D%7D%2C%22order_info%22%3A%7B%22consign_time%22%3A%22%22%2C%22order_extra%22%3A%7B%22is_from_cart%22%3A%22false%22%7D%2C%22created%22%3A%222024-07-04+14%3A52%3A37%22%2C%22status_str%22%3A%22%E5%B7%B2%E5%AE%8C%E6%88%90%22%2C%22expired_time%22%3A%222024-07-04+14%3A57%3A37%22%2C%22success_time%22%3A%222024-07-04+14%3A52%3A49%22%2C%22type%22%3A6%2C%22confirm_time%22%3A%22%22%2C%22tid%22%3A%22E20240704145237071100023%22%2C%22pay_time%22%3A%222024-07-04+14%3A52%3A49%22%2C%22update_time%22%3A%222024-07-04+14%3A52%3A49%22%2C%22is_retail_order%22%3Afalse%2C%22team_type%22%3A0%2C%22pay_type%22%3A10%2C%22refund_state%22%3A0%2C%22close_type%22%3A0%2C%22order_tags%22%3A%7B%22is_secured_transactions%22%3Atrue%2C%22is_payed%22%3Atrue%7D%2C%22express_type%22%3A9%2C%22status%22%3A%22TRADE_SUCCESS%22%7D%7D%7D","kdt_name":"XX文化","test":false,"sign":"89a261c9c949137579893eff5c02ba8c","sendCount":1,"type":"trade_TradePaid","version":1720075970,"client_id":"a4d96028208fd46b8c","mode":1,"kdt_id":125190178,"id":"E20240704145237071100023","msg_id":"0aaf68a9-cc18-4a30-a19d-efc5cbdf73a8","root_kdt_id":125190178,"status":"TRADE_PAID"}

      您好,参考下https://doc.youzanyun.com/resource/doc/3032
      返回接收成功标识,接收到消息后,需要返回包含 success 的消息体,建议的消息体格式为: {"code":0,"msg":"success"}。否则,推送服务将认为该条消息没有推送成功,会开启自动重推。

        1跳至
        您需要登录后才可以回帖 登录 | 立即注册

        本版积分规则

        复制链接
        新浪微博
        QQ空间
        微信扫码
        • 回复

        • 评分

        客服工作时间是9:00-18:00,客服妹子当前不在线,若不能及时回复请谅解。试试右上角的搜索吧,论坛有丰富的经验贴、公告贴,相信一定能够帮到您~

        复制成功