Skip to content

Error 503: download of go/og/google-api-proto failed #12482

@MikiEEE

Description

@MikiEEE

Current Behavior

Attempting to build a project with Cargo results in a failure when fetching the crate at the path go/og/google-api-proto from https://index.crates.io/. Cargo receives an HTTP 503 Response object too large error coming from the Varnish cache layer.

Expected Behavior

Cargo should be able to successfully download the crate index entry for go/og/google-api-proto from crates.io without encountering a 503 error. The endpoint should respond with a valid crate index file and allow the build to proceed normally.

Steps To Reproduce

  • Create a new minimal Rust project:
    cargo new repro-issue
    cd repro-issue

  • Edit Cargo.toml and add a dependency that causes Cargo to look up the index entry that fails. For example:
    [dependencies]
    google-api-proto = "*"

  • Run the following commands:
    cargo update
    cargo fetch

  • The command fails with:
    "503 Response object too large" and a Varnish cache error.

Environment

  • Browser: Chrome 141.0.7390.123
  • OS: MacOs Tahoe 26.0.1

Anything else?

Issue Info:

#16 14.77 Caused by:
#16 14.77   download of go/og/google-api-proto failed
#16 14.77 
#16 14.77 Caused by:
#16 14.77   failed to get successful HTTP response from `https://index.crates.io/go/og/google-api-proto` (151.101.1.91), got 503
#16 14.77   debug headers:
#16 14.77   x-served-by: cache-iad-kiad7000111-IAD
#16 14.77   x-cache: MISS
#16 14.77   body:
#16 14.77 
#16 14.77   <?xml version="1.0" encoding="utf-8"?>
#16 14.77   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
#16 14.77    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
#16 14.77   <html>
#16 14.77     <head>
#16 14.77       <title>503 Response object too large</title>
#16 14.77     </head>
#16 14.77     <body>
#16 14.77       <h1>Error 503 Response object too large</h1>
#16 14.77       <p>Response object too large</p>
#16 14.77       <h3>Error 54113</h3>
#16 14.77       <p>Details: cache-iad-kcgs7200120-IAD 1765555291 338197541</p>
#16 14.77       <hr>
#16 14.77       <p>Varnish cache server</p>
#16 14.77     </body>
#16 14.77   </html>

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions