{"id":20405726,"url":"https://github.com/cloudquery/gcp-client-breakage","last_synced_at":"2025-03-05T02:18:25.574Z","repository":{"id":261785548,"uuid":"885339521","full_name":"cloudquery/gcp-client-breakage","owner":"cloudquery","description":"Reproduction scenario for https://github.com/googleapis/google-cloud-go/issues/11089","archived":false,"fork":false,"pushed_at":"2024-11-08T12:03:42.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-25T19:41:52.099Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloudquery.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-08T11:55:37.000Z","updated_at":"2024-11-08T12:03:46.000Z","dependencies_parsed_at":"2024-11-08T12:39:16.074Z","dependency_job_id":null,"html_url":"https://github.com/cloudquery/gcp-client-breakage","commit_stats":null,"previous_names":["cloudquery/gcp-client-breakage"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudquery%2Fgcp-client-breakage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudquery%2Fgcp-client-breakage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudquery%2Fgcp-client-breakage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudquery%2Fgcp-client-breakage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudquery","download_url":"https://codeload.github.com/cloudquery/gcp-client-breakage/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241950157,"owners_count":20047595,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T05:12:39.826Z","updated_at":"2025-03-05T02:18:25.558Z","avatar_url":"https://github.com/cloudquery.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Reproduction scenario for https://github.com/googleapis/google-cloud-go/issues/11089\n\n1. Install [squid](https://www.squid-cache.org/Versions/)\n2. Enable the access log configuration for `squid` by running:\n\n```bash\necho \"\\naccess_log $(pwd)/squid_access.log squid\" \u003e\u003e squid/squid.conf\n```\n\n3. Run `squid -f squid/squid.conf` to start the proxy\n4. Run the following command from the root of the repository, see that it ends without errors\n\n```bash\ncd old \u0026\u0026 GOOGLE_CLOUD_PROJECT=\u003creplace-with-project\u003e https_proxy=http://localhost:3128 go run main.go\n```\n\n5. 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`)\n\n```bash\ncd new \u0026\u0026 GOOGLE_CLOUD_PROJECT=\u003creplace-with-project\u003e https_proxy=http://localhost:3128  go run main.go\n```\n\nThe 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`.\n\nSetting `export GOOGLE_API_GO_EXPERIMENTAL_DISABLE_NEW_AUTH_LIB=true` will make the `new` directory work as expected.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudquery%2Fgcp-client-breakage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudquery%2Fgcp-client-breakage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudquery%2Fgcp-client-breakage/lists"}