Skip to content
This repository was archived by the owner on Sep 29, 2025. It is now read-only.

cloudquery/gcp-client-breakage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reproduction scenario for googleapis/google-cloud-go#11089

  1. Install squid
  2. Enable the access log configuration for squid by running:
echo "\naccess_log $(pwd)/squid_access.log squid" >> squid/squid.conf
  1. Run squid -f squid/squid.conf to start the proxy
  2. Run the following command from the root of the repository, see that it ends without errors
cd old && GOOGLE_CLOUD_PROJECT=<replace-with-project> https_proxy=http://localhost:3128 go run main.go
  1. Run the following command from the root of the repository, see that it hangs since the proxy blocks IPs, but allows domains (you can see the access logs in squid_access.log)
cd new && GOOGLE_CLOUD_PROJECT=<replace-with-project> https_proxy=http://localhost:3128  go run main.go

The differences are that the old directory uses the cloud.google.com/go/accessapproval@v1.8.0 that references cloud.google.com/go/auth@v0.9.0, and the new directory uses the cloud.google.com/go/accessapproval@v1.8.1 that references cloud.google.com/go/auth@v0.10.1.

Setting export GOOGLE_API_GO_EXPERIMENTAL_DISABLE_NEW_AUTH_LIB=true will make the new directory work as expected.

About

Reproduction scenario for https://github.com/googleapis/google-cloud-go/issues/11089

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages