本地Gateway配置ribbon不生效,client/data-scope服务地址错误

Blade 未结 2 1610
Canxer314
Canxer314 2020-04-09 15:50

一、问题的重现步骤

  1. 本地Gateway添加blade-ribbon依赖,配置127.0.0.1优先访问

    image.png

    2. 执行baseMapper.selectList()函数访问数据库

        image.png

二、预期与结果

    1. 期待的结果

        获取数据权限的服务会因为配置了负载均衡优先访问本地的

    2. 实际情况

        获取数据权限的服务访问的还是部署在服务器上以容器启动的服务

image.png

        然后在执行完Sql请求后,再次发送了多次 /data-scope/by-mapper请求,而在后续的请求中,访问的地址却正常的访问本地的服务

三、产品、版本、操作系统

  1. BladeX 

  2. 2.2.2.RELEASE

  3. Java8

  4. IntelliJ Idea

  5. windows 10


四、错误堆栈信息


2020-04-09 15:05:45.728 DEBUG [blade-cim-schedule-management,f887eaf442cbf9c0,f887eaf442cbf9c0,false] 39168 --- [  XNIO-1 task-1] .c.c.v.BladeRequestMappingHandlerMapping : Mapped to public org.springblade.core.tool.api.R> com.ecidi.cim.schedule.management.controller.PlusProgressController.schedule(java.lang.Long)

2020-04-09 15:05:45.773  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,f887eaf442cbf9c0,false] 39168 --- [  XNIO-1 task-1] o.s.core.log.aspect.RequestLogAspect     : 


================  Request Start  ================

===> GET: /plus/progress/schedule/task-model Parameters: {"projectId":100}

===Headers===  content-length : 0

===Headers===  X-Forwarded-Prefix : /blade-cim-schedule-management

