一、该问题的重现步骤是什么?
1. 在执行定时任务,跨平台Http任务的时候401
2.
3.
二、你期待的结果是什么?实际看到的又是什么?
三、你正在使用的是什么产品,什么版本?在什么操作系统上?
四、请提供详细的错误堆栈信息,这很重要。
2022-09-27 11:28:04 [com.xxl.job.core.thread.JobThread#run]-[124]-[Thread-265]
----------- xxl-job job execute start -----------
----------- Param:http://192.168.1.199:7001/blade-service-deposit/job-handler/generate-report-data-hour
2022-09-27 11:28:08 [org.springblade.job.executor.jobhandler.SampleXxlJob#httpJobHandler]-[160]-[Thread-277] java.net.SocketTimeoutException: connect timed out
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394)
at java.net.Socket.connect(Socket.java:606)
at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
at sun.net.www.http.HttpClient.
五、若有更多详细信息,请在下面提供。
扫一扫访问 Blade技术社区 移动端