从版本< 1.8 >
shi chuck编辑
在2019/11/21 16:09上
到版本
shi chuck编辑
在2020/04/23 16:45上
< >
修改评论 上传新附件1587631529627-174.png

Summary

Details

Page properties
Content
... ... @@ -78,7 +78,7 @@
78 78  
79 79  = 案例5:日志分析之查鉴权请求 =
80 80  
81 -密码或刷卡充电,平台日志会收到鉴权请求,日志格式排查可  以关键字(其中桩id按实际替换):“deviceNumber: 35010400080000200014 >”。
81 +**~~密码充电**,平台日志会收到鉴权请求,日志格式排查可  以关键字(其中桩id按实际替换):“deviceNumber: 35010400080000200014 >”。
82 82  
83 83  实例如下:(对应 案例 fzfs_case#4_20191121)
84 84  
... ... @@ -85,4 +85,21 @@
85 85  以方硕福州齐安充电站   桩id=35010400080000200014 ,如平台收到 密码充电  会有如下日志。2019-11-21 07:24:47,962 INFO [com.himorning.base.interceptors.BaseInterceptor] - <POST : subUnits: encryptionAlg: md5 authType: 0 chargeUnitLabel: 3 password: 573B8926F015AA477CB6604901B92AEA deviceNumber: 35010400080000200014 >
86 86  
87 87  反之:紫阳站  桩id=35011100080000200001 ,在今日 未查到  类似日志。 说明平台未收到桩端请求上送。
88 -\\
88 +\\~~刷卡充电 日志示例
89 +2019-11-26 10:40:50.368 | http-nio-8010-exec-1 | INFO | c.s.b.f.CustomAuthenticationFilter.doFilter(68) : POST : authType: 2 chargeUnitLabel: 2 deviceNumber: 44200000010000200002 subUnits: userCardNumber: 0001000000000013
90 +2019-11-26 10:40:50.368 | http-nio-8010-exec-1 | INFO | c.s.boss.controller.ChargeController.auth(133) : =========receiveTspAction=====auth() password= null | deviceNumber=44200000010000200002
91 +
92 +
93 += 案例6:日志分析之密码充电失败 =
94 +
95 +**~~密码充电(测试平台为例)**
96 +
97 +1、登录‘https:~/~/mc-uat.linghuchongtech.com/‘,依次进入“首页/系统管理/运维管理/日志查询”。
98 +2、日志栏数据“/auth”,点查询,如涉及时间,选择正确时间区间。
99 +3、按ctrl+f5,  右上角查询栏输入:authType,查询关键字,分析问题。本例示例为充电密码3分钟内未启动充电,见下图:
100 +
101 +[[image:1583814196947-417.png]]
102 +
103 +
104 +
105 +
1583814196947-417.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ShiChuck
Size
... ... @@ -1,0 +1,1 @@
1 +120.8 KB
Content
1587631529627-174.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ShiChuck
Size
... ... @@ -1,0 +1,1 @@
1 +78.4 KB
Content