===Headers===  Accept : */*

===Headers===  User-Agent : PostmanRuntime/7.24.0

===Headers===  X-Forwarded-Proto : http

===Headers===  X-Forwarded-Host : localhost

===Headers===  Host : localhost

===Headers===  Accept-Encoding : gzip, deflate, br

===Headers===  X-Forwarded-Port : 80

===Headers===  Authorization : Basic c2FiZXI6c2FiZXJfc2VjcmV0

===Headers===  Cache-Control : no-cache

===Headers===  Forwarded : proto=http;host=localhost;for="0:0:0:0:0:0:0:1:2332"

===Headers===  X-Forwarded-For : 0:0:0:0:0:0:0:1

===Headers===  Postman-Token : 42c2c0e8-1778-4a4a-b272-7c5654e45542

===Headers===  Blade-Auth : bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZW5hbnRfaWQiOiIwMDAwMDEiLCJ1c2VyX25hbWUiOiJodWFuZ195ajMiLCJyZWFsX25hbWUiOiLpu4Toi7HmnbAiLCJhdmF0YXIiOiJodHRwOi8vMTAuMjE4LjUxLjIxNzo5MDAwL2JsYWRleC1jaW0vdXBsb2FkLzIwMTkxMDIwLzU3ZDdlNzJjMGI5NDNmNjA1YmRkMjU2OGY4MTM1ZDFkLmpwZyIsImF1dGhvcml0aWVzIjpbImFkbWluIl0sImNsaWVudF9pZCI6InNhYmVyIiwicm9sZV9uYW1lIjoiYWRtaW4iLCJsaWNlbnNlIjoicG93ZXJlZCBieSBibGFkZXgiLCJ1c2VyX2lkIjoiMTE4NTQ4ODA5MjcxMjY4MTQ3MyIsInJvbGVfaWQiOiIxMTc2NjkwMjYyOTQwNDc1MzkzIiwic2NvcGUiOlsiYWxsIl0sIm5pY2tfbmFtZSI6Ium7hOiLseadsCIsImV4cCI6MTU4NjQxNjA2NCwiZGVwdF9pZCI6IjExODU0ODU1MDg4NDMzODA3MzgiLCJqdGkiOiI3MTM1NjE4My0yMTQ4LTQ4NmUtOTYyMy1hOTA5NjM1YTEwOWUiLCJhY2NvdW50IjoiaHVhbmdfeWozIn0.XQA_vP4xXkNv4xsIsM3ETBIBT8iCBsYrPraC4s-0dLU

===Headers===  Content-Type : application/json

================  Request  End   ================


Creating a new SqlSession

SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@32e37316] was not registered for synchronization because synchronization is not active

JDBC Connection [com.mysql.cj.jdbc.ConnectionImpl@6c68ee6a] will not be managed by Spring

Original SQL: SELECT  id,element_id,finish_time,model_id,update_user,update_time,actual_finish,is_deleted,create_dept,create_time,tenant_id,start_time,create_user,actual_start,project_id,task_id,status  FROM plus_task_bind_model 

 WHERE  is_deleted=0


AND (project_id = ?)

parser sql: SELECT id, element_id, finish_time, model_id, update_user, update_time, actual_finish, is_deleted, create_dept, create_time, tenant_id, start_time, create_user, actual_start, project_id, task_id, status FROM plus_task_bind_model WHERE is_deleted = 0 AND (project_id = ?) AND plus_task_bind_model.tenant_id = '000001'

2020-04-09 15:05:47.015  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,bfe4d7ee24bf91b3,false] 39168 --- [-blade-system-1] c.netflix.config.ChainedDynamicProperty  : Flipping property: blade-system.ribbon.ActiveConnectionsLimit to use NEXT property: niws.loadbalancer.availabilityFilteringRule.activeConnectionsLimit = 2147483647

2020-04-09 15:05:47.036  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,bfe4d7ee24bf91b3,false] 39168 --- [-blade-system-1] c.netflix.loadbalancer.BaseLoadBalancer  : Client: blade-system instantiated a LoadBalancer: DynamicServerListLoadBalancer:{NFLoadBalancer:name=blade-system,current list of Servers=[],Load balancer stats=Zone stats: {},Server stats: []}ServerList:null

2020-04-09 15:05:47.043  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,bfe4d7ee24bf91b3,false] 39168 --- [-blade-system-1] c.n.l.DynamicServerListLoadBalancer      : Using serverListUpdater PollingServerListUpdater

2020-04-09 15:05:47.870  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,bfe4d7ee24bf91b3,false] 39168 --- [-blade-system-1] c.netflix.config.ChainedDynamicProperty  : Flipping property: blade-system.ribbon.ActiveConnectionsLimit to use NEXT property: niws.loadbalancer.availabilityFilteringRule.activeConnectionsLimit = 2147483647

2020-04-09 15:05:47.871  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,bfe4d7ee24bf91b3,false] 39168 --- [-blade-system-1] c.n.l.DynamicServerListLoadBalancer      : DynamicServerListLoadBalancer for client blade-system initialized: DynamicServerListLoadBalancer:{NFLoadBalancer:name=blade-system,current list of Servers=[172.30.0.12:8106, 10.214.91.138:8106],Load balancer stats=Zone stats: {unknown=[Zone:unknown; Instance count:2; Active connections count: 0; Circuit breaker tripped count: 0; Active connections per server: 0.0;]

},Server stats: [[Server:10.214.91.138:8106; Zone:UNKNOWN; Total Requests:0; Successive connection failure:0; Total blackout seconds:0; Last connection made:Thu Jan 01 08:00:00 CST 1970; First connection made: Thu Jan 01 08:00:00 CST 1970; Active Connections:0; total failure count in last (1000) msecs:0; average resp time:0.0; 90 percentile resp time:0.0; 95 percentile resp time:0.0; min resp time:0.0; max resp time:0.0; stddev resp time:0.0]

, [Server:172.30.0.12:8106; Zone:UNKNOWN; Total Requests:0; Successive connection failure:0; Total blackout seconds:0; Last connection made:Thu Jan 01 08:00:00 CST 1970; First connection made: Thu Jan 01 08:00:00 CST 1970; Active Connections:0; total failure count in last (1000) msecs:0; average resp time:0.0; 90 percentile resp time:0.0; 95 percentile resp time:0.0; min resp time:0.0; max resp time:0.0; stddev resp time:0.0]

]}ServerList:com.alibaba.cloud.nacos.ribbon.NacosServerList@18357f26

2020-04-09 15:05:47.935  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,b2b3403233c65797,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : --> GET http://172.30.0.12:8106/client/data-scope/by-mapper?mapperId=com.ecidi.cim.schedule.management.mapper.PlusTaskBindModelMapper.selectList&roleId=1176690262940475393

2020-04-09 15:05:47.935  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,b2b3403233c65797,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : Authorization: Basic c2FiZXI6c2FiZXJfc2VjcmV0

2020-04-09 15:05:47.935  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,b2b3403233c65797,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : X-B3-ParentSpanId: bfe4d7ee24bf91b3

2020-04-09 15:05:47.935  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,b2b3403233c65797,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : X-B3-Sampled: 0

2020-04-09 15:05:47.935  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,b2b3403233c65797,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : X-B3-TraceId: f887eaf442cbf9c0

2020-04-09 15:05:47.935  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,b2b3403233c65797,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : X-B3-SpanId: b2b3403233c65797

2020-04-09 15:05:47.935  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,b2b3403233c65797,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : Blade-Auth: bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZW5hbnRfaWQiOiIwMDAwMDEiLCJ1c2VyX25hbWUiOiJodWFuZ195ajMiLCJyZWFsX25hbWUiOiLpu4Toi7HmnbAiLCJhdmF0YXIiOiJodHRwOi8vMTAuMjE4LjUxLjIxNzo5MDAwL2JsYWRleC1jaW0vdXBsb2FkLzIwMTkxMDIwLzU3ZDdlNzJjMGI5NDNmNjA1YmRkMjU2OGY4MTM1ZDFkLmpwZyIsImF1dGhvcml0aWVzIjpbImFkbWluIl0sImNsaWVudF9pZCI6InNhYmVyIiwicm9sZV9uYW1lIjoiYWRtaW4iLCJsaWNlbnNlIjoicG93ZXJlZCBieSBibGFkZXgiLCJ1c2VyX2lkIjoiMTE4NTQ4ODA5MjcxMjY4MTQ3MyIsInJvbGVfaWQiOiIxMTc2NjkwMjYyOTQwNDc1MzkzIiwic2NvcGUiOlsiYWxsIl0sIm5pY2tfbmFtZSI6Ium7hOiLseadsCIsImV4cCI6MTU4NjQxNjA2NCwiZGVwdF9pZCI6IjExODU0ODU1MDg4NDMzODA3MzgiLCJqdGkiOiI3MTM1NjE4My0yMTQ4LTQ4NmUtOTYyMy1hOTA5NjM1YTEwOWUiLCJhY2NvdW50IjoiaHVhbmdfeWozIn0.XQA_vP4xXkNv4xsIsM3ETBIBT8iCBsYrPraC4s-0dLU

2020-04-09 15:05:47.935  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,b2b3403233c65797,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : Accept: */*

