GoogleCloudPlatform / GoogleCloudPlatform/cloud-code-intellij

Intellij Golang Cloud Run Locally: authentication error

Open
#3,218 1 comment 0 reactions 0 assignees View on GitHub
area/cloud-run
Dominant language
No language data
Stars
325
Forks
64
PR merge metrics
No merged PRs in 30d

Description

(Please ensure you are running the latest version of Cloud Cloud IntelliJ with _Help > Check for Updates_.)

(screenshots are often helpful) - see attached
![intellij_cloud_run_sample](https://github.com/GoogleCloudPlatform/cloud-code-intellij/assets/15848840/be893c82-f026-4bb6-a523-7582b17286b7)

### Expected Behavior
Run the sample program in Intellij for Cloud Run, run locally

### Actual Behavior
Getting this error:
...
getting hash for artifact "cloud-run-test1": getting dependencies for "cloud-run-test1": parsing ONBUILD instructions: retrieving image "gcr.io/distroless/static-debian11": GET https://storage.googleapis.com/artifacts.distroless.appspot.com/containers/images/sha256:9de0a16f3958b01fee65b2775d8616d2762f023a9ec6badb35cc853cc0eada1e?access_token=REDACTED: unexpected status code 401 Unauthorized: AuthenticationRequiredAuthentication required.

Failed to start Cloud Run dev session.

### Additional Information
I have a project of this name in GCP.
I signed in to GCP using the Tools - Gemini + Google Cloud Code - Sign in

- IDE type (e.g. IntelliJ, Pycharm):
- Intellij
-
- IDE version:
- 2024.1.4 (Ultimate Edition) - Note I'm using it as a 30 day trial to see if it works, since I was unable to get Cloud Run debugging to work in Goland where I have a license
-
- Cloud Code version (Settings > Plugins > Cloud Code):
- 24.7.1-api-version-223
-
- Cloud SDK (Settings > Cloud Code > Cloud SDK)
- Are you allowing the plugin to manage the Cloud SDK:
- yes
-
- Version of the Cloud SDK:
-483.0.0
-
- Skaffold version (If you are using Kubernetes features; Settings > Cloud Code > Kubernetes):
- v2.11.0
-
- Operating System:
- Windows 11

_Feel free to deviate from this template as needed, especially if you are submitting a feature request._

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.