xxl-job手动开启任务成功,自动调用任务远程接口调用超时'?这是为什么啊?
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]
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
java.lang.RuntimeException: Http Request StatusCode(404) Invalid. at
检查端口,项目名,IP地址
因为里面有个设置时间得属性,你得设置得长点,否则会超时,设置为最大好像 是1000000
Http Request StatusCode(404)