Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] `docker build` fails with "ERROR: http: invalid Host header" with docker-buildx-0.10.3_3
@ 2023-08-26 14:06 etherswangel
  2023-09-01 21:34 ` codedmart
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: etherswangel @ 2023-08-26 14:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1034 bytes --]

New issue by etherswangel on void-packages repository

https://github.com/void-linux/void-packages/issues/45780

Description:
### Is this a new report?

Yes

### System Info

Void 6.3.13_1 x86_64 AuthenticAMD notuptodate DFFF

### Package(s) Affected

docker-buildx-0.10.3_3

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

https://github.com/moby/moby/issues/45935

### Expected behaviour

work with
```
docker-24.0.5_2
docker-cli-24.0.5_2
moby-24.0.5_2
```
and lower versions (tested 24.0.5_1)

### Actual behaviour

"ERROR: http: invalid Host header" when building

downgrade to docker-buildx-0.10.3_2 solves the issue. (docker-buildx-0.10.3_2 works with docker-24.0.5_2 and moby-24.0.5_2, but docker-buildx-0.10.3_3 doesn't)

### Steps to reproduce

1. `xbps-install -S docker-buildx-0.10.3_3`
2. `docker build .` fails
3. `xdowngrade /var/cache/xbps/docker-buildx-0.10.3_2.x86_64.xbps`
4. `docker build .` is fine

"FROM node:18-alpine" is the only line in Dockerfile

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: `docker build` fails with "ERROR: http: invalid Host header" with docker-buildx-0.10.3_3
  2023-08-26 14:06 [ISSUE] `docker build` fails with "ERROR: http: invalid Host header" with docker-buildx-0.10.3_3 etherswangel
@ 2023-09-01 21:34 ` codedmart
  2023-09-03 15:01 ` nekopsykose
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: codedmart @ 2023-09-01 21:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 3006 bytes --]

New comment by codedmart on void-packages repository

https://github.com/void-linux/void-packages/issues/45780#issuecomment-1703341259

Comment:
I think I may have just ran into something related to this. I am on a fresh new install and tried setting up a new builder for multiarch with docker buildx.
```
❯ docker buildx create --name mybuilder --driver docker-container --bootstrap
[+] Building 15.6s (1/1) FINISHED                                                                                                                                                                                                                    
 => ERROR [internal] booting buildkit                                                                                                                                                                                                          15.6s
 => => pulling image moby/buildkit:buildx-stable-1                                                                                                                                                                                              1.0s
 => => creating container buildx_buildkit_mybuilder0                                                                                                                                                                                           14.6s
------
 > [internal] booting buildkit:
#0 15.58 time="2023-09-01T21:32:10Z" level=warning msg="using host network as the defaultime="2023-09-01T21:32:10Z" level=warning msg="using host network as the default"
#0 15.58 time="2023-09-01T21:32:10Z" level=warning msg="skipping containerd worker, as \"/run/containerd/containerd.sock\" does not exist"
#0 15.58 dtime="2023-09-01T21:32:10Z" level=info msg="found 1 workers, default=\"7vqkitbi1mrzlx5y7esqwgsx0\""
#0 15.58 `time="2023-09-01T21:32:10Z" level=warning msg="currently, only the default worker can be used."
#0 15.58 \time="2023-09-01T21:32:10Z" level=info msg="running server on /run/buildkit/buildkitd.sock"
#0 15.58 time="2023-09-01T21:32:10Z" level=warning msg="skipping containerd worker, as \"/run/containerd/containerd.sock\" does not exist"
#0 15.58 time="2023-09-01T21:32:10Z" level=warning msg="currently, only the default worker can be used."
#0 15.58 time="2023-09-01T21:32:10Z" level=warning msg="currently, only the default worker can be used."
#0 15.58 
------
mybuilder
```
Because then I see:
```
❯ docker buildx ls                                                           
NAME/NODE    DRIVER/ENDPOINT             STATUS   BUILDKIT PLATFORMS
mybuilder    docker-container                              
  mybuilder0 unix:///var/run/docker.sock error             