2020-04-09 15:05:47.935  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,b2b3403233c65797,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : --> END GET

2020-04-09 15:05:48.047  INFO [blade-cim-schedule-management,,,] 39168 --- [erListUpdater-0] c.netflix.config.ChainedDynamicProperty  : Flipping property: blade-system.ribbon.ActiveConnectionsLimit to use NEXT property: niws.loadbalancer.availabilityFilteringRule.activeConnectionsLimit = 2147483647

==>  Preparing: SELECT id, element_id, finish_time, model_id, update_user, update_time, actual_finish, is_deleted, create_dept, create_time, tenant_id, start_time, create_user, actual_start, project_id, task_id, status FROM plus_task_bind_model WHERE is_deleted = 0 AND (project_id = ?) AND plus_task_bind_model.tenant_id = '000001' 

==>  Preparing: SELECT id, element_id, finish_time, model_id, update_user, update_time, actual_finish, is_deleted, create_dept, create_time, tenant_id, start_time, create_user, actual_start, project_id, task_id, status FROM plus_task_bind_model WHERE is_deleted = 0 AND (project_id = ?) AND plus_task_bind_model.tenant_id = '000001' 

==> Parameters: 100(Long)

<==    Columns: id, element_id, finish_time, model_id, update_user, update_time, actual_finish, is_deleted, create_dept, create_time, tenant_id, start_time, create_user, actual_start, project_id, task_id, status

