Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

部署后登录报错Invalid APP Code [bk_app_code=bk_paas], please confirm if the APP Code has been registered #1003

Closed
gdnotepad opened this issue Jun 15, 2022 · 1 comment

Comments

@gdnotepad
Copy link

gdnotepad commented Jun 15, 2022

版本:bk-PaaS-ft_upgrade_py3以及2.14.14
部署完成后,登录报错
Invalid APP Code [bk_app_code=bk_paas], please confirm if the APP Code has been registered
login.log:ERROR [2022-06-15 19:25:43] /usr/local/src/bk-PaaS-ft_upgrade_py3/paas2/login/components/esb.py 69 _call_esb_api 28147 140450600639304
call esb api error! http_post http://new-paas.bitmartpro.com/api/c/compapi/v1/usermanage/login/check/, data: {'username': 'admin', 'password': 'Bit******', 'bk_app_code': 'bk_paas', 'bk_app_secret': 'ffe******', 'bk_username': 'admin', 'app_code': 'bk_paas', 'app_secret': 'ffe******'}, code: 1306000, message: Invalid APP Code [bk_app_code=bk_paas], please confirm if the APP Code has been registered

paas,esb,appengine无相关日志

@wklken
Copy link
Collaborator

wklken commented Oct 9, 2022

部署后, 需要将bk_paas写入白名单(如果使用的蓝鲸部署套件, 部署脚本会自动写入)

对应表: open_paas.esb_app_account

@wklken wklken closed this as completed Oct 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants