创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。如果未按模板创建问题,管理员有权关闭问题。
确保帖子格式清晰易读,用 markdown code block 语法格式化代码块。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。
操作系统信息
虚拟机/ubuntu 20.04
Kubernetes版本信息
1.21.5
容器运行时
docker/20.10.8
KubeSphere版本信息
v3.2.1
问题是什么
点击流水线页面任务状态时出错.
点击运行流水线,在jenkins中可以运行,但kubesphere流水线页面不显示状态.
提示连接jenkins api时admin访问密码错误.
之前已经出现过一次,后面重新安装devops也未解决,最后重装集群.
刚用了一天又出现这个问题.

Internal Server Error
GET http://devops-jenkins.kubesphere-devops-system/crumbIssuer/api/json/api/json: 401 <html> <head> <meta http-equiv=“Content-Type” content=“text/html;charset=utf-8”/> <title>Error 401 Invalid password/token for user: admin</title> </head> <body><h2>HTTP ERROR 401 Invalid password/token for user: admin</h2> <table> <tr><th>URI:</th><td>/crumbIssuer/api/json/api/json</td></tr> <tr><th>STATUS:</th><td>401</td></tr> <tr><th>MESSAGE:</th><td>Invalid password/token for user: admin</td></tr> <tr><th>SERVLET:</th><td>Stapler</td></tr> </table> <hr><a href=“http://eclipse.org/jetty">Powered by Jetty:// 9.4.30.v20200611</a><hr/> </body> </html>