<==        Row: 1247729575453827073, 8, 2007-01-01 23:59:59, 1247525310105657345, 1185488092712681473, 2020-04-08 11:34:47, null, 0, 1185485508843380738, 2020-04-08 11:34:47, 000001, 2007-01-01 00:00:00, 1185488092712681473, null, 100, 2, 1

<==        Row: 1247729639844782082, 1, 2007-01-03 23:59:59, 1247525310105657345, 1185488092712681473, 2020-04-08 11:35:02, null, 0, 1185485508843380738, 2020-04-08 11:35:02, 000001, 2007-01-02 00:00:00, 1185488092712681473, null, 100, 3, 1

<==        Row: 1247729776478429186, 5, 2007-01-05 23:59:59, 1247525310105657345, 1185488092712681473, 2020-04-08 11:35:35, null, 0, 1185485508843380738, 2020-04-08 11:35:35, 000001, 2007-01-04 00:00:00, 1185488092712681473, null, 100, 4, 1

<==        Row: 1247729841917960194, 6, 2007-01-09 23:59:59, 1247525310105657345, 1185488092712681473, 2020-04-08 11:35:51, null, 0, 1185485508843380738, 2020-04-08 11:35:51, 000001, 2007-01-08 00:00:00, 1185488092712681473, null, 100, 5, 1

<==        Row: 1247732086428442626, 22, 2007-01-24 23:59:59, 1247525310105657345, 1185488092712681473, 2020-04-08 11:44:46, null, 0, 1185485508843380738, 2020-04-08 11:44:46, 000001, 2007-01-19 00:00:00, 1185488092712681473, null, 100, 9, 1

<==        Row: 1247732117365628929, 18, 2007-01-29 23:59:59, 1247525310105657345, 1185488092712681473, 2020-04-08 11:44:53, null, 0, 1185485508843380738, 2020-04-08 11:44:53, 000001, 2007-01-25 00:00:00, 1185488092712681473, null, 100, 10, 1

<==        Row: 1247732189537017858, 17, 2007-01-31 23:59:59, 1247525310105657345, 1185488092712681473, 2020-04-08 11:45:10, null, 0, 1185485508843380738, 2020-04-08 11:45:10, 000001, 2007-01-31 00:00:00, 1185488092712681473, null, 100, 12, 1

<==        Row: 1247732206289068033, 38, 2007-02-01 23:59:59, 1247525310105657345, 1185488092712681473, 2020-04-08 11:45:14, null, 0, 1185485508843380738, 2020-04-08 11:45:14, 000001, 2007-02-01 00:00:00, 1185488092712681473, null, 100, 13, 1

<==        Row: 1247732221283704833, 35, 2007-02-02 23:59:59, 1247525310105657345, 1185488092712681473, 2020-04-08 11:45:18, null, 0, 1185485508843380738, 2020-04-08 11:45:18, 000001, 2007-02-02 00:00:00, 1185488092712681473, null, 100, 14, 1

<==        Row: 1247732286366720002, 25, 2007-02-06 23:59:59, 1247525310105657345, 1185488092712681473, 2020-04-08 11:45:33, null, 0, 1185485508843380738, 2020-04-08 11:45:33, 000001, 2007-02-05 00:00:00, 1185488092712681473, null, 100, 15, 1

<==        Row: 1247732419242270721, 10, 2007-02-07 00:00:00, 1247525310105657345, 1185488092712681473, 2020-04-08 11:46:05, null, 0, 1185485508843380738, 2020-04-08 11:46:05, 000001, 2007-02-07 00:00:00, 1185488092712681473, null, 100, 16, 1

<==      Total: 11

Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@32e37316]


==============  Sql Start  ==============

Execute ID  :com.ecidi.cim.schedule.management.mapper.PlusTaskBindModelMapper.selectList

Execute SQL :SELECT id, element_id, finish_time, model_id, update_user, update_time, actual_finish, is_deleted, create_dept, create_time, tenant_id, start_time, create_user, actual_start, project_id, task_id, status FROM plus_task_bind_model WHERE is_deleted = 0 AND (project_id = ?) AND plus_task_bind_model.tenant_id = '000001'

