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

Unable to initialize the AuthProvider, err: The ADC file was inaccessible #961

Closed
andrejmaya opened this issue Nov 8, 2024 · 6 comments
Closed

Comments

@andrejmaya
Copy link

Environment:
(Hint: "Report Extension Issue on Github" command will fill these out for you.)

Version information

Cloud Code Extension version: v2.20.1

VSCode version: 1.95.2

OS: MacOS 15.1 Intel

Cloud SDK: 500.0.0

Skaffold:

Kubectl:

Description:
After fresh installation of the extension while clicking on the Gemini icon on the left panel the progress bar keeps running and an error pops up in the bottom right corner "Unable to initialize the AuthProvider, err: The ADC file was inaccessible"

I already signed in with gcloud auth application-default login and the file application_default_credentials.json exists and is accessible by my user.

Repro step:

image
@glouischandra
Copy link
Collaborator

Hello @andrejmaya we are aware of this issue and will release a hotfix asap

@glouischandra glouischandra pinned this issue Nov 8, 2024
@kschaab
Copy link
Contributor

kschaab commented Nov 9, 2024

We have shipped a fix for this issue.

@kschaab kschaab closed this as completed Nov 9, 2024
@glouischandra
Copy link
Collaborator

Please use v2.20.2 that has the fix

@sbuys
Copy link

sbuys commented Nov 14, 2024

@kschaab @glouischandra - I still see this error on 2.20.2.

Unable to initialize the AuthProvider, err: ENOENT: no such file or directory, mkdir '/Users/x/Library/Application Support/cloud-code/ADC_FILE_UPDATE_LOCK'

@adpajdarova
Copy link

I use version 2.23.1, and I still receive this error.

1 similar comment
@adpajdarova
Copy link

I use version 2.23.1, and I still receive this error.

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

5 participants