找文章 / 找答案
精选问答 更多内容

[管理与运维] 登录失败问题

yhdata_2aA4rwOK青铜三 显示全部楼层 发表于 2023-10-23 17:07:25 |阅读模式 打印 上一主题 下一主题
1
未解决

【管理与运维】 登录失败问题

2864 11

输入用户名和密码后,点击登录,就直接变成图中这样了,既不提示用户名密码错误,也登录不进系统,这是怎么回事?
回复

使用道具 举报

精彩评论11

yhdata_yzm 显示全部楼层 发表于 2023-10-23 17:10:30
拿一下对应时间点的日志看看
回复

使用道具 举报

yhdata_2aA4rwOK青铜三 显示全部楼层 发表于 2023-10-23 17:30:47
bi.zip (26.27 KB, 下载次数: 1)
回复

使用道具 举报

yhdata_yzm 显示全部楼层 发表于 2023-10-23 17:39:07
[2023-10-23 16:56:23.870] |-[INFO] |-[635aa14aa748458ba2cbd8de2c8ecbf3] |-[SYSTEM] |-[g5.sv.util.WebUtil.auditUser(WebUtil.java:846)] |-[Add user: admin]
[2023-10-23 16:56:23.871] |-[INFO] |-[635aa14aa748458ba2cbd8de2c8ecbf3] |-[SYSTEM] |-[g5.sv.ServletHelper.getGPrincipal(ServletHelper.java:905)] |-[用户“admin”登录失败]
[2023-10-23 16:56:23.871] |-[INFO] |-[635aa14aa748458ba2cbd8de2c8ecbf3] |-[SYSTEM] |-[g5.sv.ServletHelper.getGPrincipal(ServletHelper.java:918)] |-[用户名或密码错误。]
java.lang.Exception: 用户名或密码错误。
        at g5.secure.fs.AbsFSAuthen.authenticate(AbsFSAuthen.java:58) ~[product-20210714.jar:?]
        at g5.sv.ServletHelper.getGPrincipal(ServletHelper.java:871) [product-20210714.jar:?]
        at g5.sv.ServletHelper.checkLogin(ServletHelper.java:270) [product-20210714.jar:?]
        at g5.sv.ServletHelper.service(ServletHelper.java:96) [product-20210714.jar:?]
        at g5.sv.PortalServlet.service(PortalServlet.java:420) [product-20210714.jar:?]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) [servlet-api.jar:4.0.FR]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [catalina.jar:9.0.37]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.37]
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) [tomcat-websocket.jar:9.0.37]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.37]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.37]
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) [catalina.jar:9.0.37]
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [catalina.jar:9.0.37]
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) [catalina.jar:9.0.37]
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) [catalina.jar:9.0.37]
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [catalina.jar:9.0.37]
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:690) [catalina.jar:9.0.37]
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) [catalina.jar:9.0.37]
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [catalina.jar:9.0.37]
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373) [tomcat-coyote.jar:9.0.37]
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-coyote.jar:9.0.37]
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) [tomcat-coyote.jar:9.0.37]
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1589) [tomcat-coyote.jar:9.0.37]
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-coyote.jar:9.0.37]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:9.0.37]
        at java.lang.Thread.run(Thread.java:834) [?:?]
[2023-10-23 16:56:23.878] |-[INFO] |-[635aa14aa748458ba2cbd8de2c8ecbf3] |-[SYSTEM] |-[g5.sv.ServletHelper.checkLogin(ServletHelper.java:350)] |-[login failed, because error 用户名或密码错误。您还可以尝试4次。]
java.lang.Exception: 用户名或密码错误。您还可以尝试4次。
        at g5.sv.ServletHelper.getGPrincipal(ServletHelper.java:919) ~[product-20210714.jar:?]
        at g5.sv.ServletHelper.checkLogin(ServletHelper.java:270) [product-20210714.jar:?]
        at g5.sv.ServletHelper.service(ServletHelper.java:96) [product-20210714.jar:?]
        at g5.sv.PortalServlet.service(PortalServlet.java:420) [product-20210714.jar:?]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) [servlet-api.jar:4.0.FR]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [catalina.jar:9.0.37]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.37]
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) [tomcat-websocket.jar:9.0.37]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.37]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.37]
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) [catalina.jar:9.0.37]
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [catalina.jar:9.0.37]
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) [catalina.jar:9.0.37]
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) [catalina.jar:9.0.37]
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [catalina.jar:9.0.37]
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:690) [catalina.jar:9.0.37]
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) [catalina.jar:9.0.37]
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [catalina.jar:9.0.37]
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373) [tomcat-coyote.jar:9.0.37]
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-coyote.jar:9.0.37]
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) [tomcat-coyote.jar:9.0.37]
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1589) [tomcat-coyote.jar:9.0.37]
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-coyote.jar:9.0.37]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:9.0.37]
        at java.lang.Thread.run(Thread.java:834) [?:?]看起来是帐号密码错了呢