Execute Time:1406 ms

==============  Sql  End   ==============


2020-04-09 15:05:53.217  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,f887eaf442cbf9c0,false] 39168 --- [  XNIO-1 task-1] o.s.core.log.aspect.RequestLogAspect     : 


================  Response Start  ===============

===Result===  {"code":200,"success":true,"data":[{"id":"1247729575453827073","createUser":"1185488092712681473","createDept":"1185485508843380738","createTime":"2020-04-08 11:34:47","updateUser":"1185488092712681473","updateTime":"2020-04-08 11:34:47","status":1,"isDeleted":0,"tenantId":"000001","projectId":100,"taskId":2,"modelId":1247525310105657345,"elementId":"8","startTime":"2007-01-01 00:00:00","finishTime":"2007-01-01 23:59:59","actualStart":null,"actualFinish":null},{"id":"1247729639844782082","createUser":"1185488092712681473","createDept":"1185485508843380738","createTime":"2020-04-08 11:35:02","updateUser":"1185488092712681473","updateTime":"2020-04-08 11:35:02","status":1,"isDeleted":0,"tenantId":"000001","projectId":100,"taskId":3,"modelId":1247525310105657345,"elementId":"1","startTime":"2007-01-02 00:00:00","finishTime":"2007-01-03 23:59:59","actualStart":null,"actualFinish":null},{"id":"1247729776478429186","createUser":"1185488092712681473","createDept":"1185485508843380738","createTime":"2020-04-08 11:35:35","updateUser":"1185488092712681473","updateTime":"2020-04-08 11:35:35","status":1,"isDeleted":0,"tenantId":"000001","projectId":100,"taskId":4,"modelId":1247525310105657345,"elementId":"5","startTime":"2007-01-04 00:00:00","finishTime":"2007-01-05 23:59:59","actualStart":null,"actualFinish":null},{"id":"1247729841917960194","createUser":"1185488092712681473","createDept":"1185485508843380738","createTime":"2020-04-08 11:35:51","updateUser":"1185488092712681473","updateTime":"2020-04-08 11:35:51","status":1,"isDeleted":0,"tenantId":"000001","projectId":100,"taskId":5,"modelId":1247525310105657345,"elementId":"6","startTime":"2007-01-08 00:00:00","finishTime":"2007-01-09 23:59:59","actualStart":null,"actualFinish":null},{"id":"1247732086428442626","createUser":"1185488092712681473","createDept":"1185485508843380738","createTime":"2020-04-08 11:44:46","updateUser":"1185488092712681473","updateTime":"2020-04-08 11:44:46","status":1,"isDeleted":0,"tenantId":"000001","projectId":100,"taskId":9,"modelId":1247525310105657345,"elementId":"22","startTime":"2007-01-19 00:00:00","finishTime":"2007-01-24 23:59:59","actualStart":null,"actualFinish":null},{"id":"1247732117365628929","createUser":"1185488092712681473","createDept":"1185485508843380738","createTime":"2020-04-08 11:44:53","updateUser":"1185488092712681473","updateTime":"2020-04-08 11:44:53","status":1,"isDeleted":0,"tenantId":"000001","projectId":100,"taskId":10,"modelId":1247525310105657345,"elementId":"18","startTime":"2007-01-25 00:00:00","finishTime":"2007-01-29 23:59:59","actualStart":null,"actualFinish":null},{"id":"1247732189537017858","createUser":"1185488092712681473","createDept":"1185485508843380738","createTime":"2020-04-08 11:45:10","updateUser":"1185488092712681473","updateTime":"2020-04-08 11:45:10","status":1,"isDeleted":0,"tenantId":"000001","projectId":100,"taskId":12,"modelId":1247525310105657345,"elementId":"17","startTime":"2007-01-31 00:00:00","finishTime":"2007-01-31 23:59:59","actualStart":null,"actualFinish":null},{"id":"1247732206289068033","createUser":"1185488092712681473","createDept":"1185485508843380738","createTime":"2020-04-08 11:45:14","updateUser":"1185488092712681473","updateTime":"2020-04-08 11:45:14","status":1,"isDeleted":0,"tenantId":"000001","projectId":100,"taskId":13,"modelId":1247525310105657345,"elementId":"38","startTime":"2007-02-01 00:00:00","finishTime":"2007-02-01 23:59:59","actualStart":null,"actualFinish":null},{"id":"1247732221283704833","createUser":"1185488092712681473","createDept":"1185485508843380738","createTime":"2020-04-08 11:45:18","updateUser":"1185488092712681473","updateTime":"2020-04-08 11:45:18","status":1,"isDeleted":0,"tenantId":"000001","projectId":100,"taskId":14,"modelId":1247525310105657345,"elementId":"35","startTime":"2007-02-02 00:00:00","finishTime":"2007-02-02 23:59:59","actualStart":null,"actualFinish":null},{"id":"1247732286366720002","createUser":"1185488092712681473","createDept":"1185485508843380738","createTime":"2020-04-08 11:45:33","updateUser":"1185488092712681473","updateTime":"2020-04-08 11:45:33","status":1,"isDeleted":0,"tenantId":"000001","projectId":100,"taskId":15,"modelId":1247525310105657345,"elementId":"25","startTime":"2007-02-05 00:00:00","finishTime":"2007-02-06 23:59:59","actualStart":null,"actualFinish":null},{"id":"1247732419242270721","createUser":"1185488092712681473","createDept":"1185485508843380738","createTime":"2020-04-08 11:46:05","updateUser":"1185488092712681473","updateTime":"2020-04-08 11:46:05","status":1,"isDeleted":0,"tenantId":"000001","projectId":100,"taskId":16,"modelId":1247525310105657345,"elementId":"10","startTime":"2007-02-07 00:00:00","finishTime":"2007-02-07 00:00:00","actualStart":null,"actualFinish":null}],"msg":"操作成功"}

