Rancher UI提示证书过期, 删除tls目录重启也不行,提示 authentication.go:53] Unable to authenticate the request due to an error: [invalid bearer token, square/go-jose: error in cryptographic primitive]
缺少上下文信息,没办法了解问题和排查
E0408 19:10:49.917405 33 authentication.go:53] Unable to authenticate the request due to an error: [invalid bearer token, square/go-jose: error in cryptographic primitive]
2023/04/08 19:10:50 [INFO] [mgmt-project-rbac-create] Creating creator projectRoleTemplateBinding for user user-q2jsc for project p-7w9lp
E0408 19:10:50.289676 33 authentication.go:53] Unable to authenticate the request due to an error: [invalid bearer token, square/go-jose: error in cryptographic primitive]
E0408 19:10:50.590213 33 authentication.go:53] Unable to authenticate the request due to an error: [invalid bearer token, square/go-jose: error in cryptographic primitive]
E0408 19:10:50.591019 33 authentication.go:53] Unable to authenticate the request due to an error: [invalid bearer token, square/go-jose: error in cryptographic primitive]
I0408 19:10:51.078054 33 trace.go:116] Trace[1619072227]: “Call validating webhook” configuration:rancher.cattle.io,webhook:rancherauth.cattle.io,resource:management.cattle.io/v3, Resource=projectroletemplatebindings,subresource:,operation:CREATE,UID:36af3ff5-7466-4abf-a1cb-fa435d9f8c8c (started: 2023-04-08 19:10:50.074048212 +0000 UTC m=+11094.604778640) (total time: 1.003959944s):
Trace[1619072227]: [1.003959944s] [1.003959944s] END
W0408 19:10:51.078091 33 dispatcher.go:133] Failed calling webhook, failing closed rancherauth.cattle.io: failed calling webhook “rancherauth.cattle.io”: Post https://rancher-webhook.cattle-system.svc:443/v1/webhook/validation?timeout=10s: dial tcp 10.43.15.163:443: connect: connection refused
I0408 19:10:51.078458 33 trace.go:116] Trace[1441172162]: “Create” url:/apis/management.cattle.io/v3/namespaces/p-7w9lp/projectroletemplatebindings,user-agent:rancher/v0.0.0 (linux/amd64) kubernetes/$Format,client:127.0.0.1 (started: 2023-04-08 19:10:50.072517914 +0000 UTC m=+11094.603248205) (total time: 1.005915219s):
Trace[1441172162]: [1.005915219s] [1.005488873s] END
2023/04/08 19:10:51 [INFO] Creating globalRoleBindings for u-eyqw6tqh4q
E0408 19:10:51.292048 33 authentication.go:53] Unable to authenticate the request due to an error: [invalid bearer token, square/go-jose: error in cryptographic primitive]
E0408 19:10:51.592310 33 authentication.go:53] Unable to authenticate the request due to an error: [invalid bearer token, square/go-jose: error in cryptographic primitive]
E0408 19:10:51.593273 33 authentication.go:53] Unable to authenticate the request due to an error: [invalid bearer token, square/go-jose: error in cryptographic primitive]
I0408 19:10:52.083209 33 trace.go:116] Trace[207373753]: “Call validating webhook” configuration:rancher.cattle.io,webhook:rancherauth.cattle.io,resource:management.cattle.io/v3, Resource=globalrolebindings,subresource:,operation:CREATE,UID:86e1cd65-d662-4002-b96f-b048d32f78f6 (started: 2023-04-08 19:10:51.080892497 +0000 UTC m=+11095.611622767) (total time: 1.00226591s):
Trace[207373753]: [1.00226591s] [1.00226591s] END
W0408 19:10:52.083249 33 dispatcher.go:133] Failed calling webhook, failing closed rancherauth.cattle.io: failed calling webhook “rancherauth.cattle.io”: Post https://rancher-webhook.cattle-system.svc:443/v1/webhook/validation?timeout=10s: dial tcp 10.43.15.163:443: connect: connection refused
I0408 19:10:52.083656 33 trace.go:116] Trace[373069643]: “Create” url:/apis/management.cattle.io/v3/globalrolebindings,user-agent:rancher/v0.0.0 (linux/amd64) kubernetes/$Format,client:127.0.0.1 (started: 2023-04-08 19:10:51.080008006 +0000 UTC m=+11095.610738202) (total time: 1.003624053s):
Trace[373069643]: [1.003624053s] [1.003404088s] END
2023/04/08 19:10:52 [ERROR] error syncing ‘c-7kz5w/p-7w9lp’: handler mgmt-project-rbac-create: Internal error occurred: failed calling webhook “rancherauth.cattle.io”: Post https://rancher-webhook.cattle-system.svc:443/v1/webhook/validation?timeout=10s: dial tcp 10.43.15.163:443: connect: connection refused, handler pipeline-controller: Internal error occurred: failed calling webhook “rancherauth.cattle.io”: Post https://rancher-webhook.cattle-system.svc:443/v1/webhook/validation?timeout=10s: dial tcp 10.43.15.163:443: connect: connection refused, requeuing
E0408 19:10:52.294469 33 authentication.go:53] Unable to authenticate the request due to an error: [invalid bearer token, square/go-jose: error in cryptographic primitive]
就不能按照默认的模版将信息和具体的步骤和现象补全么…… 就这些信息,我得是算命专业的才能解决