istio: Kiali dashboard login - Unauthorized
Bug description
I created kiali secret and enabled it using this guideline https://istio.io/docs/tasks/telemetry/kiali/
But, when I execute kubectl -n istio-system port-forward $(kubectl -n istio-system get pod -l app=kiali -o jsonpath='{.items[0].metadata.name}') 20001:20001 getting below error
Forwarding from 127.0.0.1:20001 -> 20001
Forwarding from [::1]:20001 -> 20001
Handling connection for 20001
E1001 11:06:08.763555 17720 portforward.go:303] error copying from remote stream to local connection: readfrom tcp6 [::1]:20001->[::1]:57632: write tcp6 [::1]:20001->[::1]:57632: wsasend: An established connection was aborted by the software in your host machine.
Handling connection for 20001
Handling connection for 20001
Handling connection for 20001
E1001 11:06:09.088557 17720 portforward.go:303] error copying from remote stream to local connection: readfrom tcp4 127.0.0.1:20001->127.0.0.1:57636: write tcp4 127.0.0.1:20001->127.0.0.1:57636: wsasend: An established connection was aborted by the software in your host machine.
Handling connection for 20001
E1001 11:06:12.078569 17720 portforward.go:303] error copying from remote stream to local connection: readfrom tcp4 127.0.0.1:20001->127.0.0.1:57638: write tcp4 127.0.0.1:20001->127.0.0.1:57638: wsasend: An established connection was aborted by the software in your host machine.
E1001 11:06:39.386956 17720 portforward.go:293] error creating forwarding stream for port 20001 -> 20001: Timeout occured
Also, credential that I created is not working as well:
Unauthorized. The provided credentials are not valid to access Kiali. Please check your credentials and try again.
Affected product area (please put an X in all that apply)
[ ] Configuration Infrastructure [ ] Docs [x] Installation [ ] Networking [ ] Performance and Scalability [ ] Policies and Telemetry [ ] Security [ ] Test and Release [ ] User Experience [ ] Developer Infrastructure
Expected behavior
I should be able to access kiali dashboard.
Version (include the output of istioctl version --remote and kubectl version)
kubernetes version: v.1.12.4
istio version: v.1.2.6
How was Istio installed? helm template
Environment where bug was observed (cloud vendor, OS, etc) AKS
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 39 (19 by maintainers)
@sghaida If you are creating the secret manually and using
echocommand, please make sure that you pass the-nflag toecho; e.g:Without the
-nflag the encoded result is different:If you still have the issue, please first upgrade to latest Kiali which is version 1.12. If latest Kiali still has the issue, please open an issue in Kiali repository: https://github.com/kiali/kiali/issues/new/choose
@israel-hdez here it is.