<=== GET: /plus/progress/schedule/task-model (7443 ms)

================  Response  End   ===============


2020-04-09 15:06:08.959  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,b2b3403233c65797,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : <-- HTTP FAILED: java.net.ConnectException: Failed to connect to /172.30.0.12:8106

2020-04-09 15:06:08.960  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,0baf315b9951a3f1,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : --> GET http://172.30.0.12:8106/client/data-scope/by-mapper?mapperId=com.ecidi.cim.schedule.management.mapper.PlusTaskBindModelMapper.selectList&roleId=1176690262940475393

2020-04-09 15:06:08.960  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,0baf315b9951a3f1,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : Authorization: Basic c2FiZXI6c2FiZXJfc2VjcmV0

2020-04-09 15:06:08.960  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,0baf315b9951a3f1,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : X-B3-ParentSpanId: bfe4d7ee24bf91b3

2020-04-09 15:06:08.960  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,0baf315b9951a3f1,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : X-B3-Sampled: 0

2020-04-09 15:06:08.960  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,0baf315b9951a3f1,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : X-B3-TraceId: f887eaf442cbf9c0

2020-04-09 15:06:08.960  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,0baf315b9951a3f1,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : X-B3-SpanId: 0baf315b9951a3f1

2020-04-09 15:06:08.960  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,0baf315b9951a3f1,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : Blade-Auth: bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZW5hbnRfaWQiOiIwMDAwMDEiLCJ1c2VyX25hbWUiOiJodWFuZ195ajMiLCJyZWFsX25hbWUiOiLpu4Toi7HmnbAiLCJhdmF0YXIiOiJodHRwOi8vMTAuMjE4LjUxLjIxNzo5MDAwL2JsYWRleC1jaW0vdXBsb2FkLzIwMTkxMDIwLzU3ZDdlNzJjMGI5NDNmNjA1YmRkMjU2OGY4MTM1ZDFkLmpwZyIsImF1dGhvcml0aWVzIjpbImFkbWluIl0sImNsaWVudF9pZCI6InNhYmVyIiwicm9sZV9uYW1lIjoiYWRtaW4iLCJsaWNlbnNlIjoicG93ZXJlZCBieSBibGFkZXgiLCJ1c2VyX2lkIjoiMTE4NTQ4ODA5MjcxMjY4MTQ3MyIsInJvbGVfaWQiOiIxMTc2NjkwMjYyOTQwNDc1MzkzIiwic2NvcGUiOlsiYWxsIl0sIm5pY2tfbmFtZSI6Ium7hOiLseadsCIsImV4cCI6MTU4NjQxNjA2NCwiZGVwdF9pZCI6IjExODU0ODU1MDg4NDMzODA3MzgiLCJqdGkiOiI3MTM1NjE4My0yMTQ4LTQ4NmUtOTYyMy1hOTA5NjM1YTEwOWUiLCJhY2NvdW50IjoiaHVhbmdfeWozIn0.XQA_vP4xXkNv4xsIsM3ETBIBT8iCBsYrPraC4s-0dLU

