Rancher重启后网页一直转圈

Rancher Server 设置

  • Rancher 版本:v2.12.3
  • 安装选项 (Docker install/Helm Chart): Docker install
    • 如果是 Helm Chart 安装,需要提供 Local 集群的类型(RKE1, RKE2, k3s, EKS, 等)和版本:
  • 在线或离线部署:在线

下游集群信息

  • Kubernetes 版本: 1.32.9
  • Cluster Type (Local/Downstream):
    • 如果 Downstream,是什么类型的集群?(自定义/导入或为托管 等): 导入

用户信息

  • 登录用户的角色是什么? (管理员/集群所有者/集群成员/项目所有者/项目成员/自定义):管理员
    • 如果自定义,自定义权限集:

**主机操作系统:**Ubuntu20.04

**问题描述:**宿主机重启后,网页打开rancher的地址一直转圈

重现步骤:

结果:

预期结果:

截图:

其他上下文信息:

日志
I1125 13:11:14.686695     151 warnings.go:110] "Warning: v1 Endpoints is deprecated in v1.33+; use discovery.k8s.io/v1 EndpointSlice"
I1125 13:11:39.015341     151 handler.go:288] Adding GroupVersion ext.cattle.io v1 to ResourceManager
I1125 13:11:39.797493     151 configmap_cafile_content.go:205] "Starting controller" name="client-ca::kube-system::extension-apiserver-authentication::requestheader-client-ca-file"
I1125 13:11:39.797555     151 shared_informer.go:350] "Waiting for caches to sync" controller="client-ca::kube-system::extension-apiserver-authentication::requestheader-client-ca-file"
I1125 13:11:39.797560     151 requestheader_controller.go:180] Starting RequestHeaderAuthRequestController
I1125 13:11:39.797591     151 shared_informer.go:350] "Waiting for caches to sync" controller="RequestHeaderAuthRequestController"
I1125 13:11:39.798570     151 secure_serving.go:211] Serving securely on [::]:6666
I1125 13:11:39.798987     151 tlsconfig.go:243] "Starting DynamicServingCertificateController"
I1125 13:11:39.897644     151 shared_informer.go:357] "Caches are synced" controller="client-ca::kube-system::extension-apiserver-authentication::requestheader-client-ca-file"
I1125 13:11:39.897649     151 shared_informer.go:357] "Caches are synced" controller="RequestHeaderAuthRequestController"
I1125 13:11:43.706195     151 leaderelection.go:257] attempting to acquire leader lease kube-system/cattle-controllers...
I1125 13:11:43.734204     151 leaderelection.go:271] successfully acquired lease kube-system/cattle-controllers
I1125 13:11:44.018819     151 warnings.go:110] "Warning: v1 Endpoints is deprecated in v1.33+; use discovery.k8s.io/v1 EndpointSlice"
I1125 13:11:44.022878     151 warnings.go:110] "Warning: v1 Endpoints is deprecated in v1.33+; use discovery.k8s.io/v1 EndpointSlice"
W1125 13:11:44.300367     151 gvks.go:80] Failed to read API for groups: map[ext.cattle.io/v1:stale GroupVersion discovery: ext.cattle.io/v1]
2025/11/25 13:11:44 [ERROR] Failed to read API for groups map[ext.cattle.io/v1:stale GroupVersion discovery: ext.cattle.io/v1]
W1125 13:11:46.086494     151 gvks.go:80] Failed to read API for groups: map[ext.cattle.io/v1:stale GroupVersion discovery: ext.cattle.io/v1]
I1125 13:11:46.126565     151 warnings.go:110] "Warning: v1 Endpoints is deprecated in v1.33+; use discovery.k8s.io/v1 EndpointSlice"
I1125 13:11:46.155333     151 warnings.go:110] "Warning: v1 ComponentStatus is deprecated in v1.19+"
2025/11/25 13:11:45 [ERROR] error syncing 'c-477jj': handler cluster-deploy: cannot connect to the cluster's Kubernetes API, requeuing
2025/11/25 13:11:45 [ERROR] error syncing 'c-477jj': handler cluster-deploy: cannot connect to the cluster's Kubernetes API, requeuing
2025/11/25 13:11:45 [ERROR] error syncing 'c-477jj': handler cluster-deploy: cannot connect to the cluster's Kubernetes API, requeuing
I1125 13:11:46.230973     151 warnings.go:110] "Warning: v1 Endpoints is deprecated in v1.33+; use discovery.k8s.io/v1 EndpointSlice"
I1125 13:11:46.337567     151 warnings.go:110] "Warning: v1 Endpoints is deprecated in v1.33+; use discovery.k8s.io/v1 EndpointSlice"
2025/11/25 13:11:46 [ERROR] error syncing 'c-477jj': handler cluster-deploy: cannot connect to the cluster's Kubernetes API, requeuing
I1125 13:11:47.381673     151 warnings.go:110] "Warning: v1 ComponentStatus is deprecated in v1.19+"
I1125 13:11:47.400997     151 warnings.go:110] "Warning: v1 Endpoints is deprecated in v1.33+; use discovery.k8s.io/v1 EndpointSlice"
2025/11/25 13:11:46 [ERROR] failed to sync schemas: transaction: begin tx: unable to open database file: out of memory (14)
W1125 13:11:47.698018     151 gvks.go:80] Failed to read API for groups: map[ext.cattle.io/v1:stale GroupVersion discovery: ext.cattle.io/v1]
I1125 13:11:48.148016     151 warnings.go:110] "Warning: v1 ComponentStatus is deprecated in v1.19+"
2025/11/25 13:11:46 [ERROR] Failed to read API for groups map[ext.cattle.io/v1:stale GroupVersion discovery: ext.cattle.io/v1]
I1125 13:11:48.164811     151 warnings.go:110] "Warning: v1 Endpoints is deprecated in v1.33+; use discovery.k8s.io/v1 EndpointSlice"
2025/11/25 13:11:47 [ERROR] Failed to read API for groups map[ext.cattle.io/v1:stale GroupVersion discovery: ext.cattle.io/v1]
2025/11/25 13:11:47 [ERROR] error syncing 'c-477jj': handler cluster-deploy: cannot connect to the cluster's Kubernetes API, requeuing
2025/11/25 13:11:50 [ERROR] error syncing 'c-477jj': handler cluster-deploy: cannot connect to the cluster's Kubernetes API, requeuing
I1125 13:11:50.951086     151 warnings.go:110] "Warning: v1 ComponentStatus is deprecated in v1.19+"
I1125 13:11:50.960783     151 warnings.go:110] "Warning: v1 Endpoints is deprecated in v1.33+; use discovery.k8s.io/v1 EndpointSlice"
2025/11/25 13:11:55 [ERROR] error syncing 'c-477jj': handler cluster-deploy: cannot connect to the cluster's Kubernetes API, requeuing
2025/11/25 13:11:55 [ERROR] error syncing 'c-477jj': handler cluster-deploy: cannot connect to the cluster's Kubernetes API, requeuing
2025/11/25 13:11:59 [ERROR] error syncing 'c-477jj': handler cluster-deploy: cannot connect to the cluster's Kubernetes API, requeuing
2025/11/25 13:12:05 [ERROR] error syncing 'c-477jj': handler cluster-deploy: cannot connect to the cluster's Kubernetes API, requeuing
2025/11/25 13:12:07 [ERROR] Failed to handle tunnel request from remote address 172.17.0.1:11927: response 401: failed authentication
2025/11/25 13:12:07 [ERROR] Failed to handle tunnel request from remote address 172.17.0.1:9413: response 401: failed authentication
2025/11/25 13:12:40 [ERROR] 2025/11/25 13:12:40 http: TLS handshake error from 192.168.3.1:63335: remote error: tls: unknown certificate
I1125 13:17:24.371145     151 warnings.go:110] "Warning: v1 Endpoints is deprecated in v1.33+; use discovery.k8s.io/v1 EndpointSlice"
I1125 13:19:49.023992     151 warnings.go:110] "Warning: v1 Endpoints is deprecated in v1.33+; use discovery.k8s.io/v1 EndpointSlice"
2025/11/25 13:12:40 [ERROR] 2025/11/25 13:12:40 http: TLS handshake error from 192.168.3.1:54591: remote error: tls: unknown certificate
2025/11/25 13:12:43 [ERROR] 2025/11/25 13:12:43 http: TLS handshake error from 192.168.3.1:51604: remote error: tls: unknown certificate
2025/11/25 13:12:43 [ERROR] 2025/11/25 13:12:43 http: TLS handshake error from 192.168.3.1:59095: remote error: tls: unknown certificate
2025/11/25 13:12:43 [ERROR] 2025/11/25 13:12:43 http: TLS handshake error from 192.168.3.1:56566: remote error: tls: unknown certificate
2025/11/25 13:12:43 [ERROR] 2025/11/25 13:12:43 http: TLS handshake error from 192.168.3.1:49805: remote error: tls: unknown certificate
2025/11/25 13:12:43 [ERROR] Unknown error: cachefor management.cattle.io/v3, Kind=Setting: transaction: begin tx: unable to open database file: out of memory (14)
I1125 13:26:36.341434     151 warnings.go:110] "Warning: v1 Endpoints is deprecated in v1.33+; use discovery.k8s.io/v1 EndpointSlice"
2025/11/25 13:25:04 [ERROR] 2025/11/25 13:25:04 http: TLS handshake error from 192.168.3.1:49337: remote error: tls: unknown certificate
2025/11/25 13:25:04 [ERROR] 2025/11/25 13:25:04 http: TLS handshake error from 192.168.3.1:63924: remote error: tls: unknown certificate
I1125 13:28:54.027806     151 warnings.go:110] "Warning: v1 Endpoints is deprecated in v1.33+; use discovery.k8s.io/v1 EndpointSlice"
2025/11/25 13:25:04 [ERROR] 2025/11/25 13:25:04 http: TLS handshake error from 192.168.3.1:59218: remote error: tls: unknown certificate
2025/11/25 13:25:04 [ERROR] 2025/11/25 13:25:04 http: TLS handshake error from 192.168.3.1:49236: remote error: tls: unknown certificate
2025/11/25 13:25:04 [ERROR] 2025/11/25 13:25:04 http: TLS handshake error from 192.168.3.1:65435: remote error: tls: unknown certificate
2025/11/25 13:25:04 [ERROR] 2025/11/25 13:25:04 http: TLS handshake error from 192.168.3.1:62682: remote error: tls: unknown certificate
2025/11/25 13:28:04 [ERROR] 2025/11/25 13:28:04 http: TLS handshake error from 192.168.3.1:59626: remote error: tls: unknown certificate
2025/11/25 13:29:44 [ERROR] 2025/11/25 13:29:44 http: TLS handshake error from 192.168.3.1:56064: remote error: tls: unknown certificate
2025/11/25 13:29:44 [ERROR] 2025/11/25 13:29:44 http: TLS handshake error from 192.168.3.1:51175: remote error: tls: unknown certificate
2025/11/25 13:29:44 [ERROR] 2025/11/25 13:29:44 http: TLS handshake error from 192.168.3.1:57128: remote error: tls: unknown certificate
2025/11/25 13:29:46 [ERROR] 2025/11/25 13:29:46 http: TLS handshake error from 192.168.3.1:62403: remote error: tls: unknown certificate
2025/11/25 13:29:46 [ERROR] 2025/11/25 13:29:46 http: TLS handshake error from 192.168.3.1:63212: remote error: tls: unknown certificate


