Closed Colstuwjx closed 6 years ago
Try to restart Harbor, login again and package all logs.
Here are the harbor log:
And the harbor installed version is v1.2.0
. BTW, incorrect passwd will show Invalid user name or password.
in ui, and correct passwd shows nothing, and login button would be disabled.
Do you disable the cookie in your browser?
According to the logs of proxy:
Oct 23 17:22:20 172.17.0.1 proxy[6066]: 172.18.20.67 - "POST /login HTTP/1.1" 200 0 "http://shylf-harbor.bilibili.co/harbor/sign-in" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36" 0.006 0.006 .
Oct 23 17:22:20 172.17.0.1 proxy[6066]: 172.18.20.67 - "GET /api/users/current HTTP/1.1" 401 1 "http://shylf-harbor.bilibili.co/harbor/sign-in" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36" 0.001 0.001 .
The POST /login
got 200. But the GET /api/users/current
got 401.
Thanks, I will confirm whether there is any issue on gateway.
@Colstuwjx Would might tell us how you solved this problem?
If you can login success through the command, but error in ui. plseas try to clean your autocache in your browser.
1)Version of docker engine and docker-compose.
2)Config files of harbor, you can get them by packaging "harbor.cfg" and files in the same directory, including subdirectory.
3)Log files, you can get them by package the /var/log/harbor/ .
烦请帮忙看看,谢谢。