default *    docker-container                              
  default    default                     inactive          

Failed to get status for mybuilder (mybuilder0): http: invalid Host header
```
I do not have the previous package to fall back to :frowning_face:.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: `docker build` fails with "ERROR: http: invalid Host header" with docker-buildx-0.10.3_3
  2023-08-26 14:06 [ISSUE] `docker build` fails with "ERROR: http: invalid Host header" with docker-buildx-0.10.3_3 etherswangel
  2023-09-01 21:34 ` codedmart
@ 2023-09-03 15:01 ` nekopsykose
  2023-09-06  8:01 ` etherswangel
  2023-09-06  8:01 ` [ISSUE] [CLOSED] " etherswangel
  3 siblings, 0 replies; 5+ messages in thread
From: nekopsykose @ 2023-09-03 15:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 287 bytes --]

New comment by nekopsykose on void-packages repository

https://github.com/void-linux/void-packages/issues/45780#issuecomment-1704328301

Comment:
this is https://github.com/moby/moby/issues/45935 and requires bumping the moby gomod rev for the package to fix it with new go or whatever

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ISSUE] [CLOSED] `docker build` fails with "ERROR: http: invalid Host header" with docker-buildx-0.10.3_3
  2023-08-26 14:06 [ISSUE] `docker build` fails with "ERROR: http: invalid Host header" with docker-buildx-0.10.3_3 etherswangel
                   ` (2 preceding siblings ...)
  2023-09-06  8:01 ` etherswangel
@ 2023-09-06  8:01 ` etherswangel
  3 siblings, 0 replies; 5+ messages in thread
From: etherswangel @ 2023-09-06  8:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1037 bytes --]

Closed issue by etherswangel on void-packages repository

https://github.com/void-linux/void-packages/issues/45780

Description:
### Is this a new report?

Yes

### System Info

Void 6.3.13_1 x86_64 AuthenticAMD notuptodate DFFF

### Package(s) Affected

docker-buildx-0.10.3_3

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

https://github.com/moby/moby/issues/45935

### Expected behaviour

work with
```
docker-24.0.5_2
docker-cli-24.0.5_2
moby-24.0.5_2
```
and lower versions (tested 24.0.5_1)

### Actual behaviour

"ERROR: http: invalid Host header" when building

downgrade to docker-buildx-0.10.3_2 solves the issue. (docker-buildx-0.10.3_2 works with docker-24.0.5_2 and moby-24.0.5_2, but docker-buildx-0.10.3_3 doesn't)

### Steps to reproduce

1. `xbps-install -S docker-buildx-0.10.3_3`
2. `docker build .` fails
3. `xdowngrade /var/cache/xbps/docker-buildx-0.10.3_2.x86_64.xbps`
4. `docker build .` is fine

"FROM node:18-alpine" is the only line in Dockerfile

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: `docker build` fails with "ERROR: http: invalid Host header" with docker-buildx-0.10.3_3
  2023-08-26 14:06 [ISSUE] `docker build` fails with "ERROR: http: invalid Host header" with docker-buildx-0.10.3_3 etherswangel
  2023-09-01 21:34 ` codedmart
  2023-09-03 15:01 ` nekopsykose
@ 2023-09-06  8:01 ` etherswangel
  2023-09-06  8:01 ` [ISSUE] [CLOSED] " etherswangel
  3 siblings, 0 replies; 5+ messages in thread
From: etherswangel @ 2023-09-06  8:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 186 bytes --]

New comment by etherswangel on void-packages repository

https://github.com/void-linux/void-packages/issues/45780#issuecomment-1707860304

Comment:
`docker-buildx-0.11.2_1` works for me

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-09-06  8:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-26 14:06 [ISSUE] `docker build` fails with "ERROR: http: invalid Host header" with docker-buildx-0.10.3_3 etherswangel
2023-09-01 21:34 ` codedmart
2023-09-03 15:01 ` nekopsykose
2023-09-06  8:01 ` etherswangel
2023-09-06  8:01 ` [ISSUE] [CLOSED] " etherswangel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).