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

DevOpsProdigy KubeGraf version 1.5.2 usage issues #74

Closed
yuan-01 opened this issue Jan 31, 2024 · 1 comment
Closed

DevOpsProdigy KubeGraf version 1.5.2 usage issues #74

yuan-01 opened this issue Jan 31, 2024 · 1 comment

Comments

@yuan-01
Copy link

yuan-01 commented Jan 31, 2024

1706685349128
1706685391409

As shown in the figure, I added the HTTPS address of kubernetes using the "kubectl cluster info" command, and then configured CA Cert, Client Cert, and Client Key using the "cat~/. kube/configure" and "echo" characters "| base64- d". When I clicked on save and test, an error "Bad Request" was reported.

This is the log I checked (/var/log/grafana/grafana. log):
logger=plugins.update.checker t=2024-01-31T15:00:30.391351411+08:00 level=info msg="Update check succeeded" duration=745.94176ms
logger=data-proxy-log userId=1 orgId=1 uname=admin path=/api/datasources/proxy/uid/b7be65be-fc2e-4d21-bde9-07c33ed18abe/api/v1/namespaces remote_addr=10.10.10.10 referer=http://10.10.10.21:3000/connections/datasources/edit/b7be65be-fc2e-4d21-bde9-07c33ed18abe t=2024-01-31T15:00:39.297287394+08:00 level=info msg="Authentication to data source failed" body="{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"Unauthorized","reason":"Unauthorized","code":401}\n" statusCode=401
logger=context userId=1 orgId=1 uname=admin t=2024-01-31T15:00:39.297432122+08:00 level=info msg="Request Completed" method=GET path=/api/datasources/proxy/uid/b7be65be-fc2e-4d21-bde9-07c33ed18abe/api/v1/namespaces status=400 remote_addr=10.10.10.10 time_ms=10 duration=10.821865ms size=36 referer=http://10.10.10.21:3000/connections/datasources/edit/b7be65be-fc2e-4d21-bde9-07c33ed18abe handler=/api/datasources/proxy/uid/:uid/*.

I really don't know what to do.

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

1 participant