Rancher2.3.3,最近发现过几天rancher页面就无法登录。页面可以正常显示。

Rancher Server 设置

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

下游集群信息

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

用户信息

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

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

**问题描述:
rancher2.3.3版本,docker单机部署的,最近发现无法登录页面,日志显示连接不到443端口,rancher页面显示正常。

重现步骤:

结果:

预期结果:

截图:

其他上下文信息:

日志
2022/08/22 04:52:01 http: TLS handshake error from 127.0.0.1:39162: EOF
2022/08/22 04:53:13 [ERROR] CatalogController library [catalog] failed with : Update failed: fatal: unable to access 'https://git.rancher.io/charts/': Failed to connect to git.rancher.io port 443: Connection refused
: exit status 128
2022/08/22 04:53:13 [ERROR] CatalogController system-library [catalog] failed with : Update failed: fatal: unable to access 'https://git.rancher.io/system-charts/': Failed to connect to git.rancher.io port 443: Connection refused
: exit status 128
2022-08-22 04:54:25.957821 I | mvcc: store.index: compact 134887127
2022-08-22 04:54:25.959704 I | mvcc: finished scheduled compaction at 134887127 (took 1.419972ms)
2022-08-22 04:59:25.961304 I | mvcc: store.index: compact 134887758
2022-08-22 04:59:25.963165 I | mvcc: finished scheduled compaction at 134887758 (took 1.358182ms)
2022-08-22 05:04:25.964994 I | mvcc: store.index: compact 134888385
2022-08-22 05:04:25.966833 I | mvcc: finished scheduled compaction at 134888385 (took 1.36911ms)
2022/08/22 05:05:09 http: TLS handshake error from 127.0.0.1:43088: EOF
2022/08/22 05:07:10 http: TLS handshake error from 127.0.0.1:43686: EOF
2022-08-22 05:09:25.968006 I | mvcc: store.index: compact 134889016
2022-08-22 05:09:25.969869 I | mvcc: finished scheduled compaction at 134889016 (took 1.415016ms)
2022/08/22 05:10:05 [ERROR] CatalogController system-library [catalog] failed with : Update failed: fatal: unable to access 'https://git.rancher.io/system-charts/': Failed to connect to git.rancher.io port 443: Connection refused
: exit status 128
2022/08/22 05:10:05 [ERROR] CatalogController library [catalog] failed with : Update failed: fatal: unable to access 'https://git.rancher.io/charts/': Failed to connect to git.rancher.io port 443: Connection refused
: exit status 128
2022/08/22 05:10:12 http: TLS handshake error from 127.0.0.1:44610: EOF
2022/08/22 05:13:14 http: TLS handshake error from 127.0.0.1:45502: EOF
2022-08-22 05:13:38.855687 I | wal: segmented wal file management-state/etcd/member/wal/00000000000005d4-0000000008da1bd6.wal is created
2022-08-22 05:13:51.761181 I | pkg/fileutil: purged file management-state/etcd/member/wal/00000000000005cf-0000000008d2886e.wal successfully
2022-08-22 05:14:25.979569 I | mvcc: store.index: compact 134889645
2022-08-22 05:14:25.981897 I | mvcc: finished scheduled compaction at 134889645 (took 1.845657ms)
2022/08/22 05:16:19 http: TLS handshake error from 127.0.0.1:46410: EOF
2022-08-22 05:19:25.993626 I | mvcc: store.index: compact 134890274
2022-08-22 05:19:25.995508 I | mvcc: finished scheduled compaction at 134890274 (took 1.412895ms)
2022-08-22 05:24:25.997293 I | mvcc: store.index: compact 134890904
2022-08-22 05:24:25.999146 I | mvcc: finished scheduled compaction at 134890904 (took 1.351953ms)
2022/08/22 05:26:57 [ERROR] CatalogController library [catalog] failed with : Update failed: fatal: unable to access 'https://git.rancher.io/charts/': Failed to connect to git.rancher.io port 443: Connection refused
: exit status 128
2022/08/22 05:26:57 [ERROR] CatalogController system-library [catalog] failed with : Update failed: fatal: unable to access 'https://git.rancher.io/system-charts/': Failed to connect to git.rancher.io port 443: Connection refused
: exit status 128
2022-08-22 05:29:26.000190 I | mvcc: store.index: compact 134891532
2022-08-22 05:29:26.002000 I | mvcc: finished scheduled compaction at 134891532 (took 1.365582ms)
2022/08/22 05:31:28 http: TLS handshake error from 127.0.0.1:51130: EOF
2022-08-22 05:34:26.004042 I | mvcc: store.index: compact 134892162
2022-08-22 05:34:26.005852 I | mvcc: finished scheduled compaction at 134892162 (took 1.37815ms)
2022/08/22 05:39:19 [INFO] update kontainerdriver aliyunkubernetescontainerservice
2022/08/22 05:39:19 [INFO] update kontainerdriver amazonelasticcontainerservice
2022/08/22 05:39:19 [INFO] update kontainerdriver azurekubernetesservice
2022/08/22 05:39:19 [INFO] update kontainerdriver huaweicontainercloudengine
2022/08/22 05:39:19 [INFO] update kontainerdriver baiducloudcontainerengine
2022/08/22 05:39:19 [INFO] update kontainerdriver rancherkubernetesengine
2022/08/22 05:39:19 [INFO] update kontainerdriver googlekubernetesengine
2022/08/22 05:39:19 [INFO] update kontainerdriver tencentkubernetesengine
2022/08/22 05:39:19 [ERROR] Error parsing max age Error parsing auth refresh max age: time: invalid duration s
2022/08/22 05:39:24 [INFO] kontainerdriver azurekubernetesservice listening on address 127.0.0.1:37597
2022/08/22 05:39:24 [INFO] kontainerdriver googlekubernetesengine listening on address 127.0.0.1:43955
2022/08/22 05:39:24 [INFO] kontainerdriver amazonelasticcontainerservice listening on address 127.0.0.1:38125
2022/08/22 05:39:24 [INFO] kontainerdriver amazonelasticcontainerservice stopped
2022/08/22 05:39:24 [INFO] dynamic schema for kontainerdriver amazonelasticcontainerservice updating
2022/08/22 05:39:24 [INFO] kontainerdriver azurekubernetesservice stopped
2022/08/22 05:39:24 [INFO] dynamic schema for kontainerdriver azurekubernetesservice updating
2022/08/22 05:39:24 [INFO] kontainerdriver googlekubernetesengine stopped
2022/08/22 05:39:24 [INFO] dynamic schema for kontainerdriver googlekubernetesengine updating
2022/08/22 05:39:24 [ERROR] driverMetadata: error loading data, using stored defaults: interval 24h0m0s, error error getting latest commit https://github.com/rancher/kontainer-driver-metadata.git master fatal: unable to access 'https://github.com/rancher/kontainer-driver-metadata.git/': Failed to connect to github.com port 443: Connection refused
: exit status 128
2022-08-22 05:39:26.008547 I | mvcc: store.index: compact 134892791
2022-08-22 05:39:26.010419 I | mvcc: finished scheduled compaction at 134892791 (took 1.406818ms)
2022/08/22 05:39:29 [ERROR] CatalogController library [catalog] failed with : Update failed: fatal: unable to access 'https://git.rancher.io/charts/': Failed to connect to git.rancher.io port 443: Connection refused
: exit status 128
2022/08/22 05:39:30 [ERROR] CatalogController system-library [catalog] failed with : Update failed: fatal: unable to access 'https://git.rancher.io/system-charts/': Failed to connect to git.rancher.io port 443: Connection refused
: exit status 128
2022/08/22 05:42:35 http: TLS handshake error from 127.0.0.1:55108: EOF
2022/08/22 05:43:49 [ERROR] CatalogController system-library [catalog] failed with : Update failed: fatal: unable to access 'https://git.rancher.io/system-charts/': Failed to connect to git.rancher.io port 443: Connection refused
: exit status 128
2022/08/22 05:43:49 [ERROR] CatalogController library [catalog] failed with : Update failed: fatal: unable to access 'https://git.rancher.io/charts/': Failed to connect to git.rancher.io port 443: Connection refused
: exit status 128
2022-08-22 05:44:26.012133 I | mvcc: store.index: compact 134893421
2022-08-22 05:44:26.014780 I | mvcc: finished scheduled compaction at 134893421 (took 2.151151ms)
2022-08-22 05:49:26.015679 I | mvcc: store.index: compact 134894049
2022-08-22 05:49:26.017808 I | mvcc: finished scheduled compaction at 134894049 (took 1.620583ms)
2022/08/22 05:49:36 http: TLS handshake error from 127.0.0.1:58118: EOF
2022-08-22 05:54:26.018922 I | mvcc: store.index: compact 134894679
2022-08-22 05:54:26.020694 I | mvcc: finished scheduled compaction at 134894679 (took 1.326832ms)
2022-08-22 05:59:26.022125 I | mvcc: store.index: compact 134895307
2022-08-22 05:59:26.023923 I | mvcc: finished scheduled compaction at 134895307 (took 1.352799ms)
2022/08/22 06:00:41 [ERROR] CatalogController library [catalog] failed with : Update failed: fatal: unable to access 'https://git.rancher.io/charts/': Failed to connect to git.rancher.io port 443: Connection refused
: exit status 128
2022/08/22 06:00:41 [ERROR] CatalogController system-library [catalog] failed with : Update failed: fatal: unable to access 'https://git.rancher.io/system-charts/': Failed to connect to git.rancher.io port 443: Connection refused
: exit status 128
2022/08/22 06:01:13 http: TLS handshake error from 127.0.0.1:33516: EOF
2022/08/22 06:01:43 http: TLS handshake error from 127.0.0.1:33662: EOF
2022/08/22 06:01:43 http: TLS handshake error from 127.0.0.1:33664: EOF
2022-08-22 06:04:26.026649 I | mvcc: store.index: compact 134895938
2022-08-22 06:04:26.028581 I | mvcc: finished scheduled compaction at 134895938 (took 1.45593ms)
2022/08/22 06:05:18 http: TLS handshake error from 127.0.0.1:34716: EOF