2020-04-09 15:06:08.960  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,0baf315b9951a3f1,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : Accept: */*

2020-04-09 15:06:08.960  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,0baf315b9951a3f1,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : --> END GET

2020-04-09 15:06:29.975  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,0baf315b9951a3f1,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : <-- HTTP FAILED: java.net.ConnectException: Failed to connect to /172.30.0.12:8106

2020-04-09 15:06:29.976  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,d79cdeb36d885054,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : --> GET http://10.214.91.138:8106/client/data-scope/by-mapper?mapperId=com.ecidi.cim.schedule.management.mapper.PlusTaskBindModelMapper.selectList&roleId=1176690262940475393

2020-04-09 15:06:29.976  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,d79cdeb36d885054,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : Authorization: Basic c2FiZXI6c2FiZXJfc2VjcmV0

2020-04-09 15:06:29.976  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,d79cdeb36d885054,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : X-B3-ParentSpanId: bfe4d7ee24bf91b3

2020-04-09 15:06:29.976  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,d79cdeb36d885054,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : X-B3-Sampled: 0

2020-04-09 15:06:29.976  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,d79cdeb36d885054,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : X-B3-TraceId: f887eaf442cbf9c0

2020-04-09 15:06:29.976  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,d79cdeb36d885054,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : X-B3-SpanId: d79cdeb36d885054

2020-04-09 15:06:29.976  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,d79cdeb36d885054,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : Blade-Auth: bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZW5hbnRfaWQiOiIwMDAwMDEiLCJ1c2VyX25hbWUiOiJodWFuZ195ajMiLCJyZWFsX25hbWUiOiLpu4Toi7HmnbAiLCJhdmF0YXIiOiJodHRwOi8vMTAuMjE4LjUxLjIxNzo5MDAwL2JsYWRleC1jaW0vdXBsb2FkLzIwMTkxMDIwLzU3ZDdlNzJjMGI5NDNmNjA1YmRkMjU2OGY4MTM1ZDFkLmpwZyIsImF1dGhvcml0aWVzIjpbImFkbWluIl0sImNsaWVudF9pZCI6InNhYmVyIiwicm9sZV9uYW1lIjoiYWRtaW4iLCJsaWNlbnNlIjoicG93ZXJlZCBieSBibGFkZXgiLCJ1c2VyX2lkIjoiMTE4NTQ4ODA5MjcxMjY4MTQ3MyIsInJvbGVfaWQiOiIxMTc2NjkwMjYyOTQwNDc1MzkzIiwic2NvcGUiOlsiYWxsIl0sIm5pY2tfbmFtZSI6Ium7hOiLseadsCIsImV4cCI6MTU4NjQxNjA2NCwiZGVwdF9pZCI6IjExODU0ODU1MDg4NDMzODA3MzgiLCJqdGkiOiI3MTM1NjE4My0yMTQ4LTQ4NmUtOTYyMy1hOTA5NjM1YTEwOWUiLCJhY2NvdW50IjoiaHVhbmdfeWozIn0.XQA_vP4xXkNv4xsIsM3ETBIBT8iCBsYrPraC4s-0dLU

2020-04-09 15:06:29.976  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,d79cdeb36d885054,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : Accept: */*

2020-04-09 15:06:29.976  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,d79cdeb36d885054,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : --> END GET