内存还有
root@ubuntu:~# free -h
total used free shared buff/cache available
Mem: 15Gi 2.8Gi 7.2Gi 3.0Mi 5.6Gi 12Gi
Swap: 0B 0B 0B

清理浏览器缓存,或者换个浏览器试试

如果还是不行,那就 F12 看看哪个请求卡主了

1 个赞


换浏览器试过了,帮忙看看这个F12的内容

  1. 有没有安装一些浏览器插件什么的,可以尝试关闭一些已安装启用的浏览器插件后,刷新页面试试
  2. 查看浏览器控制台,看看是否有报错信息,有时证书错误也会导致脚本加载异常
  3. 查看一下浏览器版本,如果版本过低,可以升级一下浏览器版本后,再访问

没有安装插件,控制台除了上面的截图就是自签发证书不信任,没发现其他报错,浏览器是win11的Edge自动更新的,浏览器版本也没问题

打开红框对应的 tab 面板,里面有没有报错信息?


有的,帮忙看看这些报错

服务器还有内存的,8G预计没问题

大神可以咨询一个问题吗


本来可以进去突然进不去了这种遇到过嘛

展开控制台对应的错误,看看具体错误信息
看大概的报错,应该是加载 v1/manager.cattle.io.settings 资源报错了,看看后端 rancher 日志,有关这个资源的具体报错信息

另外截图中,最后一个请求返回了401,应该是会话超时登出来

1 个赞

你好,解决了吗,怎么解决的呀?