AKS环境下无法登录、推拉Artifactory Docker仓库的问题求助
AKS环境下无法登录、推拉Artifactory Docker仓库的问题求助
各位好,我目前正在AKS集群里用JFrog官方提供的Helm Chart部署Artifactory实例,结果碰到了个头疼的问题——不管是登录仓库,还是推送/拉取镜像,都会弹出这个错误:
unable to decode token response: invalid character '<' looking for beginning of value
我试着用curl访问仓库的URL,结果返回了400错误,具体输出如下:
curl -v jfrog.customurl.com:443 * Trying 10.0.0.1:443... * Connected to jfrog.customurl.com (10.0.0.1) port 443 > GET / HTTP/1.1 > Host: jfrog.customurl.com:443 > User-Agent: curl/8.4.0 > Accept: */* < HTTP/1.1 400 Bad Request < Date: Tue, 23 Jul 2024 07:10:19 GMT < Content-Type: text/html < Content-Length: 248 < Connection: close < <html> <head><title>400 The plain HTTP request was sent to HTTPS port</title></head> <body> <center><h1>400 Bad Request</h1></center> <center>The plain HTTP request was sent to HTTPS port</center> <hr><center>nginx</center> </body> </html>
从curl的结果来看,提示是“普通HTTP请求被发到了HTTPS端口”,但我不太清楚这和Artifactory的token解码错误到底有什么关联,有没有大佬能帮忙分析下问题出在哪,该怎么解决呢?
备注:内容来源于stack exchange,提问作者Laurens Van Der Stoep
相关产品推荐
相关产品推荐

