有赞技术老师:
我们通过有赞API接口每日对订单导出,生成excel文件的定时任务,定时每天早上9:30。最近好几次没收到定时任务邮件(发现未生成邮件后,让技术手动再触发后成功生成文档),关于定时任务技术反馈是“请求了接口,却没正确返回数据信息”,最近两周发生了3次定时任务未生成excel的情况。此通过接口调取订单数据的定时任务使用了将近一年,之前一直比较稳定,我们也没做过调整,以下是今日的触发日志,请协助解决。谢谢
序号21,开始执行有赞订单:E20220621205924081200059
序号21,结束执行有赞订单:E20220621205924081200059
序号22,开始执行有赞订单:E20220621205704057506239
序号22,结束执行有赞订单:E20220621205704057506239
序号23,开始执行有赞订单:E20220621204402062906149
java.io.IOException: Server returned HTTP response code: 502 for URL: https://open.youzanyun.com/api/y ... 9e6cdb66fb5400bed36
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1897)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1495)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:268)
at com.jinghua.common.web.easySell.HttpPost.https(HttpPost.java:98)
at com.jinghua.common.service.youzan.YouZanService.getCity(YouZanService.java:665)
at com.jinghua.common.service.youzan.YouZanService.getOrderDetailList(YouZanService.java:286)
at com.jinghua.common.service.youzan.YouZanService.getOrderListAndSendMail(YouZanService.java:77)
at com.jinghua.common.service.youzan.YouZanService$$FastClassByCGLIB$$a28755c4.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:692)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:625)
at com.jinghua.common.service.youzan.YouZanService$$EnhancerByCGLIB$$e52be7c7.getOrderListAndSendMail(<generated>)
at com.jinghua.common.web.quartz.QuartzController.youzanGetOrderListQuartz(QuartzController.java:3748)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMet
本帖最后由 精华学校 于 2022-6-23 13:42 编辑
|