Skip to content

[BUG] "Error response from daemon: Client sent an HTTP request to an HTTPS server" when using Bake #12952

Closed
@simonhaenisch

Description

@simonhaenisch

Description

After upgrading our CI images to Docker Compose version 2.37.0, we had some integration tests fail with the error message

Error response from daemon: Client sent an HTTP request to an HTTPS server.

When setting COMPOSE_BAKE: false in the environment, the error disappeared. The problem persisted when upgrading to version 2.37.1. For some reason the error didn't occur locally (best guess is that there's maybe a different networking setup than in our CI?).

Same error message as in #9789, maybe #12951 is also related.

Steps To Reproduce

Not sure how to reproduce :/

Compose Version

2.37.0 and 2.37.1

Docker Environment

Client: Docker Engine - Community
 Version:    28.2.2
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.24.0
    Path:     /opt/homebrew/lib/docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  2.37.1
    Path:     /opt/homebrew/lib/docker/cli-plugins/docker-compose

Anything else?

No response

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