升级到 4.0 后页面打不开,查看健康状态有个 jms_chen 一直在重启


查看 chen 的日志 ,一直注册失败

用的是 mysql ,从 v2 的版本升到 v3 ,再升到了 v4

系统设置—组件设置—基本设置—组件注册 开启了没有。开了还注册失败去jumpserver宿主机删除/data/jumpserver/chen/data/keys/下的.accesskey文件然后docker restart jms_chen试试

我进不了控制台的web界面,打不开页面,不报错,进度条一直加载,页面是空白页面,所以看不到有没有开启。可以从日志或者什么地方看吗,或者有sql语句可以开启吗
我的主要问题是进不了控制台

日志在宿主机/data/jumpserver/core/data/logs/jumpserver.log

2024-07-19 09:06:11 [WARN] Ip was blocked: root:172.16.16.3
2024-07-19 09:06:11 [WARN] Bad Request: /api/v1/authentication/tokens/
2024-07-19 09:06:15 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:06:20 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:06:25 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:06:30 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:06:32 [WARN] Ip was blocked: root:172.16.16.3
2024-07-19 09:06:32 [WARN] Bad Request: /api/v1/authentication/tokens/
2024-07-19 09:06:35 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:06:40 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:06:45 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:06:50 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:06:53 [WARN] Ip was blocked: root:172.16.16.3
2024-07-19 09:06:53 [WARN] Bad Request: /api/v1/authentication/tokens/
2024-07-19 09:06:55 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:07:00 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:07:05 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:07:10 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:07:15 [WARN] Ip was blocked: root:172.16.16.3
2024-07-19 09:07:15 [WARN] Bad Request: /api/v1/authentication/tokens/
2024-07-19 09:07:16 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:07:21 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:07:26 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:07:31 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:07:35 [WARN] Ip was blocked: root:172.16.16.3
2024-07-19 09:07:35 [WARN] Bad Request: /api/v1/authentication/tokens/
2024-07-19 09:07:36 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:07:41 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:07:46 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:07:51 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:07:56 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:07:56 [INFO] Try using auth backend: <rbac.backends.RBACBackend object at 0x7fe4e903ad50>
2024-07-19 09:07:56 [INFO] Try using auth backend: <authentication.backends.base.JMSModelBackend object at 0x7fe4eb67dad0>
2024-07-19 09:07:57 [INFO] Try using auth backend: <authentication.backends.pubkey.PublicKeyAuthBackend object at 0x7fe4cf733c90>
2024-07-19 09:07:57 [INFO] Try using auth backend: <authentication.backends.sso.WeComAuthentication object at 0x7fe4cf767310>
2024-07-19 09:07:57 [INFO] Try using auth backend: <authentication.backends.sso.AuthorizationTokenAuthentication object at 0x7fe4cf731290>
2024-07-19 09:07:57 [WARN] Bad Request: /api/v1/authentication/tokens/
2024-07-19 09:08:01 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:08:06 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:08:11 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:08:16 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:08:17 [WARN] Ip was blocked: root:172.16.16.3
2024-07-19 09:08:17 [WARN] Bad Request: /api/v1/authentication/tokens/
2024-07-19 09:08:21 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:08:26 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:08:31 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:08:36 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/
2024-07-19 09:08:38 [WARN] Ip was blocked: root:172.16.16.3
2024-07-19 09:08:38 [WARN] Bad Request: /api/v1/authentication/tokens/
2024-07-19 09:08:41 [WARN] Bad Request: /api/v1/terminal/terminal-registrations/这个是jumpserver.log的日志 ,可以看出来什么问题么

进入jumpserver数据库。执行sql语句
USE jumpserver;
select * from settings_setting where name like ‘SECURITY_SERVICE_ACCOUNT_REGISTRATION%’;
update settings_setting set value=‘true’ where name=‘SECURITY_SERVICE_ACCOUNT_REGISTRATION’;
改完重启jumpserver

这个改了 ,但是还是空白页面 ,你看下我这个jumpserver的日志 ,感觉不太对 ,


Ip was blocked: root:172.16.16.3 这个是啥意思,被阻止访问了?

随便看个组件的日志看一下还报registration disabled吗 :melting_face:


这个是koko的 日志 ,看这个像是验证失败,但是我控制台都没登录上去 ,这个 ssh 登录失败是从哪里发起的的呢

你在开源群吗

image
我在这个群 ,名字是 老杨的杨

看上去有两个问题,一个是ip被限制了无法访问,一个是chen组件出了问题

开源群是啥呀,想添加一下

JumpServer - 开源堡垒机 - 官网 (fit2cloud.com)欢迎