2020-04-09 15:06:29.988  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,d79cdeb36d885054,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : <-- HTTP FAILED: java.io.InterruptedIOException: thread interrupted

2020-04-09 15:06:29.988  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,d6243d9ee475bafd,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : --> GET http://10.214.91.138:8106/client/data-scope/by-mapper?mapperId=com.ecidi.cim.schedule.management.mapper.PlusTaskBindModelMapper.selectList&roleId=1176690262940475393

2020-04-09 15:06:29.988  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,d6243d9ee475bafd,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : Authorization: Basic c2FiZXI6c2FiZXJfc2VjcmV0

2020-04-09 15:06:29.988  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,d6243d9ee475bafd,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : X-B3-ParentSpanId: bfe4d7ee24bf91b3

2020-04-09 15:06:29.988  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,d6243d9ee475bafd,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : X-B3-Sampled: 0

2020-04-09 15:06:29.988  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,d6243d9ee475bafd,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : X-B3-TraceId: f887eaf442cbf9c0

2020-04-09 15:06:29.988  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,d6243d9ee475bafd,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : X-B3-SpanId: d6243d9ee475bafd

2020-04-09 15:06:29.988  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,d6243d9ee475bafd,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : Blade-Auth: bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZW5hbnRfaWQiOiIwMDAwMDEiLCJ1c2VyX25hbWUiOiJodWFuZ195ajMiLCJyZWFsX25hbWUiOiLpu4Toi7HmnbAiLCJhdmF0YXIiOiJodHRwOi8vMTAuMjE4LjUxLjIxNzo5MDAwL2JsYWRleC1jaW0vdXBsb2FkLzIwMTkxMDIwLzU3ZDdlNzJjMGI5NDNmNjA1YmRkMjU2OGY4MTM1ZDFkLmpwZyIsImF1dGhvcml0aWVzIjpbImFkbWluIl0sImNsaWVudF9pZCI6InNhYmVyIiwicm9sZV9uYW1lIjoiYWRtaW4iLCJsaWNlbnNlIjoicG93ZXJlZCBieSBibGFkZXgiLCJ1c2VyX2lkIjoiMTE4NTQ4ODA5MjcxMjY4MTQ3MyIsInJvbGVfaWQiOiIxMTc2NjkwMjYyOTQwNDc1MzkzIiwic2NvcGUiOlsiYWxsIl0sIm5pY2tfbmFtZSI6Ium7hOiLseadsCIsImV4cCI6MTU4NjQxNjA2NCwiZGVwdF9pZCI6IjExODU0ODU1MDg4NDMzODA3MzgiLCJqdGkiOiI3MTM1NjE4My0yMTQ4LTQ4NmUtOTYyMy1hOTA5NjM1YTEwOWUiLCJhY2NvdW50IjoiaHVhbmdfeWozIn0.XQA_vP4xXkNv4xsIsM3ETBIBT8iCBsYrPraC4s-0dLU

2020-04-09 15:06:29.988  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,d6243d9ee475bafd,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : Accept: */*

2020-04-09 15:06:29.988  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,d6243d9ee475bafd,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : --> END GET

2020-04-09 15:06:30.637  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,d6243d9ee475bafd,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : <-- 200 OK http://10.214.91.138:8106/client/data-scope/by-mapper?mapperId=com.ecidi.cim.schedule.management.mapper.PlusTaskBindModelMapper.selectList&roleId=1176690262940475393 (649ms)

2020-04-09 15:06:30.638  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,d6243d9ee475bafd,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : Connection: keep-alive

2020-04-09 15:06:30.638  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,d6243d9ee475bafd,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : Content-Length: 0

2020-04-09 15:06:30.638  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,d6243d9ee475bafd,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : Date: Thu, 09 Apr 2020 07:06:30 GMT

2020-04-09 15:06:30.638  INFO [blade-cim-schedule-management,f887eaf442cbf9c0,d6243d9ee475bafd,false] 39168 --- [-blade-system-1] o.s.core.cloud.http.OkHttpSlf4jLogger    : <-- END HTTP (0-byte body)


五、更多


2条回答
提交回复