99. Rancher Prime 注册因 Websocket 错误而失败
Rancher Prime 2.12.x 牧场主至尊 2.12.x
Following the instructions in the Rancher documentation, an attempt was made to register Rancher Prime. However, the registration process failed, and the Rancher application logged the following error.
按照牧场主文件中的指示,尝试注册牧场主号 。然而,注册过程失败,Rancher 申请记录了以下错误。
<span style="color:#000000"><span style="background-color:#ffffff"><span style="background-color:#efefef"><code>025/10/21 13:38:41 [INFO] CacheFor STARTS creating informer for <a data-cke-saved-href="http://scc.cattle.io/v1" href="http://scc.cattle.io/v1">scc.cattle.io/v1</a>, Kind=Registration
2025/10/21 13:38:41 [INFO] Started SQL cache garbage collection for scc.cattle.io_v1_Registration (interval=15m0s, keep=1000)
2025/10/21 13:38:41 [INFO] CacheFor IS DONE creating informer for <a data-cke-saved-href="http://scc.cattle.io/v1" href="http://scc.cattle.io/v1">scc.cattle.io/v1</a>, Kind=Registration (took 104.44351ms)
2025/10/21 13:40:04 [ERROR] Error during subscribe websocket: close sent
</code></span></span></span>
No registration-related resources should have been created, but a secret might exist. Use the following commands for verification.
不应创建与注册相关的资源,但可能存在一个秘密 。请使用以下命令进行验证。
<span style="color:#000000"><span style="background-color:#ffffff"><span style="background-color:#efefef"><code>kubectl get pod -n cattle-scc-system
kubectl get secrets -n cattle-scc-system
kubectl get registrations -A</code></span></span></span>
- Restart the Rancher Deployment, and it will trigger the reregistration.
重启牧场主部署,它会触发重新注册。 - Check the registration status using the commands provided earlier.
请使用之前提供的指令检查注册状态。
To resolve WebSocket errors that occur during registration, restart the Rancher pod, as the Helm chart does not do this automatically.
要解决注册时出现的 WebSocket 错误,请重启 Rancher Pod,因为 Helm 图表不会自动完成此操作。
访问Rancher-K8S解决方案博主,企业合作伙伴 :
https://blog.csdn.net/lidw2009
更多推荐




所有评论(0)