-
Notifications
You must be signed in to change notification settings - Fork 235
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
oauth2: cannot fetch token: 400 Bad Request #301
Comments
Did some digging, and it seems like the above error typically arises when the system's clock is not properly synchronized. See this, this, and this (scroll down to the second Can you please investigate if your system's clock is not properly synchronized and let us know if properly synchronizing the clock allows for the error to go away? |
Hi jcanseco, thanks for your reply. Thanks |
After synchronizing crc system clock all is fine, the issue is resolved. |
Glad to help! |
google_storage_bucket.default: Creating... |
help |
got same error on my side; it turns out that you must initially create a VPC and then the error dissapears. │ Error: Post "https://storage.googleapis.com/storage/v1/b?alt=json&prettyPrint=false&project=platform-team-sandbox-h4h": oauth2: cannot fetch token: 400 Bad Request |
Hi,
I installed k8s-config-connector v1.28.0 on crcv1.15.
I have set serviceacount key as secret (from key.json file) in cnrm-system namespace.
Whatever the custom resource I try to instanciate in my k8s cluster I always get the following error from pod cnrm-controller-manager-0 :
{“severity”:“error”,“logger”:"controller-runtime.controller",“msg”:“Reconciler error”,“controller”:“storagebucket-controller”,“request”:"och-project-01-294710/och-test-gcp-k8s-01",“error”:"Update call failed: error fetching live state: error reading underlying resource: summary: Error when reading or editing Storage Bucket "och-test-gcp-k8s-01": Get "https://storage.googleapis.com/storage/v1/b/och-test-gcp-k8s-01?alt=json&prettyPrint=false\": oauth2: cannot fetch token: 400 Bad Request\nResponse: {"error":"invalid_grant","error_description":"Invalid JWT: Token must be a short-lived token (60 minutes) and in a reasonable timeframe. Check your iat and exp values in the JWT claim."}, detail: "}
Thanks
The text was updated successfully, but these errors were encountered: