Skip to content

添加节点的时候,公钥有误 #209

Description

@WeC9

bug描述

添加节点时,并不能顺利添加节点,查看application日志的,显示解密有误

复现步骤

1.按照文档多机部署
2.环境为内网虚拟机

bug日志

node0:
14:44:29.548 [INFO ] [http-nio-8090-exec-8] [com.primihub.biz.service.sys.SysUserService:76] ip:192.192.192.2
14:45:17.981 [INFO ] [http-nio-8090-exec-4] [com.primihub.biz.service.data.OtherBusinessesService:181] http://172.16.1.112:30080/prod-api/share/shareData/apply
14:45:17.998 [INFO ] [http-nio-8090-exec-4] [com.primihub.biz.service.data.OtherBusinessesService:183] url:【http://172.16.1.112:30080/prod-api/share/shareData/apply】 - baseResultEntity {"code":1013,"msg":"解密失败:解密内容失败:Request processing failed; nested exception is java.lang.NullPointerException"}
node1:
14:45:17.964 [INFO ] [http-nio-8090-exec-7] [com.primihub.biz.service.sys.SysOrganService:240] {"organName":"机构A","country":"CN","applyId":"73b55fd887fb-652fa07e-ce82-45c6-ade6-7d8f4d982977","organId":"278ef6cd-e8be-42f7-8627-73b55fd887fb","lon":114.0683,"publicKey":"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCluoBsZ25v/GBhbjzZD2iqRu7sT+9cWcs2lg8MCXSzZN4UdROSn30fX/F299jeYHZczl0WaAFJSh2PIPmLRLnRTZznBhroO30P3dIJ6MUsJ4cgLflVarE/bqzEmXdp8oZr4hPAqvViueh87klvmtQhTlIsv6DQpaNGT4oW8j1KzwIDAQAB","gateway":"http://172.16.1.111:30080/prod-api","lat":22.5455}
14:50:00.000 [INFO ] [scheduling-1] [com.primihub.biz.service.schedule.ScheduleService:66] 定时处理节点业务
14:50:06.566 [INFO ] [SimpleAsyncTaskExecutor-29] [com.primihub.biz.service.sys.SysAsyncService:70] {"code":0,"msg":"成功"}
15:00:00.006 [INFO ] [scheduling-1] [com.primihub.biz.service.schedule.ScheduleService:66] 定时处理节点业务
15:00:05.869 [INFO ] [SimpleAsyncTaskExecutor-30] [com.primihub.biz.service.sys.SysAsyncService:70] {"code":0,"msg":"成功"}
15:10:00.005 [INFO ] [scheduling-1] [com.primihub.biz.service.schedule.ScheduleService:66] 定时处理节点业务
15:10:10.123 [INFO ] [SimpleAsyncTaskExecutor-31] [com.primihub.biz.service.sys.SysAsyncService:70] {"code":0,"msg":"成功"}
15:10:20.871 [INFO ] [http-nio-8090-exec-8] [com.primihub.biz.service.sys.SysOrganService:240] {"organName":"机构A","country":"CN","applyId":"73b55fd887fb-0487c39a-a625-4147-b5cd-c7e8cd4c3475","organId":"278ef6cd-e8be-42f7-8627-73b55fd887fb","lon":114.0683,"publicKey":"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCluoBsZ25v/GBhbjzZD2iqRu7sT+9cWcs2lg8MCXSzZN4UdROSn30fX/F299jeYHZczl0WaAFJSh2PIPmLRLnRTZznBhroO30P3dIJ6MUsJ4cgLflVarE/bqzEmXdp8oZr4hPAqvViueh87klvmtQhTlIsv6DQpaNGT4oW8j1KzwIDAQAB","gateway":"http://172.16.1.111:30080/prod-api","lat":22.5455}
15:20:00.006 [INFO ] [scheduling-1] [com.primihub.biz.service.schedule.ScheduleService:66] 定时处理节点业务
15:20:06.409 [INFO ] [SimpleAsyncTaskExecutor-32] [com.primihub.biz.service.sys.SysAsyncService:70] {"code":0,"msg":"成功"}

环境(请填写完整):

  • OS: 如ubuntu 22.02
  • Arch: 如x86_64,
  • 部署方式:多机docker-compose
  • PrimiHub版本: 如1.6.11

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions