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

使用nodeport暴露端口,访问后登录时报错 #108

Open
cll011 opened this issue Feb 26, 2019 · 1 comment
Open

使用nodeport暴露端口,访问后登录时报错 #108

cll011 opened this issue Feb 26, 2019 · 1 comment
Assignees

Comments

@cll011
Copy link

cll011 commented Feb 26, 2019

Describe the bug
按照github上的步骤进行端口转发失败后,使用nodeport暴露端口,访问后登录时报错。

To Reproduce
Steps :

  1. 端口转发失败后,我修改了naftis.yaml,将LoadBalance改为了NodePort,然后replace naftis.yaml;
  2. 之后就执行暴露端口的命令:
    NAFTIIS_NODEPORT=$(kubectl get svc naftis-ui -n naftis -o jsonpath='{.spec.ports[0].nodePort}')
    INGRESS_HOST=$(kubectl get node -o jsonpath='{.items[0].status.addresses[0].address}')
    echo "http://$INGRESS_HOST:$NAFTIIS_NODEPORT/naftis-ui/"
  3. 执行后,输出地址:http://192.168.217.100:30326/naftis-ui/,然后用google浏览器访问;
  4. 访问后出现了naftis的登录页面,输入初始用户名admin和密码admin后,右上角出现:Notification
    app.common.errOthers(405)!

错误页面截图如下:

image

请帮忙看下这是什么错误?怎么解决?先谢谢各位。

@sevennt sevennt self-assigned this Feb 26, 2019
@cll011
Copy link
Author

cll011 commented Feb 1, 2020 via email

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