Skip to content

Building a go library fails due to proxy errors (Default setup) #2909

Closed
github/codeql
#19598

Description

@wolverian

See this run: https://github.com/wolverian/obs/actions/runs/15276079160

The errors look like this (reformatted for legibility):

[2025-05-27 13:06:37] [build-stderr] 	
    go.opentelemetry.io/contrib/bridges/otelslog: 
      go.opentelemetry.io/contrib/bridges/otelslog@v0.11.0:
        Get "https://proxy.golang.org/go.opentelemetry.io/contrib/bridges/otelslog/@v/v0.11.0.zip":
          proxyconnect tcp: dial tcp :80: connect: connection refused

a bit higher in the log there's also a somewhat suspicious looking proxy env variable error:

ERROR Unable to parse proxy configurations error="unexpected end of JSON input"

Activity

  1. mbg commented on May 27, 2025

    @mbg
    Member

    Hi @wolverian 👋🏻

    Thank you for reporting this issue. We have rolled out a change here recently and it seems like that's not working right. I'll look into getting this rolled back in Default Setup to temporarily resolve the problem until we can ship a fix.

  2. self-assigned this
    on May 27, 2025
  3. mbg commented on Jun 2, 2025

    @mbg
    Member

    @wolverian CodeQL 2.21.4 is now out and, as soon as your scans start using that (which should be automatic), you should see this working correctly again. Feel free to let us know if there are any more issues, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions