一、该问题的重现步骤是什么?
1. 通过xxljob启动器,远程调用其他需要切换数据源的接口遇到问题,直接引入api通过feign调用不成功。
2. 通过Http工具调用auth获取token也报错。
3.
二、你期待的结果是什么?实际看到的又是什么?
期望可以通过定时任务调用成功。
实际报错。
三、你正在使用的是什么产品,什么版本?在什么操作系统上?
bladex 2.9.0
四、请提供详细的错误堆栈信息,这很重要。
2022-03-22 13:32:12.590 WARN 25764 --- [ XNIO-1 task-1] c.a.druid.pool.DruidAbstractDataSource : discard long time none received connection. , jdbcUrl : jdbc:mysql://10.0.2.222:3306/cptg_platform?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true, version : 1.2.8, lastPacketReceivedIdleMillis : 3232087
2022-03-22 14:24:59.083 WARN 25764 --- [ XNIO-1 task-1] c.a.druid.pool.DruidAbstractDataSource : discard long time none received connection. , jdbcUrl : jdbc:mysql://10.0.2.222:3306/cptg_platform?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true, version : 1.2.8, lastPacketReceivedIdleMillis : 160212
2022-03-22 14:24:59.133 WARN 25764 --- [ XNIO-1 task-1] o.s.s.o.provider.endpoint.TokenEndpoint : Handling error: InvalidRequestException, Missing grant type
2022-03-22 14:29:58.356 WARN 25764 --- [ XNIO-1 task-1] c.a.druid.pool.DruidAbstractDataSource : discard long time none received connection. , jdbcUrl : jdbc:mysql://10.0.2.222:3306/cptg_platform?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true, version : 1.2.8, lastPacketReceivedIdleMillis : 299235
2022-03-22 14:29:58.387 WARN 25764 --- [ XNIO-1 task-1] o.s.s.o.provider.endpoint.TokenEndpoint : Handling error: InvalidRequestException, Missing grant type
五、若有更多详细信息,请在下面提供。
扫一扫访问 Blade技术社区 移动端