xxl-job手动开启任务成功,自动调用任务远程接口调用超时'?这是为什么啊?

nddwm 发布于 11/24 14:05
阅读 264
收藏 0

11月25日16点LF开源软件学园为您带来企业拥抱开源101入门公开课>>>

 
2021-11-24 13:50:40 [com.xxl.job.core.thread.JobThread#run]-[124]-[Thread-59]
----------- xxl-job job execute start -----------
----------- Param:url: /v1/infoJob/hotTopic/init method: get timeout: 15 2021-11-24 13:50:40 [com.xxl.job.executor.service.jobhandler.SampleXxlJob#httpJobHandler]-[218]-[Thread-60] java.lang.RuntimeException: Http Request StatusCode(404) Invalid. at com.xxl.job.executor.service.jobhandler.SampleXxlJob.httpJobHandler(SampleXxlJob.java:203) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.xxl.job.core.handler.impl.MethodJobHandler.execute(MethodJobHandler.java:29) at com.xxl.job.core.thread.JobThread$1.call(JobThread.java:134) at com.xxl.job.core.thread.JobThread$1.call(JobThread.java:131) at java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266) at java.util.concurrent.FutureTask.run(FutureTask.java) at java.lang.Thread.run(Thread.java:748) 2021-11-24 13:50:40 [com.xxl.job.core.thread.JobThread#run]-[164]-[Thread-59]
----------- xxl-job job execute end(finish) -----------
----------- ReturnT:ReturnT [code=500, msg=null, content=null] 2021-11-24 13:50:40 [com.xxl.job.core.thread.TriggerCallbackThread#callbackLog]-[191]-[xxl-job, executor TriggerCallbackThread]
----------- xxl-job job callback finish.
[Load Log Finish]
加载中
0
湖水没了
湖水没了

 Http Request StatusCode(404)

0
凡是定律
凡是定律

因为里面有个设置时间得属性,你得设置得长点,否则会超时,设置为最大好像 是1000000

0
sprouting
sprouting

java.lang.RuntimeException: Http Request StatusCode(404) Invalid. at

检查端口,项目名,IP地址

OSCHINA
登录后可查看更多优质内容
返回顶部
顶部