回复

使用道具 举报

yhdata_yzm 显示全部楼层 发表于 2023-10-23 17:40:57

[2023-10-23 16:56:45.875] |-[WARN] |-[0fce097ad42a4bef8d74467990f5347c] |-[SYSTEM] |-[g5.sv.ServletHelper.checkLogin(ServletHelper.java:337)] |-[The password is invalid. falied: 密码检验不通过:密码长度不能小于8位,并且必须同时包含数字、大写字母和小写字母。]
回复

使用道具 举报

yhdata_2aA4rwOK青铜三 显示全部楼层 发表于 2023-10-23 17:43:24
之前确实是输错密码了,后来在bi.properties文件中把密码改了以后,还是进不去
回复

使用道具 举报

yhdata_yzm 显示全部楼层 发表于 2023-10-23 18:01:45
yhdata_2aA4rwOK 发表于 2023-10-23 17:43
之前确实是输错密码了,后来在bi.properties文件中把密码改了以后,还是进不去
...

1.要先删除secure下的admin.princpal,在配置密码。再重启。
2.看日志你们对密码还要安全性要求
回复

使用道具 举报

yhdata_Y5k8YVdB青铜四 显示全部楼层 发表于 2023-10-23 23:19:31
重置密码
回复

使用道具 举报

yhdata_2aA4rwOK青铜三 显示全部楼层 发表于 2023-10-24 09:26:18
yhdata_yzm 发表于 2023-10-23 18:01
1.要先删除secure下的admin.princpal,在配置密码。再重启。
2.看日志你们对密码还要安全性要求 ...

按照您的提示,我这边做了相应操作后,还是登录不进去,日志显示登录成功后立马就登录过期
具体的日志是这样
[2023-10-24 09:21:46.158] |-[INFO] |-[67983b4e9d484feead0203bd5c654ce6] |-[SYSTEM] |-[g5.sv.util.WebUtil.auditUser(WebUtil.java:846)] |-[Add user: admin]
[2023-10-24 09:21:46.159] |-[INFO] |-[67983b4e9d484feead0203bd5c654ce6] |-[SYSTEM] |-[g5.sv.ServletHelper.getGPrincipal(ServletHelper.java:970)] |-[用户“admin”登录成功]
[2023-10-24 09:21:46.182] |-[INFO] |-[67983b4e9d484feead0203bd5c654ce6] |-[SYSTEM] |-[g5.db.rep.DBRep.getMyBoundQry(DBRep.java:549)] |-[collect my db id start]
[2023-10-24 09:21:46.183] |-[INFO] |-[67983b4e9d484feead0203bd5c654ce6] |-[SYSTEM] |-[g5.db.rep.DBRep.getMyBoundQry(DBRep.java:552)] |-[collect my db id end]
[2023-10-24 09:21:46.183] |-[INFO] |-[67983b4e9d484feead0203bd5c654ce6] |-[SYSTEM] |-[g5.db.rep.DBRep.getMyBoundQry(DBRep.java:560)] |-[collect my db all complete]
[2023-10-24 09:21:46.187] |-[INFO] |-[67983b4e9d484feead0203bd5c654ce6] |-[SYSTEM] |-[g5.util.calendar.CalendarUtil.initHolidayDay(CalendarUtil.java:143)] |-[read holidays failed.]
[2023-10-24 09:21:46.240] |-[INFO] |-[8f643a024e244d3f8c9ac9fea062dc31] |-[SYSTEM] |-[g5.sv.util.WebUtil.delUser(WebUtil.java:877)] |-[Delete user: __Anyone__@null]
[2023-10-24 09:21:46.241] |-[INFO] |-[8f643a024e244d3f8c9ac9fea062dc31] |-[SYSTEM] |-[g5.sv.util.WebUtil.delUser(WebUtil.java:884)] |-[用户“__Anyone__”登录过期]
回复

使用道具 举报

yhdata_yzm 显示全部楼层 发表于 2023-10-24 09:44:30
yhdata_2aA4rwOK 发表于 2023-10-24 09:26
按照您的提示,我这边做了相应操作后,还是登录不进去,日志显示登录成功后立马就登录过期
具体的日志是 ...

这不是同一个登录的线程,什么时候方便私信发我下远程看看
回复

使用道具 举报

高级模式
您需要登录后才可以回帖 登录 | 免费注册

  • 官方微信

    欢迎关注永洪服务号!收费为0,价值无限

    扫码关注
  • 新浪微博

    让每位用户轻松挖掘数据价值!

    访问新浪微博
  • 智能客服
50W

会员等你来哦

Copyright   ©2012-2024  北京永洪商智科技有限公司  (京ICP备12050607) 京公网安备110110802011451号 |《永洪社区协议》
返回顶部